diff options
author | Colin Walters <walters@src.gnome.org> | 2008-09-06 20:33:51 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2008-09-06 20:33:51 +0000 |
commit | e28078c70cbf4a57c7dbd39626f43f9bd2674145 (patch) | |
tree | 1ab870b5a41cbc3e3a8a70f62b83f6e419049737 /girepository/girnode.h | |
parent | c5eb6a47cedf58210b4d3d73baced9a253e8ae51 (diff) | |
download | gobject-introspection-e28078c70cbf4a57c7dbd39626f43f9bd2674145.tar.gz |
Allow both union and struct to be boxed or not
* girepository/girnode.c: Allow gtype_name
and gtype_init in struct and union.
* girepository/girparser.c: Parse glib:
boxed bits for both structure and union.
* girepository/gtypelib.c: Don't barf
if structure is boxed.
* giscanner/girparser.py: Parse new XML
format.
* giscanner/girwriter.py: Write out new
XML format.
* giscanner/glibast.py: Define new classes
which are both Boxed and Struct/Union, as
well as an "Other" for everything else.
* giscanner/glibtransformer.py: Handle
boxed types specially; we try to merge
them with a struct/union if one exists,
otherwise fall back to generic boxed.
* tests/*: Update.
* tools/generate.c: Write out new format.
svn path=/trunk/; revision=575
Diffstat (limited to 'girepository/girnode.h')
-rw-r--r-- | girepository/girnode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/girepository/girnode.h b/girepository/girnode.h index 6079d367..67027aec 100644 --- a/girepository/girnode.h +++ b/girepository/girnode.h @@ -272,6 +272,9 @@ struct _GIrNodeStruct GIrNode node; gboolean deprecated; + + gchar *gtype_name; + gchar *gtype_init; GList *members; }; |