ir: fields/field-types: use `bt_bool` instead of `int` where appropriate
[babeltrace.git] / lib / ctf-ir / field-types.c
index 6f46f2cb70ce45a7dea9d786c8752c71507f49a6..d152c8e607020f25c4cca9b49f75d1658f750449 100644 (file)
@@ -827,8 +827,15 @@ end:
        return ret;
 }
 
+bt_bool bt_ctf_field_type_integer_is_signed(
+               struct bt_ctf_field_type *int_field_type)
+{
+       return bt_ctf_field_type_integer_get_signed(int_field_type) ?
+               BT_TRUE : BT_FALSE;
+}
+
 int bt_ctf_field_type_integer_set_signed(struct bt_ctf_field_type *type,
-               int is_signed)
+               bt_bool is_signed)
 {
        int ret = 0;
        struct bt_ctf_field_type_integer *integer;
This page took 0.023788 seconds and 4 git commands to generate.