summaryrefslogtreecommitdiff
path: root/tests/scanner/utility-1.0-expected.gir
blob: c01ec4cbf82ed7af1cfec9bdc5d430c58662b92b (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?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">
  <include name="GLib" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <namespace name="utility" version="1.0" shared-library="utility">
    <alias name="Glyph" target="uint32" c:type="UtilityGlyph"/>
    <class name="Object"
           c:type="UtilityObject"
           parent="GObject.Object"
           glib:type-name="UtilityObject"
           glib:get-type="utility_object_get_type">
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ObjectClass" c:type="UtilityObjectClass">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="EnumType" c:type="UtilityEnumType">
      <member name="a" value="0" c:identifier="UTILITY_ENUM_A"/>
      <member name="b" value="1" c:identifier="UTILITY_ENUM_B"/>
      <member name="c" value="2" c:identifier="UTILITY_ENUM_C"/>
    </enumeration>
    <enumeration name="FlagType" c:type="UtilityFlagType">
      <member name="a" value="0" c:identifier="UTILITY_FLAG_A"/>
      <member name="b" value="1" c:identifier="UTILITY_FLAG_B"/>
      <member name="c" value="2" c:identifier="UTILITY_FLAG_C"/>
    </enumeration>
    <record name="Struct" c:type="UtilityStruct">
      <field name="field" writable="1">
        <type name="int" c:type="int"/>
      </field>
      <field name="bitfield1" writable="1" bits="3">
        <type name="uint" c:type="guint"/>
      </field>
      <field name="bitfield2" writable="1" bits="2">
        <type name="uint" c:type="guint"/>
      </field>
      <field name="data" writable="1">
        <array zero-terminated="0" c:type="guint8" fixed-size="16">
          <type name="uint8"/>
        </array>
      </field>
    </record>
    <union name="Union" c:type="UtilityUnion">
      <field name="pointer" writable="1">
        <type name="utf8" c:type="char*"/>
      </field>
      <field name="integer" writable="1">
        <type name="long" c:type="glong"/>
      </field>
      <field name="real" writable="1">
        <type name="double" c:type="double"/>
      </field>
    </union>
  </namespace>
</repository>