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.0"
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="GLib" version="2.0"/>
10 <include name="GObject" version="2.0"/>
11 <package name="gobject-2.0"/>
12 <namespace name="utility"
14 shared-library="libutility.so"
16 <alias name="Glyph" target="uint32" c:type="UtilityGlyph"/>
17 <record name="Buffer" c:type="UtilityBuffer">
18 <field name="data" writable="1">
19 <type name="any" c:type="char*"/>
21 <field name="length" writable="1">
22 <type name="size_t" c:type="gsize"/>
25 <union name="Byte" c:type="UtilityByte">
26 <field name="value" writable="1">
27 <type name="uint8" c:type="guint8"/>
30 <field name="first_nibble" writable="1" bits="4">
31 <type name="uint8" c:type="guint8"/>
33 <field name="second_nibble" writable="1" bits="4">
34 <type name="uint8" c:type="guint8"/>
38 <enumeration name="EnumType" c:type="UtilityEnumType">
39 <member name="a" value="0" c:identifier="UTILITY_ENUM_A"/>
40 <member name="b" value="1" c:identifier="UTILITY_ENUM_B"/>
41 <member name="c" value="2" c:identifier="UTILITY_ENUM_C"/>
43 <callback name="FileFunc" c:type="UtilityFileFunc">
44 <return-value transfer-ownership="none">
45 <type name="none" c:type="void"/>
48 <parameter name="path" transfer-ownership="none">
49 <type name="utf8" c:type="char*"/>
51 <parameter name="user_data" transfer-ownership="none" closure="1">
52 <type name="any" c:type="gpointer"/>
56 <bitfield name="FlagType" c:type="UtilityFlagType">
57 <member name="a" value="1" c:identifier="UTILITY_FLAG_A"/>
58 <member name="b" value="2" c:identifier="UTILITY_FLAG_B"/>
59 <member name="c" value="4" c:identifier="UTILITY_FLAG_C"/>
62 c:type="UtilityObject"
63 parent="GObject.Object"
64 glib:type-name="UtilityObject"
65 glib:get-type="utility_object_get_type"
66 glib:type-struct="ObjectClass">
67 <method name="watch_dir" c:identifier="utility_object_watch_dir">
68 <return-value transfer-ownership="none">
69 <type name="none" c:type="void"/>
72 <parameter name="path" transfer-ownership="none">
73 <type name="utf8" c:type="char*"/>
75 <parameter name="func"
76 transfer-ownership="none"
80 <type name="FileFunc" c:type="UtilityFileFunc"/>
82 <parameter name="user_data" transfer-ownership="none">
83 <type name="any" c:type="gpointer"/>
85 <parameter name="destroy" transfer-ownership="none" scope="call">
86 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
90 <field name="parent_instance">
91 <type name="GObject.Object" c:type="GObject"/>
94 <record name="ObjectClass"
95 c:type="UtilityObjectClass"
96 glib:is-gtype-struct-for="Object">
97 <field name="parent_class">
98 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
101 <record name="Struct" c:type="UtilityStruct">
102 <field name="field" writable="1">
103 <type name="int" c:type="int"/>
105 <field name="bitfield1" writable="1" bits="3">
106 <type name="uint" c:type="guint"/>
108 <field name="bitfield2" writable="1" bits="2">
109 <type name="uint" c:type="guint"/>
111 <field name="data" writable="1">
112 <array zero-terminated="0" c:type="guint8" fixed-size="16">
117 <record name="TaggedValue" c:type="UtilityTaggedValue">
118 <field name="tag" writable="1">
119 <type name="int" c:type="int"/>
122 <field name="v_pointer" writable="1">
123 <type name="any" c:type="gpointer"/>
125 <field name="v_real" writable="1">
126 <type name="double" c:type="double"/>
128 <field name="v_integer" writable="1">
129 <type name="long" c:type="long"/>
133 <union name="Union" c:type="UtilityUnion">
134 <field name="pointer" writable="1">
135 <type name="utf8" c:type="char*"/>
137 <field name="integer" writable="1">
138 <type name="long" c:type="glong"/>
140 <field name="real" writable="1">
141 <type name="double" c:type="double"/>
144 <function name="dir_foreach" c:identifier="utility_dir_foreach">
145 <return-value transfer-ownership="none">
146 <type name="none" c:type="void"/>
149 <parameter name="path" transfer-ownership="none">
150 <type name="utf8" c:type="char*"/>
152 <parameter name="func"
153 transfer-ownership="none"
156 <type name="FileFunc" c:type="UtilityFileFunc"/>
158 <parameter name="user_data" transfer-ownership="none">
159 <type name="any" c:type="gpointer"/>