2 <repository version="1.0"
3 xmlns="http://www.gtk.org/introspection/core/1.0"
4 xmlns:c="http://www.gtk.org/introspection/c/1.0"
5 xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
6 <include name="utility" version="1.0"/>
7 <include name="GObject" version="2.0"/>
8 <include name="GLib" version="2.0"/>
9 <namespace name="annotation" version="1.0" shared-library="libannotation.so" c:prefix="annotation">
10 <callback name="Callback">
11 <return-value transfer-ownership="none">
15 <parameter name="in" transfer-ownership="none">
20 <callback name="ForeachFunc">
21 <return-value transfer-ownership="none">
25 <parameter name="object" transfer-ownership="none">
28 <parameter name="item" transfer-ownership="none">
31 <parameter name="user_data" transfer-ownership="none" closure="2">
36 <callback name="ListCallback">
37 <return-value transfer-ownership="container">
38 <type name="GLib.List">
43 <parameter name="in" transfer-ownership="none">
44 <type name="GLib.List">
50 <callback name="NotifyFunc">
51 <return-value transfer-ownership="none">
55 <parameter name="data" transfer-ownership="none" closure="0">
60 <class name="Object" parent="GObject.Object" glib:type-struct="ObjectClass" glib:type-name="AnnotationObject" glib:get-type="annotation_object_get_type">
61 <attribute name="org.example.Test" value="cows"/>
62 <field name="parent_instance">
63 <type name="GObject.Object"/>
65 <method name="method" c:identifier="annotation_object_method">
66 <return-value transfer-ownership="none">
70 <method name="out" c:identifier="annotation_object_out">
71 <return-value transfer-ownership="none">
75 <parameter name="outarg" transfer-ownership="full" direction="out">
80 <method name="create_object" c:identifier="annotation_object_create_object">
81 <return-value transfer-ownership="full">
82 <type name="GObject.Object"/>
85 <method name="allow_none" c:identifier="annotation_object_allow_none">
86 <return-value transfer-ownership="full">
87 <type name="GObject.Object"/>
90 <parameter name="somearg" transfer-ownership="none" allow-none="1">
95 <method name="notrans" c:identifier="annotation_object_notrans">
96 <return-value transfer-ownership="none">
97 <type name="GObject.Object"/>
100 <method name="inout" c:identifier="annotation_object_inout">
101 <return-value transfer-ownership="none">
105 <parameter name="inoutarg" transfer-ownership="full" direction="inout">
110 <method name="inout2" c:identifier="annotation_object_inout2">
111 <return-value transfer-ownership="none">
115 <parameter name="inoutarg" transfer-ownership="full" direction="inout">
120 <method name="inout3" c:identifier="annotation_object_inout3">
121 <return-value transfer-ownership="none">
125 <parameter name="inoutarg" transfer-ownership="full" direction="inout" allow-none="1">
130 <method name="in" c:identifier="annotation_object_in">
131 <return-value transfer-ownership="none">
135 <parameter name="inarg" transfer-ownership="none">
140 <method name="calleeowns" c:identifier="annotation_object_calleeowns">
141 <return-value transfer-ownership="none">
145 <parameter name="toown" transfer-ownership="full" direction="out">
146 <type name="GObject.Object"/>
150 <method name="calleesowns" c:identifier="annotation_object_calleesowns">
151 <return-value transfer-ownership="none">
155 <parameter name="toown1" transfer-ownership="full" direction="out">
156 <type name="GObject.Object"/>
158 <parameter name="toown2" transfer-ownership="none" direction="out">
159 <type name="GObject.Object"/>
163 <method name="get_strings" c:identifier="annotation_object_get_strings">
164 <return-value transfer-ownership="full">
165 <type name="GLib.List">
170 <method name="get_hash" c:identifier="annotation_object_get_hash">
171 <return-value transfer-ownership="full">
172 <type name="GLib.HashTable">
174 <type name="GObject.Object"/>
178 <method name="with_voidp" c:identifier="annotation_object_with_voidp">
179 <return-value transfer-ownership="none">
183 <parameter name="data" transfer-ownership="none">
188 <method name="get_objects" c:identifier="annotation_object_get_objects">
189 <return-value transfer-ownership="container">
190 <type name="GLib.SList">
191 <type name="Object"/>
195 <method name="use_buffer" c:identifier="annotation_object_use_buffer">
196 <return-value transfer-ownership="none">
200 <parameter name="bytes" transfer-ownership="none">
201 <array zero-terminated="1">
207 <method name="compute_sum" c:identifier="annotation_object_compute_sum">
208 <return-value transfer-ownership="none">
212 <parameter name="nums" transfer-ownership="none">
213 <array zero-terminated="1">
219 <method name="compute_sum_n" c:identifier="annotation_object_compute_sum_n">
220 <return-value transfer-ownership="none">
224 <parameter name="nums" transfer-ownership="none">
229 <parameter name="n_nums" transfer-ownership="none">
234 <method name="compute_sum_nz" c:identifier="annotation_object_compute_sum_nz">
235 <return-value transfer-ownership="none">
239 <parameter name="nums" transfer-ownership="none">
244 <parameter name="n_nums" transfer-ownership="none">
249 <method name="parse_args" c:identifier="annotation_object_parse_args">
250 <return-value transfer-ownership="none">
254 <parameter name="argc" transfer-ownership="full" direction="inout">
257 <parameter name="argv" transfer-ownership="full" direction="inout">
264 <method name="string_out" c:identifier="annotation_object_string_out">
265 <return-value transfer-ownership="none">
266 <type name="boolean"/>
269 <parameter name="str_out" transfer-ownership="full" direction="out">
274 <method name="foreach" c:identifier="annotation_object_foreach">
275 <return-value transfer-ownership="none">
279 <parameter name="func" transfer-ownership="none" scope="call" closure="2">
280 <type name="ForeachFunc"/>
282 <parameter name="user_data" transfer-ownership="none">
287 <method name="set_data" c:identifier="annotation_object_set_data">
288 <return-value transfer-ownership="none">
292 <parameter name="data" transfer-ownership="none">
297 <parameter name="length" transfer-ownership="none">
302 <method name="set_data2" c:identifier="annotation_object_set_data2">
303 <return-value transfer-ownership="none">
307 <parameter name="data" transfer-ownership="none">
312 <parameter name="length" transfer-ownership="none">
317 <method name="set_data3" c:identifier="annotation_object_set_data3">
318 <return-value transfer-ownership="none">
322 <parameter name="data" transfer-ownership="none">
327 <parameter name="length" transfer-ownership="none">
332 <method name="do_not_use" c:identifier="annotation_object_do_not_use" deprecated="1">
333 <return-value transfer-ownership="full">
334 <type name="GObject.Object"/>
337 <method name="watch" c:identifier="annotation_object_watch_full">
338 <return-value transfer-ownership="none">
342 <parameter name="func" transfer-ownership="none" scope="notified" closure="2" destroy="3">
343 <type name="ForeachFunc"/>
345 <parameter name="user_data" transfer-ownership="none">
348 <parameter name="destroy" transfer-ownership="none" scope="call">
349 <type name="GLib.DestroyNotify"/>
353 <method name="extra_annos" c:identifier="annotation_object_extra_annos">
354 <attribute name="org.foobar" value="testvalue"/>
355 <return-value transfer-ownership="none">
359 <property name="string-property" writable="1" construct="1">
362 <glib:signal name="doc-empty-arg-parsing" when="LAST">
363 <return-value transfer-ownership="full">
367 <parameter name="arg1" transfer-ownership="none">
372 <glib:signal name="list-signal" when="LAST">
373 <return-value transfer-ownership="full">
377 <parameter name="list" transfer-ownership="container">
378 <type name="GLib.List">
384 <glib:signal name="string-signal" when="LAST">
385 <return-value transfer-ownership="full">
389 <parameter name="string" transfer-ownership="none">
395 <record name="ObjectClass" glib:is-gtype-struct="1">
396 <field name="parent_class">
397 <type name="GObject.ObjectClass"/>
400 <record name="Struct">
401 <field name="objects" writable="1">
402 <array fixed-size="10">
403 <type name="Object"/>
407 <function name="custom_destroy" c:identifier="annotation_custom_destroy">
408 <return-value transfer-ownership="none">
412 <parameter name="callback" transfer-ownership="none" scope="call" closure="2" destroy="1">
413 <type name="Callback"/>
415 <parameter name="destroy" transfer-ownership="none" scope="call">
416 <type name="NotifyFunc"/>
418 <parameter name="data" transfer-ownership="none">
423 <function name="get_source_file" c:identifier="annotation_get_source_file">
424 <return-value transfer-ownership="full">
425 <type name="filename"/>
428 <function name="init" c:identifier="annotation_init">
429 <return-value transfer-ownership="none">
433 <parameter name="argc" transfer-ownership="full" direction="inout">
436 <parameter name="argv" transfer-ownership="full" direction="inout">
443 <function name="return_array" c:identifier="annotation_return_array">
444 <return-value transfer-ownership="full">
450 <parameter name="length" transfer-ownership="full" direction="out">
455 <function name="set_source_file" c:identifier="annotation_set_source_file">
456 <return-value transfer-ownership="none">
460 <parameter name="fname" transfer-ownership="none">
461 <type name="filename"/>
465 <function name="string_array_length" c:identifier="annotation_string_array_length">
466 <return-value transfer-ownership="none">
470 <parameter name="n_properties" transfer-ownership="none">
473 <parameter name="properties" transfer-ownership="none">
480 <function name="string_zero_terminated" c:identifier="annotation_string_zero_terminated">
481 <return-value transfer-ownership="full">
482 <array zero-terminated="1">
487 <function name="string_zero_terminated_out" c:identifier="annotation_string_zero_terminated_out">
488 <return-value transfer-ownership="none">
492 <parameter name="out" transfer-ownership="full" direction="inout">
493 <array zero-terminated="1">
499 <function name="versioned" c:identifier="annotation_versioned">
500 <return-value transfer-ownership="none">