summaryrefslogtreecommitdiff
path: root/giscanner/ast.py
diff options
context:
space:
mode:
authorTommi Komulainen <tommi.komulainen@iki.fi>2008-10-30 21:52:12 +0000
committerTommi Komulainen <tko@src.gnome.org>2008-10-30 21:52:12 +0000
commit87c726c082ebac832916b4f9c0289cb4b77f7aef (patch)
tree8b0cb56d9da93b1e00237258a648fb9379af3db6 /giscanner/ast.py
parent98791e4955ea3955fec9c020bdfd3eee771ed241 (diff)
downloadgobject-introspection-87c726c082ebac832916b4f9c0289cb4b77f7aef.tar.gz
map 'id' (ObjC) to 'any' type
2008-10-30 Tommi Komulainen <tommi.komulainen@iki.fi> * giscanner/ast.py: map 'id' (ObjC) to 'any' type to stop gir-repository from choking with gdk/quartz svn path=/trunk/; revision=847
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r--giscanner/ast.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 3d802df9..90f66727 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -112,6 +112,9 @@ type_names['off_t'] = TYPE_SIZET
# FIXME - can we make libraries use GPid?
type_names['pid_t'] = TYPE_INT
+# Obj-C
+type_names['id'] = TYPE_ANY
+
# Suppress some GLib names
type_names['uchar'] = TYPE_UINT8
type_names['ushort'] = TYPE_UINT16