lib: graph: add "self" and some "private" APIs
[babeltrace.git] / include / babeltrace / trace-ir / private-event-class.h
index f81f6103313bafc3c8309f97e3eced2b5d94b3f9..9f48ff9690d3ab9fbeb58e9ea251b62630c7602a 100644 (file)
@@ -41,8 +41,12 @@ struct bt_event_class;
 struct bt_private_event_class;
 struct bt_private_stream_class;
 
-extern struct bt_event_class *bt_event_class_borrow_from_private(
-               struct bt_private_event_class *priv_event_class);
+static inline
+struct bt_event_class *bt_private_event_class_borrow_event_class(
+               struct bt_private_event_class *priv_event_class)
+{
+       return (void *) priv_event_class;
+}
 
 extern struct bt_private_event_class *bt_private_event_class_create(
                struct bt_private_stream_class *stream_class);
This page took 0.025364 seconds and 4 git commands to generate.