projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib-logging-internal.h: fix minor documentation mistakes
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
component-class-source-const.h
diff --git
a/include/babeltrace/graph/component-class-source-const.h
b/include/babeltrace/graph/component-class-source-const.h
index aaf6d65860fd28cbe8eef6416954ea0dd46eca6e..60c2665ff68932305c613306ada03bfff87bdcdf 100644
(file)
--- a/
include/babeltrace/graph/component-class-source-const.h
+++ b/
include/babeltrace/graph/component-class-source-const.h
@@
-24,26
+24,26
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+/* For bt_component_class, bt_component_class_source */
+#include <babeltrace/types.h>
+
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-struct bt_component_class;
-struct bt_component_class_source;
-
static inline
static inline
-const
struct
bt_component_class *
+const bt_component_class *
bt_component_class_source_as_component_class_const(
bt_component_class_source_as_component_class_const(
- const
struct
bt_component_class_source *comp_cls_source)
+ const bt_component_class_source *comp_cls_source)
{
return (const void *) comp_cls_source;
}
extern void bt_component_class_source_get_ref(
{
return (const void *) comp_cls_source;
}
extern void bt_component_class_source_get_ref(
- const
struct
bt_component_class_source *component_class_source);
+ const bt_component_class_source *component_class_source);
extern void bt_component_class_source_put_ref(
extern void bt_component_class_source_put_ref(
- const
struct
bt_component_class_source *component_class_source);
+ const bt_component_class_source *component_class_source);
#define BT_COMPONENT_CLASS_SOURCE_PUT_REF_AND_RESET(_var) \
do { \
#define BT_COMPONENT_CLASS_SOURCE_PUT_REF_AND_RESET(_var) \
do { \
This page took
0.023327 seconds
and
4
git commands to generate.