mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-13 22:07:15 +01:00
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:
parent
65e241fab8
commit
933fcbc88c
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user