Do not use `bool` type; use new `bt_bool` instead
[babeltrace.git] / include / babeltrace / ctf-ir / trace-internal.h
index f49e85bc1d09d7f7dbf1d013a8bda0ebeaf43c54..b468379aa2a19e9d33d8e0b5fef164933d6b1d3d 100644 (file)
@@ -33,6 +33,7 @@
 #include <babeltrace/object-internal.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/values.h>
+#include <babeltrace/types.h>
 #include <glib.h>
 #include <sys/types.h>
 #include <uuid/uuid.h>
@@ -52,7 +53,7 @@ struct bt_ctf_trace {
        GString *name;
        int frozen;
        uuid_t uuid;
-       bool uuid_set;
+       bt_bool uuid_set;
        enum bt_ctf_byte_order native_byte_order;
        struct bt_value *environment;
        GPtrArray *clocks; /* Array of pointers to bt_ctf_clock_class */
@@ -68,7 +69,7 @@ struct bt_ctf_trace {
         */
        int valid;
        GPtrArray *listeners; /* Array of struct listener_wrapper */
-       bool is_static;
+       bt_bool is_static;
 };
 
 struct metadata_context {
@@ -88,7 +89,7 @@ int bt_ctf_trace_object_modification(struct bt_ctf_object *object,
                void *trace_ptr);
 
 BT_HIDDEN
-bool bt_ctf_trace_has_clock_class(struct bt_ctf_trace *trace,
+bt_bool bt_ctf_trace_has_clock_class(struct bt_ctf_trace *trace,
                struct bt_ctf_clock_class *clock_class);
 
 /**
This page took 0.024276 seconds and 4 git commands to generate.