Use boolean for frozen and set field states
[babeltrace.git] / include / babeltrace / ctf-ir / fields-internal.h
index b7375a459f226af7aecdc08927fe0274ae08dae4..22d551a59576fd8b939b24e6e7d1c61e4955200c 100644 (file)
@@ -33,6 +33,7 @@
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/types.h>
 #include <stdint.h>
+#include <stdbool.h>
 #include <glib.h>
 
 struct bt_ctf_stream_pos;
@@ -40,8 +41,8 @@ struct bt_ctf_stream_pos;
 struct bt_ctf_field {
        struct bt_object base;
        struct bt_ctf_field_type *type;
-       int payload_set;
-       int frozen;
+       bool payload_set;
+       bool frozen;
 };
 
 struct bt_ctf_field_integer {
This page took 0.022827 seconds and 4 git commands to generate.