ir: rename ctf_type_id -> bt_ctf_type_id
[babeltrace.git] / formats / ctf / ir / validation.c
index aabcd9b9f6c5335d2bb377d180f14de4881e3c43..6deaa7a0fa1346bc9e83c3f2c36fbc63a62a7c56 100644 (file)
@@ -190,15 +190,15 @@ static
 int field_type_contains_sequence_or_variant_ft(struct bt_ctf_field_type *type)
 {
        int ret = 0;
-       enum ctf_type_id type_id = bt_ctf_field_type_get_type_id(type);
+       enum bt_ctf_type_id type_id = bt_ctf_field_type_get_type_id(type);
 
        switch (type_id) {
-       case CTF_TYPE_SEQUENCE:
-       case CTF_TYPE_VARIANT:
+       case BT_CTF_TYPE_ID_SEQUENCE:
+       case BT_CTF_TYPE_ID_VARIANT:
                ret = 1;
                goto end;
-       case CTF_TYPE_ARRAY:
-       case CTF_TYPE_STRUCT:
+       case BT_CTF_TYPE_ID_ARRAY:
+       case BT_CTF_TYPE_ID_STRUCT:
        {
                int i;
                int field_count = bt_ctf_field_type_get_field_count(type);
This page took 0.024598 seconds and 4 git commands to generate.