summaryrefslogtreecommitdiff
path: root/tests/struct.gir
blob: ff659cb105e32b80c294e109d50474c38a745bdc (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="Foo">
    <record name="FooStruct">
      <field name="foo_int" readable="1" writable="1" offset="0">
        <type name="int"/>
      </field>
      <field name="foo_int64" readable="1" writable="1" offset="4">
        <type name="int64"/>
      </field>
      <field name="foo_uint" readable="1" writable="1" offset="12">
        <type name="uint"/>
      </field>
      <field name="foo_uint64" readable="1" writable="1" offset="16">
        <type name="uint64"/>
      </field>
      <field name="string" readable="1" writable="1" offset="24">
        <type name="utf8"/>
      </field>
    </record>
    <record name="FooStruct2">
      <field name="sub" readable="1" writable="1" offset="0">
        <type name="FooStruct"/>
      </field>
      <field name="string" readable="1" writable="1" offset="24">
        <type name="utf8"/>
      </field>
    </record>
  </namespace>
</repository>