map 'id' (ObjC) to 'any' type
authorTommi Komulainen <tommi.komulainen@iki.fi>
Thu, 30 Oct 2008 21:52:12 +0000 (21:52 +0000)
committerTommi Komulainen <tko@src.gnome.org>
Thu, 30 Oct 2008 21:52:12 +0000 (21:52 +0000)
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

ChangeLog
giscanner/ast.py

index 58b5a9b..e414d15 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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
+
 2008-10-30  Johan Dahlin  <jdahlin@async.com.br>
 
        * giscanner/giscannermodule.c (calc_attrs_length),
index 3d802df..90f6672 100644 (file)
@@ -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