#include <babeltrace/compiler-internal.h>
#include <babeltrace/values.h>
#include <babeltrace/ref.h>
+#include <babeltrace/types.h>
#include <babeltrace/endian-internal.h>
#include <inttypes.h>
#include <stdint.h>
}
memcpy(trace->uuid, uuid, sizeof(uuid_t));
- trace->uuid_set = true;
+ trace->uuid_set = BT_TRUE;
end:
return ret;
}
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)
{
struct search_query query = { .value = clock_class, .found = 0 };
string = "native";
break;
default:
- assert(false);
+ assert(BT_FALSE);
}
return string;
trace->frozen = 1;
}
-bool bt_ctf_trace_is_static(struct bt_ctf_trace *trace)
+bt_bool bt_ctf_trace_is_static(struct bt_ctf_trace *trace)
{
- bool is_static = false;
+ bt_bool is_static = BT_FALSE;
if (!trace) {
goto end;
goto end;
}
- trace->is_static = true;
+ trace->is_static = BT_TRUE;
bt_ctf_trace_freeze(trace);
end: