summaryrefslogtreecommitdiff
path: root/girepository/girnode.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2008-11-11 21:10:12 +0000
committerOwen Taylor <otaylor@src.gnome.org>2008-11-11 21:10:12 +0000
commit6bd026f9c700b60df590639935e61321c6e19455 (patch)
tree9327f781613dbf0c22c34f50a6f960f3674e6c2d /girepository/girnode.h
parent98527474d7b018cf30fc046830488c35abd67eab (diff)
downloadgobject-introspection-6bd026f9c700b60df590639935e61321c6e19455.tar.gz
Compute field offsets and overall size for object structures
2008-11-11 Owen Taylor <otaylor@redhat.com> Compute field offsets and overall size for object structures Bug 560326 – Fails to build Gtk-2.0.typelib with "Unexpected non-pointer field of type object in structure" Do basic computation of field offsets for objects and interfaces; this doesn't attempt to address all of the "mess" for virtual functions described in Bug 560281. svn path=/trunk/; revision=888
Diffstat (limited to 'girepository/girnode.h')
-rw-r--r--girepository/girnode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/girepository/girnode.h b/girepository/girnode.h
index 971df6b9..9829a933 100644
--- a/girepository/girnode.h
+++ b/girepository/girnode.h
@@ -228,6 +228,9 @@ struct _GIrNodeInterface
GList *interfaces;
GList *prerequisites;
+ gint alignment;
+ gint size;
+
GList *members;
};