diff options
author | Colin Walters <walters@verbum.org> | 2010-09-03 19:30:42 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-09-03 19:30:42 -0400 |
commit | 28e25585b633d1a742aef3cd8197e5ad65835691 (patch) | |
tree | f50697dd056651220552f2a770d01bce63dfdfec /giscanner/ast.py | |
parent | 9ca497c7d85336358e856c4410de036cd7169d3a (diff) | |
download | gobject-introspection-28e25585b633d1a742aef3cd8197e5ad65835691.tar.gz |
scanner: Add backwards compatibility with some annotation types
These were listed on the wiki up until just now...
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r-- | giscanner/ast.py | 6 |
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 |