I/O structures accessors generation (work in progress)
[babeltrace.git] / types / string.c
index c6cbb54cbe45ea005c01fd0f4273245f4a5d3847..9a80b0387e0b33f4103af978dda0fe2ca639e29e 100644 (file)
@@ -58,6 +58,7 @@ struct type_string *string_type_new(const char *name)
        struct type_string *string_type;
 
        string_type = g_new(struct type_string, 1);
+       string_type->p.id = CTF_TYPE_STRING;
        string_type->p.name = g_quark_from_string(name);
        string_type->p.alignment = CHAR_BIT;
        string_type->p.copy = string_copy;
This page took 0.023938 seconds and 4 git commands to generate.