I/O structures accessors generation (work in progress)
[babeltrace.git] / types / variant.c
index 98f687452696e2e923522b6c911dcf980f2cdfef..ea20808b7205f1e31ea1fee4dce603e5584359bf 100644 (file)
@@ -81,6 +81,7 @@ struct type_variant *variant_type_new(const char *name,
                                                 sizeof(struct type_field),
                                                 DEFAULT_NR_STRUCT_FIELDS);
        variant_type->scope = new_type_scope(parent_scope);
+       type->id = CTF_TYPE_VARIANT;
        type->name = g_quark_from_string(name);
        type->alignment = 1;
        type->copy = variant_copy;
This page took 0.022839 seconds and 4 git commands to generate.