Rename bt_ctf_type_id -> bt_ctf_field_type_id (and the enumerators)
[babeltrace.git] / lib / ctf-ir / stream-class.c
index fbf81942946bfe34a1062901302060d73b5b4909..776ced90a0cd945a2de2fc42b65d0f8b1e45e84f 100644 (file)
@@ -585,7 +585,7 @@ int bt_ctf_stream_class_set_packet_context_type(
 
        if (packet_context_type &&
                        bt_ctf_field_type_get_type_id(packet_context_type) !=
-                               BT_CTF_TYPE_ID_STRUCT) {
+                               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                /* A packet context must be a structure. */
                ret = -1;
                goto end;
@@ -626,7 +626,7 @@ int bt_ctf_stream_class_set_event_header_type(
 
        if (event_header_type &&
                        bt_ctf_field_type_get_type_id(event_header_type) !=
-                               BT_CTF_TYPE_ID_STRUCT) {
+                               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                /* An event header must be a structure. */
                ret = -1;
                goto end;
@@ -666,7 +666,7 @@ int bt_ctf_stream_class_set_event_context_type(
 
        if (event_context_type &&
                        bt_ctf_field_type_get_type_id(event_context_type) !=
-                               BT_CTF_TYPE_ID_STRUCT) {
+                               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                /* A packet context must be a structure. */
                ret = -1;
                goto end;
This page took 0.023809 seconds and 4 git commands to generate.