diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2007-04-14 16:40:54 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2007-04-14 16:40:54 +0000 |
| commit | daca483044dfb6af80859145916b89b5f95dc42d (patch) | |
| tree | d5a497773ab0e177c8bb6c211fa45cf4ae09bedb | |
| parent | 3e34ddd259b619838922efdecb04d9fa03a3848b (diff) | |
updated with version from a newer generator (initialize anyAttribute hash table
and correctly set content to 0 instead of NULL)
| -rw-r--r-- | lasso/xml/ws/wsa_attributed_unsigned_long.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lasso/xml/ws/wsa_attributed_unsigned_long.c b/lasso/xml/ws/wsa_attributed_unsigned_long.c index 0b956fd2..347f90fb 100644 --- a/lasso/xml/ws/wsa_attributed_unsigned_long.c +++ b/lasso/xml/ws/wsa_attributed_unsigned_long.c @@ -59,7 +59,9 @@ static LassoNodeClass *parent_class = NULL; static void instance_init(LassoWsAddrAttributedUnsignedLong *node) { - node->content = NULL; + node->content = 0; + node->attributes = g_hash_table_new_full( + g_str_hash, g_str_equal, g_free, g_free); } static void @@ -69,7 +71,7 @@ class_init(LassoWsAddrAttributedUnsignedLongClass *klass) parent_class = g_type_class_peek_parent(klass); nclass->node_data = g_new0(LassoNodeClassData, 1); - lasso_node_class_set_nodename(nclass, "AttributedUnsignedLong"); + lasso_node_class_set_nodename(nclass, "AttributedUnsignedLong"); lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX); lasso_node_class_add_snippets(nclass, schema_snippets); } |
