lib: make public reference count functions have strict types
[babeltrace.git] / lib / trace-ir / stream.c
index 503717506e86559afe9ef81ccf34de302834a3a4..b578d3be66da7b2a6554968ca8462471b74e550e 100644 (file)
@@ -33,7 +33,6 @@
 #include <babeltrace/trace-ir/trace.h>
 #include <babeltrace/trace-ir/trace-internal.h>
 #include <babeltrace/trace-ir/packet-internal.h>
-#include <babeltrace/object.h>
 #include <babeltrace/compiler-internal.h>
 #include <babeltrace/align-internal.h>
 #include <babeltrace/assert-internal.h>
@@ -233,3 +232,13 @@ void _bt_stream_freeze(const struct bt_stream *stream)
        BT_LIB_LOGD("Freezing stream: %!+s", stream);
        ((struct bt_stream *) stream)->frozen = true;
 }
+
+void bt_stream_get_ref(const struct bt_stream *stream)
+{
+       bt_object_get_ref(stream);
+}
+
+void bt_stream_put_ref(const struct bt_stream *stream)
+{
+       bt_object_put_ref(stream);
+}
This page took 0.022778 seconds and 4 git commands to generate.