[gobject-introspection] Window isn't a record, but really a typedef for uint32
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Subject: [gobject-introspection] Window isn't a record, but really a typedef for uint32
- Date: Wed, 8 Jul 2009 13:17:37 +0000 (UTC)
commit 9ce2b05198653697896c3f7c9271073789f90c51
Author: Colin Walters <walters verbum org>
Date: Wed Jul 8 09:16:25 2009 -0400
Window isn't a record, but really a typedef for uint32
Since it's used in the API as just "Window foo();", bindings
will fail trying to take a by-value struct.
gir/xlib-2.0.gir | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gir/xlib-2.0.gir b/gir/xlib-2.0.gir
index 5ee0586..02f9874 100644
--- a/gir/xlib-2.0.gir
+++ b/gir/xlib-2.0.gir
@@ -3,6 +3,8 @@
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="xlib" version="2.0">
+ <alias name="Window" target="uint32" c:type="Window"/>
+
<record name="Atom" c:type="Atom"/>
<record name="Display" c:type="Display"/>
<record name="Drawable" c:type="Drawable"/>
@@ -12,7 +14,6 @@
<record name="Picture" c:type="Picture"/>
<record name="Screen" c:type="Screen"/>
<record name="VisualID" c:type="VisualID"/>
- <record name="Window" c:type="Window"/>
<record name="XEvent" c:type="XEvent"/>
<record name="XConfigureEvent" c:type="XConfigureEvent"/>
<record name="XID" c:type="XID"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]