projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
I/O structures accessors generation (work in progress)
[babeltrace.git]
/
types
/
variant.c
diff --git
a/types/variant.c
b/types/variant.c
index 98f687452696e2e923522b6c911dcf980f2cdfef..ea20808b7205f1e31ea1fee4dce603e5584359bf 100644
(file)
--- a/
types/variant.c
+++ b/
types/variant.c
@@
-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.023291 seconds
and
4
git commands to generate.