summaryrefslogtreecommitdiff
path: root/tests/scanner/utility-1.0-expected.tgir
blob: dfd2aa808246e68aaa89b4550b2f92ce8aacf2cb (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?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="GObject" version="2.0"/>
  <include name="GLib" version="2.0"/>
  <namespace name="utility" version="1.0" shared-library="utility">
    <union name="Byte">
      <field name="value" writable="1">
        <type name="uint8"/>
      </field>
    </union>
    <enumeration name="EnumType">
      <member name="a" value="0"/>
      <member name="b" value="1"/>
      <member name="c" value="2"/>
    </enumeration>
    <callback name="FileFunc">
      <return-value transfer-ownership="none">
        <type name="none"/>
      </return-value>
      <parameters>
        <parameter name="path" transfer-ownership="none">
          <type name="utf8"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none" closure="1">
          <type name="any"/>
        </parameter>
      </parameters>
    </callback>
    <bitfield name="FlagType">
      <member name="a" value="1"/>
      <member name="b" value="2"/>
      <member name="c" value="4"/>
    </bitfield>
    <class name="Object" parent="GObject.Object" glib:type-struct="ObjectClass" glib:type-name="UtilityObject" glib:get-type="utility_object_get_type">
      <field name="parent_instance">
        <type name="GObject.Object"/>
      </field>
      <method name="watch_dir" c:identifier="utility_object_watch_dir">
        <return-value transfer-ownership="none">
          <type name="none"/>
        </return-value>
        <parameters>
          <parameter name="path" transfer-ownership="none">
            <type name="utf8"/>
          </parameter>
          <parameter name="func" transfer-ownership="none" closure="3" destroy="4">
            <type name="FileFunc"/>
          </parameter>
          <parameter name="user_data" transfer-ownership="none">
            <type name="any"/>
          </parameter>
          <parameter name="destroy" transfer-ownership="none">
            <type name="GLib.DestroyNotify"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="ObjectClass" glib:is-gtype-struct="1">
      <field name="parent_class">
        <type name="GObject.ObjectClass"/>
      </field>
    </record>
    <record name="Struct">
      <field name="field" writable="1">
        <type name="int"/>
      </field>
      <field name="bitfield1" writable="1">
        <type name="uint"/>
      </field>
      <field name="bitfield2" writable="1">
        <type name="uint"/>
      </field>
      <field name="data" writable="1">
        <array fixed-size="16">
          <type name="uint8"/>
        </array>
      </field>
    </record>
    <record name="TaggedValue">
      <field name="tag" writable="1">
        <type name="int"/>
      </field>
    </record>
    <union name="Union">
      <field name="pointer" writable="1">
        <type name="utf8"/>
      </field>
      <field name="integer" writable="1">
        <type name="long"/>
      </field>
      <field name="real" writable="1">
        <type name="double"/>
      </field>
    </union>
    <function name="dir_foreach" c:identifier="utility_dir_foreach">
      <return-value transfer-ownership="none">
        <type name="none"/>
      </return-value>
      <parameters>
        <parameter name="path" transfer-ownership="none">
          <type name="utf8"/>
        </parameter>
        <parameter name="func" transfer-ownership="none" closure="2">
          <type name="FileFunc"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none">
          <type name="any"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>