Rename: bt_put(), bt_get() -> bt_object_put_ref(), bt_object_get_ref()
[babeltrace.git] / include / babeltrace / ctf-writer / clock.h
index a1a53e82e4fd3b8202ce86aa04d85f75cd065da9..508c694068d397c5ea075d62ef868ad5a21e491e 100644 (file)
@@ -31,7 +31,7 @@
  */
 
 #include <stdint.h>
-#include <babeltrace/ref.h>
+#include <babeltrace/object.h>
 #include <babeltrace/types.h>
 
 #ifdef __cplusplus
@@ -273,14 +273,14 @@ extern int bt_ctf_clock_set_time(struct bt_ctf_clock *clock,
 static inline
 void bt_ctf_clock_get(struct bt_ctf_clock *clock)
 {
-        bt_get(clock);
+        bt_object_get_ref(clock);
 }
 
 /* Pre-2.0 CTF writer compatibility */
 static inline
 void bt_ctf_clock_put(struct bt_ctf_clock *clock)
 {
-        bt_put(clock);
+        bt_object_put_ref(clock);
 }
 
 extern struct bt_ctf_clock_class *bt_ctf_clock_class_create(const char *name,
This page took 0.023782 seconds and 4 git commands to generate.