Rename: bt_put(), bt_get() -> bt_object_put_ref(), bt_object_get_ref()
[babeltrace.git] / include / babeltrace / ctf-writer / writer.h
index f496d3c5e4285f50fb31dc34a8e18b77e7603f50..e12f6d471137d441016f79cff04edc17a1797ef1 100644 (file)
@@ -189,14 +189,14 @@ extern int bt_ctf_writer_set_byte_order(struct bt_ctf_writer *writer,
 static inline
 void bt_ctf_writer_get(struct bt_ctf_writer *writer)
 {
-       bt_get(writer);
+       bt_object_get_ref(writer);
 }
 
 /* Pre-2.0 CTF writer compatibility */
 static inline
 void bt_ctf_writer_put(struct bt_ctf_writer *writer)
 {
-       bt_put(writer);
+       bt_object_put_ref(writer);
 }
 
 #ifdef __cplusplus
This page took 0.023087 seconds and 4 git commands to generate.