I/O structures accessors generation (work in progress)
[babeltrace.git] / types / struct.c
index 5e7e2b4ef3ef740cd94fcfd396fadb05ea14a555..779cca5c504064d3c03bb4a86962ab58a1917808 100644 (file)
@@ -87,6 +87,7 @@ struct type_struct *struct_type_new(const char *name,
                                                sizeof(struct type_field),
                                                DEFAULT_NR_STRUCT_FIELDS);
        struct_type->scope = new_type_scope(parent_scope);
+       type->id = CTF_TYPE_STRUCT;
        type->name = g_quark_from_string(name);
        type->alignment = 1;
        type->copy = struct_copy;
This page took 0.023056 seconds and 4 git commands to generate.