summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-03 19:30:42 -0400
committerColin Walters <walters@verbum.org>2010-09-03 19:30:42 -0400
commit28e25585b633d1a742aef3cd8197e5ad65835691 (patch)
treef50697dd056651220552f2a770d01bce63dfdfec
parent9ca497c7d85336358e856c4410de036cd7169d3a (diff)
downloadgobject-introspection-28e25585b633d1a742aef3cd8197e5ad65835691.tar.gz
scanner: Add backwards compatibility with some annotation types
These were listed on the wiki up until just now...
-rw-r--r--giscanner/ast.py6
1 files changed, 6 insertions, 0 deletions
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