Sync the basic types array in girnode.c:serialize_type with GITypeTag

Fixes a crash compiling GIRepository-2.0.gir.

http://bugzilla.gnome.org/show_bug.cgi?id=587823
This commit is contained in:
Dan Winship 2009-07-06 11:17:40 -04:00
parent 65e241fab8
commit 933fcbc88c

View File

@ -1229,6 +1229,8 @@ serialize_type (GIrModule *module,
"uint32", "uint32",
"int64", "int64",
"uint64", "uint64",
"short",
"ushort",
"int", "int",
"uint", "uint",
"long", "long",
@ -1237,11 +1239,10 @@ serialize_type (GIrModule *module,
"size", "size",
"float", "float",
"double", "double",
"time_t",
"GType",
"utf8", "utf8",
"filename", "filename",
"string",
"sequence",
"any"
}; };
if (node->tag < GI_TYPE_TAG_ARRAY) if (node->tag < GI_TYPE_TAG_ARRAY)