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
/
struct.c
diff --git
a/types/struct.c
b/types/struct.c
index 5e7e2b4ef3ef740cd94fcfd396fadb05ea14a555..779cca5c504064d3c03bb4a86962ab58a1917808 100644
(file)
--- a/
types/struct.c
+++ b/
types/struct.c
@@
-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);
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;
type->name = g_quark_from_string(name);
type->alignment = 1;
type->copy = struct_copy;
This page took
0.023703 seconds
and
4
git commands to generate.