summaryrefslogtreecommitdiff
path: root/tests/gir/union.gir
blob: c370ed223433a1f475c40a93306d2b05c4376f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0"?>
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GObject" version="2.0"/>
<include name="GLib" version="2.0"/>
<include name="Gio" version="2.0"/>
<package name="test"/>
<c:include name="test.h"/>
<namespace name="Test" version="1.0" shared-library="test" c:prefix="Test" c:identifier-prefixes="Test" c:symbol-prefixes="test">
<union name="Foo" c:type="TestFoo">
  <field name="bar" writable="1">
    <type name="guint" c:type="guint"/>
  </field>
  <field name="manam" writable="1">
    <type name="gint" c:type="gint"/>
  </field>
</union>
</namespace>
</repository>