From: Colin Walters Date: Fri, 3 Sep 2010 23:30:42 +0000 (-0400) Subject: scanner: Add backwards compatibility with some annotation types X-Git-Tag: GOBJECT_INTROSPECTION_0_9_6~69 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28e25585b633d1a742aef3cd8197e5ad65835691;p=platform%2Fupstream%2Fgobject-introspection.git scanner: Add backwards compatibility with some annotation types These were listed on the wiki up until just now... --- diff --git a/giscanner/ast.py b/giscanner/ast.py index 5267aef9..0b9520d5 100644 --- a/giscanner/ast.py +++ b/giscanner/ast.py @@ -245,6 +245,12 @@ type_names['gsize'] = TYPE_ULONG type_names['gssize'] = TYPE_LONG type_names['gconstpointer'] = TYPE_ANY +# We used to support these; continue to do so +type_names['any'] = TYPE_ANY +type_names['boolean'] = TYPE_BOOLEAN +type_names['uint'] = TYPE_UINT +type_names['ulong'] = TYPE_ULONG + # C stdio, used in GLib public headers; squash this for now here # until we move scanning into GLib and can (skip) type_names['FILE*'] = TYPE_ANY