summaryrefslogtreecommitdiff
path: root/tests/struct.gir
blob: 9ef963b637f03fcf8090d95d4c8536272788c6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0"?>
<repository version="1.0"
            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">
  <namespace name="struct" version="1.0">
    <record name="FooStruct">
      <field name="foo_int" writable="1">
        <type name="int"/>
      </field>
      <field name="foo_int64" writable="1">
        <type name="int64"/>
      </field>
      <field name="foo_uint" writable="1">
        <type name="uint"/>
      </field>
      <field name="foo_uint64" writable="1">
        <type name="uint64"/>
      </field>
      <field name="string" writable="1">
        <type name="utf8"/>
      </field>
    </record>
    <record name="FooStruct2">
      <field name="sub" writable="1">
        <type name="FooStruct"/>
      </field>
      <field name="string" writable="1">
        <type name="utf8"/>
      </field>
    </record>
  </namespace>
</repository>