Rename: bt_put(), bt_get() -> bt_object_put_ref(), bt_object_get_ref()
[babeltrace.git] / include / babeltrace / graph / component.h
index f2db9d723c1f254056937b90e1be920fe016429f..c35685aa93e4a2c7daa3b88749294c213f9e55ab 100644 (file)
@@ -33,8 +33,8 @@
 /* For bt_bool */
 #include <babeltrace/types.h>
 
-/* For bt_get */
-#include <babeltrace/ref.h>
+/* For bt_object_get_ref */
+#include <babeltrace/object.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -92,7 +92,7 @@ extern struct bt_graph *bt_component_borrow_graph(struct bt_component *component
 static inline
 struct bt_graph *bt_component_get_graph(struct bt_component *component)
 {
-       return bt_get(bt_component_borrow_graph(component));
+       return bt_object_get_ref(bt_component_borrow_graph(component));
 }
 
 #ifdef __cplusplus
This page took 0.0238 seconds and 4 git commands to generate.