}
static
-void bt_ctf_field_type_init(struct bt_ctf_field_type *type, bool init_bo)
+void bt_ctf_field_type_init(struct bt_ctf_field_type *type, bt_bool init_bo)
{
assert(type && (type->id > BT_CTF_FIELD_TYPE_ID_UNKNOWN) &&
(type->id < BT_CTF_NR_TYPE_IDS));
<= mapping[1]->range_end._signed
&& mapping[0]->range_end._signed
>= mapping[1]->range_start._signed) {
- enumeration_type->has_overlapping_ranges = true;
+ enumeration_type->has_overlapping_ranges = BT_TRUE;
return;
}
} else {
<= mapping[1]->range_end._unsigned
&& mapping[0]->range_end._unsigned
>= mapping[1]->range_start._unsigned) {
- enumeration_type->has_overlapping_ranges = true;
+ enumeration_type->has_overlapping_ranges = BT_TRUE;
return;
}
}
}
static
-bool bt_ctf_field_type_enumeration_has_overlapping_ranges(
+bt_bool bt_ctf_field_type_enumeration_has_overlapping_ranges(
struct bt_ctf_field_type_enumeration *enumeration_type)
{
if (!enumeration_type->parent.frozen) {