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