[gobject-introspection] scanner: Add backwards compatibility with some annotation types
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] scanner: Add backwards compatibility with some annotation types
- Date: Fri, 3 Sep 2010 23:31:06 +0000 (UTC)
commit 28e25585b633d1a742aef3cd8197e5ad65835691
Author: Colin Walters <walters verbum org>
Date: Fri Sep 3 19:30:42 2010 -0400
scanner: Add backwards compatibility with some annotation types
These were listed on the wiki up until just now...
giscanner/ast.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 5267aef..0b9520d 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]