Release 0.41.92
[vala-gnome.git] / tests / girwriter / GirTest-1.0.gir-expected
blob02edb2aa7b64d1da9b9e18013cf97c2e8014d5dc
1 <?xml version="1.0"?>
2 <repository version="1.2" 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">
3 <include name="GObject" version="2.0"/>
4 <include name="GLib" version="2.0"/>
5 <package name="girtest"/>
6 <c:include name="girtest.h"/>
7 <namespace name="GirTest" version="1.0" c:prefix="GirTest">
8 <enumeration name="EnumTest" c:type="GirTestEnumTest" glib:type-name="GirTestEnumTest" glib:get-type="gir_test_enum_test_get_type">
9 <member name="value1" c:identifier="GIR_TEST_ENUM_TEST_VALUE1" value="0"/>
10 <member name="value2" c:identifier="GIR_TEST_ENUM_TEST_VALUE2" value="1"/>
11 <member name="value3" c:identifier="GIR_TEST_ENUM_TEST_VALUE3" value="2"/>
12 </enumeration>
13 <bitfield name="FlagsTest" c:type="GirTestFlagsTest" glib:type-name="GirTestFlagsTest" glib:get-type="gir_test_flags_test_get_type">
14 <member name="value1" c:identifier="GIR_TEST_FLAGS_TEST_VALUE1" value="1"/>
15 <member name="value2" c:identifier="GIR_TEST_FLAGS_TEST_VALUE2" value="2"/>
16 <member name="value3" c:identifier="GIR_TEST_FLAGS_TEST_VALUE3" value="4"/>
17 </bitfield>
18 <enumeration name="SkippedEnum" c:type="GirTestSkippedEnum" glib:type-name="GirTestSkippedEnum" glib:get-type="gir_test_skipped_enum_get_type" introspectable="0">
19 <member name="value1" c:identifier="GIR_TEST_SKIPPED_ENUM_VALUE1" value="0"/>
20 </enumeration>
21 <enumeration name="SkippedFlags" c:type="GirTestSkippedFlags" glib:type-name="GirTestSkippedFlags" glib:get-type="gir_test_skipped_flags_get_type" introspectable="0">
22 <member name="value1" c:identifier="GIR_TEST_SKIPPED_FLAGS_VALUE1" value="0"/>
23 </enumeration>
24 <record name="SkippedStruct" introspectable="0">
25 <constructor name="new" c:identifier="gir_test_skipped_struct_new">
26 <return-value transfer-ownership="full">
27 <type name="GirTest.SkippedStruct" c:type="GirTestSkippedStruct*"/>
28 </return-value>
29 </constructor>
30 </record>
31 <class name="ObjectTest" c:type="GirTestObjectTest" glib:type-name="GirTestObjectTest" glib:get-type="gir_test_object_test_get_type" glib:type-struct="ObjectTestClass" parent="GObject.Object">
32 <field name="parent_instance">
33 <type name="GObject.Object" c:type="GObject"/>
34 </field>
35 <field name="priv">
36 <type name="ObjectTestPrivate" c:type="GirTestObjectTestPrivate*"/>
37 </field>
38 <field name="field">
39 <type name="gint" c:type="gint"/>
40 </field>
41 <constructor name="new" c:identifier="gir_test_object_test_new">
42 <return-value transfer-ownership="full">
43 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
44 </return-value>
45 </constructor>
46 <constructor name="with_int" c:identifier="gir_test_object_test_new_with_int">
47 <return-value transfer-ownership="full">
48 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
49 </return-value>
50 <parameters>
51 <parameter name="param" transfer-ownership="none">
52 <type name="gint" c:type="gint"/>
53 </parameter>
54 </parameters>
55 </constructor>
56 <constructor name="newv" c:identifier="gir_test_object_test_new_newv" introspectable="0">
57 <return-value transfer-ownership="full">
58 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
59 </return-value>
60 <parameters>
61 <parameter name="param" transfer-ownership="none">
62 <type name="gint" c:type="gint"/>
63 </parameter>
64 <parameter name="..." transfer-ownership="none">
65 <varargs/>
66 </parameter>
67 </parameters>
68 </constructor>
69 <constructor name="new_valist" c:identifier="gir_test_object_test_new_new_valist" introspectable="0">
70 <return-value transfer-ownership="full">
71 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
72 </return-value>
73 <parameters>
74 <parameter name="param" transfer-ownership="none">
75 <type name="gint" c:type="gint"/>
76 </parameter>
77 <parameter name="vargs" transfer-ownership="none">
78 <type name="va_list" c:type="va_list"/>
79 </parameter>
80 </parameters>
81 </constructor>
82 <function name="full_inout" c:identifier="gir_test_object_test_full_inout">
83 <return-value transfer-ownership="full">
84 <type name="none"/>
85 </return-value>
86 <parameters>
87 <parameter name="obj" direction="inout" transfer-ownership="full">
88 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest**"/>
89 </parameter>
90 </parameters>
91 </function>
92 <function name="full_out" c:identifier="gir_test_object_test_full_out">
93 <return-value transfer-ownership="full">
94 <type name="none"/>
95 </return-value>
96 <parameters>
97 <parameter name="obj" direction="out" transfer-ownership="full">
98 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest**"/>
99 </parameter>
100 </parameters>
101 </function>
102 <function name="full_return" c:identifier="gir_test_object_test_full_return">
103 <return-value transfer-ownership="full">
104 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
105 </return-value>
106 </function>
107 <function name="none_inout" c:identifier="gir_test_object_test_none_inout">
108 <return-value transfer-ownership="full">
109 <type name="none"/>
110 </return-value>
111 <parameters>
112 <parameter name="obj" direction="inout" transfer-ownership="none">
113 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest**"/>
114 </parameter>
115 </parameters>
116 </function>
117 <function name="none_out" c:identifier="gir_test_object_test_none_out">
118 <return-value transfer-ownership="full">
119 <type name="none"/>
120 </return-value>
121 <parameters>
122 <parameter name="obj" direction="out" transfer-ownership="none">
123 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest**"/>
124 </parameter>
125 </parameters>
126 </function>
127 <function name="none_return" c:identifier="gir_test_object_test_none_return">
128 <return-value transfer-ownership="none">
129 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
130 </return-value>
131 </function>
132 <function name="static_method" c:identifier="gir_test_object_test_static_method">
133 <return-value transfer-ownership="full">
134 <type name="none"/>
135 </return-value>
136 </function>
137 <method name="method_with_default_impl" c:identifier="gir_test_object_test_method_with_default_impl">
138 <return-value transfer-ownership="full">
139 <type name="none"/>
140 </return-value>
141 <parameters>
142 <parameter name="param" transfer-ownership="none">
143 <type name="gint8" c:type="gint8"/>
144 </parameter>
145 </parameters>
146 </method>
147 <virtual-method name="method_with_default_impl" invoker="method_with_default_impl">
148 <return-value transfer-ownership="full">
149 <type name="none"/>
150 </return-value>
151 <parameters>
152 <parameter name="param" transfer-ownership="none">
153 <type name="gint8" c:type="gint8"/>
154 </parameter>
155 </parameters>
156 </virtual-method>
157 <method name="int8_in" c:identifier="gir_test_object_test_int8_in">
158 <return-value transfer-ownership="full">
159 <type name="none"/>
160 </return-value>
161 <parameters>
162 <parameter name="param" transfer-ownership="none">
163 <type name="gint8" c:type="gint8"/>
164 </parameter>
165 </parameters>
166 </method>
167 <method name="int8_out" c:identifier="gir_test_object_test_int8_out">
168 <return-value transfer-ownership="full">
169 <type name="none"/>
170 </return-value>
171 <parameters>
172 <parameter name="param" direction="out" transfer-ownership="full">
173 <type name="gint8" c:type="gint8*"/>
174 </parameter>
175 </parameters>
176 </method>
177 <method name="method" c:identifier="gir_test_object_test_method">
178 <return-value transfer-ownership="full">
179 <type name="none"/>
180 </return-value>
181 </method>
182 <method name="method_varargs" c:identifier="gir_test_object_test_method_varargs" introspectable="0">
183 <return-value transfer-ownership="full">
184 <type name="none"/>
185 </return-value>
186 <parameters>
187 <parameter name="param" transfer-ownership="none">
188 <type name="gint" c:type="gint"/>
189 </parameter>
190 <parameter name="..." transfer-ownership="none">
191 <varargs/>
192 </parameter>
193 </parameters>
194 </method>
195 <method name="method_valist" c:identifier="gir_test_object_test_method_valist" introspectable="0">
196 <return-value transfer-ownership="full">
197 <type name="none"/>
198 </return-value>
199 <parameters>
200 <parameter name="param" transfer-ownership="none">
201 <type name="gint" c:type="gint"/>
202 </parameter>
203 <parameter name="vargs" transfer-ownership="none">
204 <type name="va_list" c:type="va_list"/>
205 </parameter>
206 </parameters>
207 </method>
208 <method name="array_in" c:identifier="gir_test_object_test_array_in">
209 <return-value transfer-ownership="full">
210 <type name="none"/>
211 </return-value>
212 <parameters>
213 <parameter name="array" transfer-ownership="none">
214 <array length="1">
215 <type name="gint" c:type="gint"/>
216 </array>
217 </parameter>
218 <parameter name="array_length1" transfer-ownership="none">
219 <type name="gint" c:type="gint"/>
220 </parameter>
221 </parameters>
222 </method>
223 <method name="array_inout" c:identifier="gir_test_object_test_array_inout">
224 <return-value transfer-ownership="full">
225 <type name="none"/>
226 </return-value>
227 <parameters>
228 <parameter name="array" direction="inout" transfer-ownership="full">
229 <array length="1">
230 <type name="gint" c:type="gint"/>
231 </array>
232 </parameter>
233 <parameter name="array_length1" direction="inout" transfer-ownership="none">
234 <type name="gint" c:type="gint*"/>
235 </parameter>
236 </parameters>
237 </method>
238 <method name="array_out" c:identifier="gir_test_object_test_array_out">
239 <return-value transfer-ownership="full">
240 <type name="none"/>
241 </return-value>
242 <parameters>
243 <parameter name="array" direction="out" transfer-ownership="full">
244 <array length="1">
245 <type name="gint" c:type="gint"/>
246 </array>
247 </parameter>
248 <parameter name="array_length1" direction="out" transfer-ownership="none">
249 <type name="gint" c:type="gint*"/>
250 </parameter>
251 </parameters>
252 </method>
253 <method name="array_return" c:identifier="gir_test_object_test_array_return">
254 <return-value transfer-ownership="full">
255 <array length="0">
256 <type name="gint" c:type="gint"/>
257 </array>
258 </return-value>
259 <parameters>
260 <parameter name="result_length1" direction="out" transfer-ownership="none">
261 <type name="gint" c:type="gint*"/>
262 </parameter>
263 </parameters>
264 </method>
265 <method name="int_in_int_in_array_out" c:identifier="gir_test_object_test_int_in_int_in_array_out">
266 <return-value transfer-ownership="full">
267 <type name="none"/>
268 </return-value>
269 <parameters>
270 <parameter name="param1" transfer-ownership="none">
271 <type name="gint" c:type="gint"/>
272 </parameter>
273 <parameter name="param2" transfer-ownership="none">
274 <type name="gint" c:type="gint"/>
275 </parameter>
276 <parameter name="array" direction="out" transfer-ownership="full">
277 <array length="3">
278 <type name="gint" c:type="gint"/>
279 </array>
280 </parameter>
281 <parameter name="array_length1" direction="out" transfer-ownership="none">
282 <type name="gint" c:type="gint*"/>
283 </parameter>
284 </parameters>
285 </method>
286 <method name="int_in_int_in_array_return" c:identifier="gir_test_object_test_int_in_int_in_array_return">
287 <return-value transfer-ownership="full">
288 <array length="2">
289 <type name="gint" c:type="gint"/>
290 </array>
291 </return-value>
292 <parameters>
293 <parameter name="param1" transfer-ownership="none">
294 <type name="gint" c:type="gint"/>
295 </parameter>
296 <parameter name="param2" transfer-ownership="none">
297 <type name="gint" c:type="gint"/>
298 </parameter>
299 <parameter name="result_length1" direction="out" transfer-ownership="none">
300 <type name="gint" c:type="gint*"/>
301 </parameter>
302 </parameters>
303 </method>
304 <method name="none_in" c:identifier="gir_test_object_test_none_in">
305 <return-value transfer-ownership="full">
306 <type name="none"/>
307 </return-value>
308 </method>
309 <method name="delegate_return" c:identifier="gir_test_object_test_delegate_return">
310 <return-value transfer-ownership="none" closure="0" scope="notified" destroy="1">
311 <type name="GirTest.DelegateTest" c:type="GirTestDelegateTest"/>
312 </return-value>
313 <parameters>
314 <parameter name="result_target" direction="out" transfer-ownership="none" allow-none="1">
315 <type name="gpointer" c:type="void*"/>
316 </parameter>
317 <parameter name="result_target_destroy_notify" direction="out" transfer-ownership="none" scope="call">
318 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
319 </parameter>
320 </parameters>
321 </method>
322 <method name="delegate_return_int_in_array_out" c:identifier="gir_test_object_test_delegate_return_int_in_array_out">
323 <return-value transfer-ownership="none" closure="3" scope="notified" destroy="4">
324 <type name="GirTest.DelegateTest" c:type="GirTestDelegateTest"/>
325 </return-value>
326 <parameters>
327 <parameter name="i1" transfer-ownership="none">
328 <type name="gint" c:type="gint"/>
329 </parameter>
330 <parameter name="a" direction="out" transfer-ownership="full">
331 <array length="2">
332 <type name="gint" c:type="gint"/>
333 </array>
334 </parameter>
335 <parameter name="a_length1" direction="out" transfer-ownership="none">
336 <type name="gint" c:type="gint*"/>
337 </parameter>
338 <parameter name="result_target" direction="out" transfer-ownership="none" allow-none="1">
339 <type name="gpointer" c:type="void*"/>
340 </parameter>
341 <parameter name="result_target_destroy_notify" direction="out" transfer-ownership="none" scope="call">
342 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
343 </parameter>
344 </parameters>
345 </method>
346 <method name="array_return_int_in_delegate_out" c:identifier="gir_test_object_test_array_return_int_in_delegate_out">
347 <return-value transfer-ownership="full">
348 <array length="4">
349 <type name="gint" c:type="gint"/>
350 </array>
351 </return-value>
352 <parameters>
353 <parameter name="i1" transfer-ownership="none">
354 <type name="gint" c:type="gint"/>
355 </parameter>
356 <parameter name="d" direction="out" transfer-ownership="none" closure="2" scope="notified" destroy="3">
357 <type name="GirTest.DelegateTest" c:type="GirTestDelegateTest"/>
358 </parameter>
359 <parameter name="d_target" direction="out" transfer-ownership="none" allow-none="1">
360 <type name="gpointer" c:type="void*"/>
361 </parameter>
362 <parameter name="d_target_destroy_notify" direction="out" transfer-ownership="none" scope="call">
363 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
364 </parameter>
365 <parameter name="result_length1" direction="out" transfer-ownership="none">
366 <type name="gint" c:type="gint*"/>
367 </parameter>
368 </parameters>
369 </method>
370 <method name="simple_delegate_return" c:identifier="gir_test_object_test_simple_delegate_return">
371 <return-value transfer-ownership="none" scope="call">
372 <type name="GLib.EqualFunc" c:type="GEqualFunc"/>
373 </return-value>
374 <parameters>
375 </parameters>
376 </method>
377 <method name="skipped_method" c:identifier="gir_test_object_test_skipped_method" introspectable="0">
378 <return-value transfer-ownership="full">
379 <type name="none"/>
380 </return-value>
381 </method>
382 <glib:signal name="some-signal">
383 <return-value transfer-ownership="full">
384 <type name="none"/>
385 </return-value>
386 <parameters>
387 <parameter name="param" transfer-ownership="none">
388 <type name="gint" c:type="gint"/>
389 </parameter>
390 </parameters>
391 </glib:signal>
392 <glib:signal name="skipped-signal" introspectable="0">
393 <return-value transfer-ownership="full">
394 <type name="none"/>
395 </return-value>
396 <parameters>
397 <parameter name="param" transfer-ownership="none">
398 <type name="gint" c:type="gint"/>
399 </parameter>
400 </parameters>
401 </glib:signal>
402 </class>
403 <record name="ObjectTestClass" c:type="GirTestObjectTestClass" glib:is-gtype-struct-for="ObjectTest">
404 <field name="parent_class">
405 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
406 </field>
407 <field name="method_with_default_impl">
408 <callback name="method_with_default_impl" c:type="method_with_default_impl">
409 <return-value transfer-ownership="full">
410 <type name="none"/>
411 </return-value>
412 <parameters>
413 <parameter name="self" transfer-ownership="none">
414 <type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
415 </parameter>
416 <parameter name="param" transfer-ownership="none">
417 <type name="gint8" c:type="gint8"/>
418 </parameter>
419 </parameters>
420 </callback>
421 </field>
422 </record>
423 <record name="ObjectTestPrivate" c:type="GirTestObjectTestPrivate" disguised="1"/>
424 <class name="AbstractObjectTest" c:type="GirTestAbstractObjectTest" glib:type-name="GirTestAbstractObjectTest" glib:get-type="gir_test_abstract_object_test_get_type" glib:type-struct="AbstractObjectTestClass" parent="GObject.Object" abstract="1">
425 <field name="parent_instance">
426 <type name="GObject.Object" c:type="GObject"/>
427 </field>
428 <field name="priv">
429 <type name="AbstractObjectTestPrivate" c:type="GirTestAbstractObjectTestPrivate*"/>
430 </field>
431 <method name="method_int8_in" c:identifier="gir_test_abstract_object_test_method_int8_in">
432 <return-value transfer-ownership="full">
433 <type name="none"/>
434 </return-value>
435 <parameters>
436 <parameter name="param" transfer-ownership="none">
437 <type name="gint8" c:type="gint8"/>
438 </parameter>
439 </parameters>
440 </method>
441 <virtual-method name="method_int8_in" invoker="method_int8_in">
442 <return-value transfer-ownership="full">
443 <type name="none"/>
444 </return-value>
445 <parameters>
446 <parameter name="param" transfer-ownership="none">
447 <type name="gint8" c:type="gint8"/>
448 </parameter>
449 </parameters>
450 </virtual-method>
451 <method name="method_int8_inout" c:identifier="gir_test_abstract_object_test_method_int8_inout">
452 <return-value transfer-ownership="full">
453 <type name="none"/>
454 </return-value>
455 <parameters>
456 <parameter name="param" direction="inout" transfer-ownership="full">
457 <type name="gint8" c:type="gint8*"/>
458 </parameter>
459 </parameters>
460 </method>
461 <virtual-method name="method_int8_inout" invoker="method_int8_inout">
462 <return-value transfer-ownership="full">
463 <type name="none"/>
464 </return-value>
465 <parameters>
466 <parameter name="param" direction="inout" transfer-ownership="full">
467 <type name="gint8" c:type="gint8*"/>
468 </parameter>
469 </parameters>
470 </virtual-method>
471 <method name="method_int8_out" c:identifier="gir_test_abstract_object_test_method_int8_out">
472 <return-value transfer-ownership="full">
473 <type name="none"/>
474 </return-value>
475 <parameters>
476 <parameter name="param" direction="out" transfer-ownership="full">
477 <type name="gint8" c:type="gint8*"/>
478 </parameter>
479 </parameters>
480 </method>
481 <virtual-method name="method_int8_out" invoker="method_int8_out">
482 <return-value transfer-ownership="full">
483 <type name="none"/>
484 </return-value>
485 <parameters>
486 <parameter name="param" direction="out" transfer-ownership="full">
487 <type name="gint8" c:type="gint8*"/>
488 </parameter>
489 </parameters>
490 </virtual-method>
491 </class>
492 <record name="AbstractObjectTestClass" c:type="GirTestAbstractObjectTestClass" glib:is-gtype-struct-for="AbstractObjectTest">
493 <field name="parent_class">
494 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
495 </field>
496 <field name="method_int8_in">
497 <callback name="method_int8_in" c:type="method_int8_in">
498 <return-value transfer-ownership="full">
499 <type name="none"/>
500 </return-value>
501 <parameters>
502 <parameter name="self" transfer-ownership="none">
503 <type name="GirTest.AbstractObjectTest" c:type="GirTestAbstractObjectTest*"/>
504 </parameter>
505 <parameter name="param" transfer-ownership="none">
506 <type name="gint8" c:type="gint8"/>
507 </parameter>
508 </parameters>
509 </callback>
510 </field>
511 <field name="method_int8_inout">
512 <callback name="method_int8_inout" c:type="method_int8_inout">
513 <return-value transfer-ownership="full">
514 <type name="none"/>
515 </return-value>
516 <parameters>
517 <parameter name="self" transfer-ownership="none">
518 <type name="GirTest.AbstractObjectTest" c:type="GirTestAbstractObjectTest*"/>
519 </parameter>
520 <parameter name="param" direction="inout" transfer-ownership="full">
521 <type name="gint8" c:type="gint8*"/>
522 </parameter>
523 </parameters>
524 </callback>
525 </field>
526 <field name="method_int8_out">
527 <callback name="method_int8_out" c:type="method_int8_out">
528 <return-value transfer-ownership="full">
529 <type name="none"/>
530 </return-value>
531 <parameters>
532 <parameter name="self" transfer-ownership="none">
533 <type name="GirTest.AbstractObjectTest" c:type="GirTestAbstractObjectTest*"/>
534 </parameter>
535 <parameter name="param" direction="out" transfer-ownership="full">
536 <type name="gint8" c:type="gint8*"/>
537 </parameter>
538 </parameters>
539 </callback>
540 </field>
541 </record>
542 <record name="AbstractObjectTestPrivate" c:type="GirTestAbstractObjectTestPrivate" disguised="1"/>
543 <record name="SkippedClass" introspectable="0">
544 <constructor name="new" c:identifier="gir_test_skippedclass_new">
545 <return-value transfer-ownership="full">
546 <type name="GirTest.SkippedClass" c:type="GirTestSkippedClass*"/>
547 </return-value>
548 </constructor>
549 </record>
550 <interface name="InterfaceTest" c:type="GirTestInterfaceTest" glib:type-name="GirTestInterfaceTest" glib:get-type="gir_test_interface_test_get_type" glib:type-struct="InterfaceTestIface">
551 <method name="int8_in" c:identifier="gir_test_interface_test_int8_in">
552 <return-value transfer-ownership="full">
553 <type name="none"/>
554 </return-value>
555 <parameters>
556 <parameter name="param" transfer-ownership="none">
557 <type name="gint8" c:type="gint8"/>
558 </parameter>
559 </parameters>
560 </method>
561 <virtual-method name="int8_in" invoker="int8_in">
562 <return-value transfer-ownership="full">
563 <type name="none"/>
564 </return-value>
565 <parameters>
566 <parameter name="param" transfer-ownership="none">
567 <type name="gint8" c:type="gint8"/>
568 </parameter>
569 </parameters>
570 </virtual-method>
571 </interface>
572 <record name="InterfaceTestIface" c:type="GirTestInterfaceTestIface" glib:is-gtype-struct-for="InterfaceTest">
573 <field name="parent_iface">
574 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
575 </field>
576 <field name="int8_in">
577 <callback name="int8_in" c:type="int8_in">
578 <return-value transfer-ownership="full">
579 <type name="none"/>
580 </return-value>
581 <parameters>
582 <parameter name="self" transfer-ownership="none">
583 <type name="GirTest.InterfaceTest" c:type="GirTestInterfaceTest*"/>
584 </parameter>
585 <parameter name="param" transfer-ownership="none">
586 <type name="gint8" c:type="gint8"/>
587 </parameter>
588 </parameters>
589 </callback>
590 </field>
591 </record>
592 <interface name="SkippedInterface" c:type="GirTestSkippedInterface" glib:type-name="GirTestSkippedInterface" glib:get-type="gir_test_skipped_interface_get_type" glib:type-struct="SkippedInterfaceIface" introspectable="0">
593 </interface>
594 <record name="SkippedInterfaceIface" c:type="GirTestSkippedInterfaceIface" glib:is-gtype-struct-for="SkippedInterface">
595 <field name="parent_iface">
596 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
597 </field>
598 </record>
599 <record name="BoxedStruct">
600 <field name="field_name">
601 <type name="gint" c:type="gint"/>
602 </field>
603 <function name="init" c:identifier="gir_test_boxed_struct_init">
604 <return-value transfer-ownership="none">
605 <type name="none"/>
606 </return-value>
607 <parameters>
608 <parameter name="result" direction="out" transfer-ownership="full" caller-allocates="1">
609 <type name="GirTest.BoxedStruct" c:type="GirTestBoxedStruct*"/>
610 </parameter>
611 </parameters>
612 </function>
613 <method name="inv" c:identifier="gir_test_boxed_struct_inv">
614 <return-value transfer-ownership="full">
615 <type name="none"/>
616 </return-value>
617 </method>
618 </record>
619 <callback name="DelegateTest" c:type="GirTestDelegateTest">
620 <return-value transfer-ownership="full">
621 <type name="gboolean" c:type="gboolean"/>
622 </return-value>
623 <parameters>
624 <parameter name="a" transfer-ownership="none" allow-none="1">
625 <type name="gpointer" c:type="void*"/>
626 </parameter>
627 <parameter name="b" transfer-ownership="none" allow-none="1">
628 <type name="gpointer" c:type="void*"/>
629 </parameter>
630 <parameter name="user_data" transfer-ownership="none" closure="2">
631 <type name="gpointer" c:type="void*"/>
632 </parameter>
633 </parameters>
634 </callback>
635 <callback name="SkippedDelegate" c:type="GirTestSkippedDelegate" introspectable="0">
636 <return-value transfer-ownership="full">
637 <type name="none"/>
638 </return-value>
639 </callback>
640 <constant name="CONSTANT_NUMBER" c:identifier="GIR_TEST_CONSTANT_NUMBER" value="42">
641 <type name="gint" c:type="gint"/>
642 </constant>
643 <constant name="CONSTANT_STRING" c:identifier="GIR_TEST_CONSTANT_STRING" value="const ♥ utf8">
644 <type name="utf8" c:type="const gchar*"/>
645 </constant>
646 </namespace>
647 </repository>