GIFunctionInfo *finfo;
struct_ref = JSObjectMake (ctx, seed_struct_constructor_class, info);
-
+ g_base_info_ref (info);
+
n_methods = g_struct_info_get_n_methods (info);
for (i = 0; i < n_methods; i++)
GIFunctionInfo *finfo;
union_ref = JSObjectMake (ctx, seed_struct_constructor_class, info);
+ g_base_info_ref (info);
n_methods = g_union_info_get_n_methods (info);
key = g_strjoin (NULL, namespace, name, NULL);
proto = (JSObjectRef) g_hash_table_lookup (union_prototype_hash, key);
-
+
if (!proto)
{
proto = JSObjectMake (ctx, 0, 0);