Rename bt_ctf_type_id -> bt_ctf_field_type_id (and the enumerators)
[babeltrace.git] / lib / ctf-ir / trace.c
index c16686a086b4ff9728c51b50f5561d6e5064fb0b..90432dbac36273de8e896f428aa5e614f79bb6a7 100644 (file)
@@ -1046,7 +1046,7 @@ int bt_ctf_trace_set_packet_header_type(struct bt_ctf_trace *trace,
        /* packet_header_type must be a structure. */
        if (packet_header_type &&
                        bt_ctf_field_type_get_type_id(packet_header_type) !=
-                               BT_CTF_TYPE_ID_STRUCT) {
+                               BT_CTF_FIELD_TYPE_ID_STRUCT) {
                ret = -1;
                goto end;
        }
This page took 0.023421 seconds and 4 git commands to generate.