blob: 1b2fe84f4b07b19b4438ca4a1ecc372affea5fd5 (
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<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"/>
<package name="gobject-2.0"/>
<namespace name="utility"
version="1.0"
shared-library="libutility.so"
c:prefix="utility">
<alias name="Glyph" target="uint32" c:type="UtilityGlyph"/>
<record name="Buffer" c:type="UtilityBuffer">
<field name="data" writable="1">
<type name="any" c:type="char*"/>
</field>
<field name="length" writable="1">
<type name="size_t" c:type="gsize"/>
</field>
</record>
<union name="Byte" c:type="UtilityByte">
<field name="value" writable="1">
<type name="uint8" c:type="guint8"/>
</field>
<record>
<field name="first_nibble" writable="1" bits="4">
<type name="uint8" c:type="guint8"/>
</field>
<field name="second_nibble" writable="1" bits="4">
<type name="uint8" c:type="guint8"/>
</field>
</record>
</union>
<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>
<callback name="FileFunc" c:type="UtilityFileFunc">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="path" transfer-ownership="none">
<type name="utf8" c:type="char*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" closure="1">
<type name="any" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<bitfield name="FlagType" c:type="UtilityFlagType">
<member name="a" value="1" c:identifier="UTILITY_FLAG_A"/>
<member name="b" value="2" c:identifier="UTILITY_FLAG_B"/>
<member name="c" value="4" c:identifier="UTILITY_FLAG_C"/>
</bitfield>
<class name="Object"
c:type="UtilityObject"
parent="GObject.Object"
glib:type-name="UtilityObject"
glib:get-type="utility_object_get_type"
glib:type-struct="ObjectClass">
<method name="watch_dir" c:identifier="utility_object_watch_dir">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="path" transfer-ownership="none">
<type name="utf8" c:type="char*"/>
</parameter>
<parameter name="func"
transfer-ownership="none"
closure="3"
destroy="4">
<type name="FileFunc" c:type="UtilityFileFunc"/>
</parameter>
<parameter name="user_data" transfer-ownership="none">
<type name="any" c:type="gpointer"/>
</parameter>
<parameter name="destroy" transfer-ownership="none">
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<field name="parent_instance">
<type name="GObject.Object" c:type="GObject"/>
</field>
</class>
<record name="ObjectClass"
c:type="UtilityObjectClass"
glib:is-gtype-struct-for="Object">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<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>
<record name="TaggedValue" c:type="UtilityTaggedValue">
<field name="tag" writable="1">
<type name="int" c:type="int"/>
</field>
<union>
<field name="v_pointer" writable="1">
<type name="any" c:type="gpointer"/>
</field>
<field name="v_real" writable="1">
<type name="double" c:type="double"/>
</field>
<field name="v_integer" writable="1">
<type name="long" c:type="long"/>
</field>
</union>
</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>
<function name="dir_foreach" c:identifier="utility_dir_foreach">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="path" transfer-ownership="none">
<type name="utf8" c:type="char*"/>
</parameter>
<parameter name="func" transfer-ownership="none" closure="2">
<type name="FileFunc" c:type="UtilityFileFunc"/>
</parameter>
<parameter name="user_data" transfer-ownership="none">
<type name="any" c:type="gpointer"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>
|