Rename: bt_put(), bt_get() -> bt_object_put_ref(), bt_object_get_ref()
[babeltrace.git] / include / babeltrace / ctf-writer / stream.h
index e0b6474830db4ec03123146b5222ccb5eb00b2f3..0a73013edc411bb821ce658441bcdd2e68390974 100644 (file)
@@ -172,14 +172,14 @@ extern int64_t bt_ctf_stream_get_id(struct bt_ctf_stream *stream);
 static inline
 void bt_ctf_stream_get(struct bt_ctf_stream *stream)
 {
-       bt_get(stream);
+       bt_object_get_ref(stream);
 }
 
 /* Pre-2.0 CTF writer compatibility */
 static inline
 void bt_ctf_stream_put(struct bt_ctf_stream *stream)
 {
-       bt_put(stream);
+       bt_object_put_ref(stream);
 }
 
 #ifdef __cplusplus
This page took 0.023422 seconds and 4 git commands to generate.