2 <!-- This file was automatically generated from C sources - DO NOT EDIT!
3 To affect the contents of this file, edit the original C definitions,
4 and/or use gtk-doc annotations. -->
5 <repository version="1.2"
6 xmlns="http://www.gtk.org/introspection/core/1.0"
7 xmlns:c="http://www.gtk.org/introspection/c/1.0"
8 xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9 <include name="GObject" version="2.0"/>
10 <package name="gobject-2.0"/>
11 <c:include name="utility.h"/>
12 <namespace name="Utility"
14 shared-library="libutility.so"
15 c:identifier-prefixes="Utility"
16 c:symbol-prefixes="utility">
17 <alias name="Glyph" c:type="UtilityGlyph">
18 <type name="guint32" c:type="guint32"/>
20 <record name="Buffer" c:type="UtilityBuffer">
21 <field name="data" writable="1">
22 <doc xml:space="preserve">the data</doc>
23 <type name="gpointer"/>
25 <field name="length" writable="1">
26 <type name="gsize" c:type="gsize"/>
29 <union name="Byte" c:type="UtilityByte">
30 <field name="value" writable="1">
31 <type name="guint8" c:type="guint8"/>
33 <record name="parts" c:type="parts">
34 <field name="first_nibble" writable="1" bits="4">
35 <type name="guint8" c:type="guint8"/>
37 <field name="second_nibble" writable="1" bits="4">
38 <type name="guint8" c:type="guint8"/>
42 <enumeration name="EnumType" c:type="UtilityEnumType">
43 <member name="a" value="0" c:identifier="UTILITY_ENUM_A">
45 <member name="b" value="1" c:identifier="UTILITY_ENUM_B">
47 <member name="c" value="2" c:identifier="UTILITY_ENUM_C">
50 <callback name="FileFunc" c:type="UtilityFileFunc">
51 <return-value transfer-ownership="none">
52 <type name="none" c:type="void"/>
55 <parameter name="path" transfer-ownership="none">
56 <type name="utf8" c:type="const char*"/>
58 <parameter name="user_data"
59 transfer-ownership="none"
63 <type name="gpointer" c:type="gpointer"/>
67 <bitfield name="FlagType" c:type="UtilityFlagType">
68 <member name="a" value="1" c:identifier="UTILITY_FLAG_A">
70 <member name="b" value="2" c:identifier="UTILITY_FLAG_B">
72 <member name="c" value="4" c:identifier="UTILITY_FLAG_C">
76 c:symbol-prefix="object"
77 c:type="UtilityObject"
78 parent="GObject.Object"
79 glib:type-name="UtilityObject"
80 glib:get-type="utility_object_get_type"
81 glib:type-struct="ObjectClass">
82 <method name="watch_dir" c:identifier="utility_object_watch_dir">
83 <return-value transfer-ownership="none">
84 <type name="none" c:type="void"/>
87 <instance-parameter name="object" transfer-ownership="none">
88 <type name="Object" c:type="UtilityObject*"/>
90 <parameter name="path" transfer-ownership="none">
91 <type name="utf8" c:type="const char*"/>
93 <parameter name="func"
94 transfer-ownership="none"
98 <type name="FileFunc" c:type="UtilityFileFunc"/>
100 <parameter name="user_data"
101 transfer-ownership="none"
104 <type name="gpointer" c:type="gpointer"/>
106 <parameter name="destroy" transfer-ownership="none" scope="async">
107 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
111 <field name="parent_instance">
112 <type name="GObject.Object" c:type="GObject"/>
115 <record name="ObjectClass"
116 c:type="UtilityObjectClass"
117 glib:is-gtype-struct-for="Object">
118 <field name="parent_class">
119 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
122 <record name="Struct" c:type="UtilityStruct">
123 <field name="field" writable="1">
124 <type name="gint" c:type="int"/>
126 <field name="bitfield1" writable="1" bits="3">
127 <type name="guint" c:type="guint"/>
129 <field name="bitfield2" writable="1" bits="2">
130 <type name="guint" c:type="guint"/>
132 <field name="data" writable="1">
133 <array zero-terminated="0" c:type="guint8" fixed-size="16">
134 <type name="guint8" c:type="guint8"/>
138 <record name="TaggedValue" c:type="UtilityTaggedValue">
139 <field name="tag" writable="1">
140 <type name="gint" c:type="int"/>
142 <union name="value" c:type="value">
143 <field name="v_pointer" writable="1">
144 <type name="gpointer" c:type="gpointer"/>
146 <field name="v_real" writable="1">
147 <type name="gdouble" c:type="double"/>
149 <field name="v_integer" writable="1">
150 <type name="glong" c:type="long"/>
154 <union name="Union" c:type="UtilityUnion">
155 <field name="pointer" writable="1">
156 <type name="utf8" c:type="char*"/>
158 <field name="integer" writable="1">
159 <type name="glong" c:type="glong"/>
161 <field name="real" writable="1">
162 <type name="gdouble" c:type="double"/>
165 <function name="dir_foreach" c:identifier="utility_dir_foreach">
166 <return-value transfer-ownership="none">
167 <type name="none" c:type="void"/>
170 <parameter name="path" transfer-ownership="none">
171 <type name="utf8" c:type="const char*"/>
173 <parameter name="func"
174 transfer-ownership="none"
177 <type name="FileFunc" c:type="UtilityFileFunc"/>
179 <parameter name="user_data"
180 transfer-ownership="none"
183 <type name="gpointer" c:type="gpointer"/>