X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-writer%2Fstream.h;h=bc368f4e435ea73e84873adeb54620600c8fb61f;hb=7e69c04f557e46fb50e5a888a3bc3451afbd3b8e;hp=e0b6474830db4ec03123146b5222ccb5eb00b2f3;hpb=3dca22768a95bef664012559aa9ac977091de6ac;p=babeltrace.git diff --git a/include/babeltrace/ctf-writer/stream.h b/include/babeltrace/ctf-writer/stream.h index e0b64748..bc368f4e 100644 --- a/include/babeltrace/ctf-writer/stream.h +++ b/include/babeltrace/ctf-writer/stream.h @@ -2,8 +2,6 @@ #define BABELTRACE_CTF_WRITER_STREAM_H /* - * BabelTrace - CTF Writer: Stream - * * Copyright 2013, 2014 Jérémie Galarneau * * Author: Jérémie Galarneau @@ -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