Rename: bt_put(), bt_get() -> bt_object_put_ref(), bt_object_get_ref()
[babeltrace.git] / include / babeltrace / graph / notification-stream.h
index 18b10b9eb7f0d4a6618a52279d22e92cc3b3ddee..67881e798a928d41d77f136a3e755c4a36517639 100644 (file)
@@ -29,8 +29,8 @@
 
 #include <stdint.h>
 
-/* For bt_get() */
-#include <babeltrace/ref.h>
+/* For bt_object_get_ref() */
+#include <babeltrace/object.h>
 
 /* For bt_bool */
 #include <babeltrace/types.h>
@@ -62,7 +62,7 @@ static inline
 struct bt_stream *bt_notification_stream_begin_get_stream(
                struct bt_notification *notification)
 {
-       return bt_get(bt_notification_stream_begin_borrow_stream(notification));
+       return bt_object_get_ref(bt_notification_stream_begin_borrow_stream(notification));
 }
 
 extern int bt_notification_stream_begin_set_default_clock_value(
@@ -78,7 +78,7 @@ static inline
 struct bt_stream *bt_notification_stream_end_get_stream(
                struct bt_notification *notification)
 {
-       return bt_get(bt_notification_stream_end_borrow_stream(notification));
+       return bt_object_get_ref(bt_notification_stream_end_borrow_stream(notification));
 }
 
 extern int bt_notification_stream_end_set_default_clock_value(
This page took 0.025638 seconds and 4 git commands to generate.