lib: Reset libbabeltrace2 to SONANE 0
[babeltrace.git] / include / babeltrace / ctf-writer / stream.h
index e0b6474830db4ec03123146b5222ccb5eb00b2f3..bc368f4e435ea73e84873adeb54620600c8fb61f 100644 (file)
@@ -2,8 +2,6 @@
 #define BABELTRACE_CTF_WRITER_STREAM_H
 
 /*
- * BabelTrace - CTF Writer: Stream
- *
  * Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
@@ -172,14 +170,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_ctf_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_ctf_object_put_ref(stream);
 }
 
 #ifdef __cplusplus
This page took 0.023708 seconds and 4 git commands to generate.