projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: update and simplify the `bt_object` API
[babeltrace.git]
/
include
/
babeltrace
/
ctf-ir
/
event-class-internal.h
diff --git
a/include/babeltrace/ctf-ir/event-class-internal.h
b/include/babeltrace/ctf-ir/event-class-internal.h
index 316408d84ae1592633dd9b6306d4f1c3c8107229..40df300c911b8ea25b070d463e2a2691f69b6bf6 100644
(file)
--- a/
include/babeltrace/ctf-ir/event-class-internal.h
+++ b/
include/babeltrace/ctf-ir/event-class-internal.h
@@
-84,7
+84,7
@@
struct bt_stream_class_common *bt_event_class_common_borrow_stream_class(
struct bt_event_class_common *event_class)
{
BT_ASSERT(event_class);
struct bt_event_class_common *event_class)
{
BT_ASSERT(event_class);
- return (void *) bt_object_borrow_parent(
event_class
);
+ return (void *) bt_object_borrow_parent(
&event_class->base
);
}
typedef struct bt_field_type_common *(*bt_field_type_structure_create_func)();
}
typedef struct bt_field_type_common *(*bt_field_type_structure_create_func)();
This page took
0.046824 seconds
and
4
git commands to generate.