projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add structures
[babeltrace.git]
/
types
/
enum.c
diff --git
a/types/enum.c
b/types/enum.c
index 8e8ef694fc4100c865dc0df5cfb7d211be9f90dc..57ecbdd179f484c771fea4b27d95ac597d14233a 100644
(file)
--- a/
types/enum.c
+++ b/
types/enum.c
@@
-203,8
+203,8
@@
struct type_class_enum *enum_type_new(const char *name,
int ret;
enum_class = g_new(struct type_class_enum, 1);
int ret;
enum_class = g_new(struct type_class_enum, 1);
- enum_class->table.value_to_quark = g_hash_table(enum_val_hash,
- enum_val_equal);
+ enum_class->table.value_to_quark = g_hash_table
_new
(enum_val_hash,
+
enum_val_equal);
enum_class->table.quark_to_value = g_hash_table_new_full(g_direct_hash,
g_direct_equal,
NULL, enum_val_free);
enum_class->table.quark_to_value = g_hash_table_new_full(g_direct_hash,
g_direct_equal,
NULL, enum_val_free);
This page took
0.023181 seconds
and
4
git commands to generate.