X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbabeltrace%2Fctf-ir%2Fstream-internal.h;h=ca22eb1165081ea64decbac78eebccd32cd6daef;hb=83509119a945fc77faff869daaf48627e1c4b3fa;hp=44ff774ac4db18ccd85d8a0d7e978df8e242a726;hpb=662e778c1c251b8ab256f572913b12b819679d32;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/stream-internal.h b/include/babeltrace/ctf-ir/stream-internal.h index 44ff774a..ca22eb11 100644 --- a/include/babeltrace/ctf-ir/stream-internal.h +++ b/include/babeltrace/ctf-ir/stream-internal.h @@ -28,7 +28,7 @@ */ #include -#include +#include #include #include #include @@ -37,7 +37,7 @@ #include struct bt_ctf_stream { - struct bt_ctf_ref ref_count; + struct bt_object base; /* Trace owning this stream. A stream does not own a trace. */ struct bt_ctf_trace *trace; uint32_t id; @@ -55,7 +55,7 @@ struct bt_ctf_stream { struct bt_ctf_field *event_context; }; -/* Stream class should be locked by the caller after creating a stream */ +/* Stream class should be frozen by the caller after creating a stream */ BT_HIDDEN struct bt_ctf_stream *bt_ctf_stream_create( struct bt_ctf_stream_class *stream_class,