I/O structures accessors generation (work in progress)
[babeltrace.git] / types / enum.c
index e29df080240b0cd7b08cea34c393e799cd47ff34..b17551fa90e6b3fdcacf8ff7dcbeee219d38abf4 100644 (file)
@@ -406,6 +406,7 @@ struct type_enum *
                                                        NULL, enum_range_set_free);
        type_ref(&integer_type->p);
        enum_type->integer_type = integer_type;
+       enum_type->p.id = CTF_TYPE_ENUM;
        enum_type->p.name = g_quark_from_string(name);
        enum_type->p.alignment = 1;
        enum_type->p.copy = enum_copy;
This page took 0.022716 seconds and 4 git commands to generate.