CTF writer: use own `bt_ctf_object` and `bt_ctf_value` internal APIs
[babeltrace.git] / include / babeltrace / ctf-writer / clock.h
index 485f7a5188740732de714be015fad7a3c3c4ad67..909ebe00d2caa9d916ebb0c3de7ab1d8845396a0 100644 (file)
@@ -29,7 +29,7 @@
  */
 
 #include <stdint.h>
-#include <babeltrace/object.h>
+#include <babeltrace/ctf-writer/object.h>
 #include <babeltrace/types.h>
 
 #ifdef __cplusplus
@@ -271,14 +271,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_object_get_ref(clock);
+        bt_ctf_object_get_ref(clock);
 }
 
 /* Pre-2.0 CTF writer compatibility */
 static inline
 void bt_ctf_clock_put(struct bt_ctf_clock *clock)
 {
-        bt_object_put_ref(clock);
+        bt_ctf_object_put_ref(clock);
 }
 
 extern struct bt_ctf_clock_class *bt_ctf_clock_class_create(const char *name,
This page took 0.026547 seconds and 4 git commands to generate.