Cleanup: add `#include <stdbool.h>` whenever `bool` type is used
[babeltrace.git] / src / lib / trace-ir / stream.h
index cd320ca16dc62ba282cf6b22023f33fd4a85a427..f021ef29dba7839d1e6dc55999ca8b7cd359d23a 100644 (file)
@@ -29,6 +29,7 @@
 #include "lib/object-pool.h"
 #include "common/macros.h"
 #include <glib.h>
+#include <stdbool.h>
 
 #include "utils.h"
 
@@ -38,6 +39,9 @@ struct bt_stream;
 struct bt_stream {
        struct bt_object base;
 
+       /* Owned by this */
+       struct bt_value *user_attributes;
+
        /* Owned by this */
        struct bt_stream_class *class;
 
@@ -68,7 +72,7 @@ void _bt_stream_freeze(const struct bt_stream *stream);
 static inline
 struct bt_trace *bt_stream_borrow_trace_inline(const struct bt_stream *stream)
 {
-       BT_ASSERT(stream);
+       BT_ASSERT_DBG(stream);
        return (void *) bt_object_borrow_parent(&stream->base);
 }
 
This page took 0.023877 seconds and 4 git commands to generate.