Add a parent parmeter to g_ir_node_build_typelib
[gnome.gobject-introspection] / tests / union.gir
1 <?xml version="1.0"?>
2 <repository version="1.0"
3             xmlns="http://www.gtk.org/introspection/core/1.0"
4             xmlns:c="http://www.gtk.org/introspection/c/1.0"
5             xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
6   <namespace name="Foo" version="1.0">
7     <union name="union1" type-name="UnionType1" get-type="union1_get_type">
8       <discriminator offset="-4" type="gint" />
9       <field name="field1" readable="1" writable="1" type="guint32" branch="0" />
10       <field name="field1" readable="1" writable="1" type="gdouble" branch="1" />
11     </union>
12     <union name="union2" type-name="UnionType1" get-type="union1_get_type">
13       <field name="field1" readable="1" writable="1" type="guint32" />
14       <field name="field1" readable="1" writable="1" type="gdouble" />
15     </union>
16   </namespace>
17 </repository>