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" />
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" />