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"/>
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"/>
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"/>
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"/>
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*"/>
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"/>
36 <type name=
"ObjectTestPrivate" c:
type=
"GirTestObjectTestPrivate*"/>
39 <type name=
"gint" c:
type=
"gint"/>
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*"/>
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*"/>
51 <parameter name=
"param" transfer-ownership=
"none">
52 <type name=
"gint" c:
type=
"gint"/>
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*"/>
61 <parameter name=
"param" transfer-ownership=
"none">
62 <type name=
"gint" c:
type=
"gint"/>
64 <parameter name=
"..." transfer-ownership=
"none">
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*"/>
74 <parameter name=
"param" transfer-ownership=
"none">
75 <type name=
"gint" c:
type=
"gint"/>
77 <parameter name=
"vargs" transfer-ownership=
"none">
78 <type name=
"va_list" c:
type=
"va_list"/>
82 <function name=
"full_inout" c:
identifier=
"gir_test_object_test_full_inout">
83 <return-value transfer-ownership=
"full">
87 <parameter name=
"obj" direction=
"inout" transfer-ownership=
"full">
88 <type name=
"GirTest.ObjectTest" c:
type=
"GirTestObjectTest**"/>
92 <function name=
"full_out" c:
identifier=
"gir_test_object_test_full_out">
93 <return-value transfer-ownership=
"full">
97 <parameter name=
"obj" direction=
"out" transfer-ownership=
"full">
98 <type name=
"GirTest.ObjectTest" c:
type=
"GirTestObjectTest**"/>
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*"/>
107 <function name=
"none_inout" c:
identifier=
"gir_test_object_test_none_inout">
108 <return-value transfer-ownership=
"full">
112 <parameter name=
"obj" direction=
"inout" transfer-ownership=
"none">
113 <type name=
"GirTest.ObjectTest" c:
type=
"GirTestObjectTest**"/>
117 <function name=
"none_out" c:
identifier=
"gir_test_object_test_none_out">
118 <return-value transfer-ownership=
"full">
122 <parameter name=
"obj" direction=
"out" transfer-ownership=
"none">
123 <type name=
"GirTest.ObjectTest" c:
type=
"GirTestObjectTest**"/>
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*"/>
132 <function name=
"static_method" c:
identifier=
"gir_test_object_test_static_method">
133 <return-value transfer-ownership=
"full">
137 <method name=
"method_with_default_impl" c:
identifier=
"gir_test_object_test_method_with_default_impl">
138 <return-value transfer-ownership=
"full">
142 <parameter name=
"param" transfer-ownership=
"none">
143 <type name=
"gint8" c:
type=
"gint8"/>
147 <virtual-method name=
"method_with_default_impl" invoker=
"method_with_default_impl">
148 <return-value transfer-ownership=
"full">
152 <parameter name=
"param" transfer-ownership=
"none">
153 <type name=
"gint8" c:
type=
"gint8"/>
157 <method name=
"int8_in" c:
identifier=
"gir_test_object_test_int8_in">
158 <return-value transfer-ownership=
"full">
162 <parameter name=
"param" transfer-ownership=
"none">
163 <type name=
"gint8" c:
type=
"gint8"/>
167 <method name=
"int8_out" c:
identifier=
"gir_test_object_test_int8_out">
168 <return-value transfer-ownership=
"full">
172 <parameter name=
"param" direction=
"out" transfer-ownership=
"full">
173 <type name=
"gint8" c:
type=
"gint8*"/>
177 <method name=
"method" c:
identifier=
"gir_test_object_test_method">
178 <return-value transfer-ownership=
"full">
182 <method name=
"method_varargs" c:
identifier=
"gir_test_object_test_method_varargs" introspectable=
"0">
183 <return-value transfer-ownership=
"full">
187 <parameter name=
"param" transfer-ownership=
"none">
188 <type name=
"gint" c:
type=
"gint"/>
190 <parameter name=
"..." transfer-ownership=
"none">
195 <method name=
"method_valist" c:
identifier=
"gir_test_object_test_method_valist" introspectable=
"0">
196 <return-value transfer-ownership=
"full">
200 <parameter name=
"param" transfer-ownership=
"none">
201 <type name=
"gint" c:
type=
"gint"/>
203 <parameter name=
"vargs" transfer-ownership=
"none">
204 <type name=
"va_list" c:
type=
"va_list"/>
208 <method name=
"array_in" c:
identifier=
"gir_test_object_test_array_in">
209 <return-value transfer-ownership=
"full">
213 <parameter name=
"array" transfer-ownership=
"none">
215 <type name=
"gint" c:
type=
"gint"/>
218 <parameter name=
"array_length1" transfer-ownership=
"none">
219 <type name=
"gint" c:
type=
"gint"/>
223 <method name=
"array_inout" c:
identifier=
"gir_test_object_test_array_inout">
224 <return-value transfer-ownership=
"full">
228 <parameter name=
"array" direction=
"inout" transfer-ownership=
"full">
230 <type name=
"gint" c:
type=
"gint"/>
233 <parameter name=
"array_length1" direction=
"inout" transfer-ownership=
"none">
234 <type name=
"gint" c:
type=
"gint*"/>
238 <method name=
"array_out" c:
identifier=
"gir_test_object_test_array_out">
239 <return-value transfer-ownership=
"full">
243 <parameter name=
"array" direction=
"out" transfer-ownership=
"full">
245 <type name=
"gint" c:
type=
"gint"/>
248 <parameter name=
"array_length1" direction=
"out" transfer-ownership=
"none">
249 <type name=
"gint" c:
type=
"gint*"/>
253 <method name=
"array_return" c:
identifier=
"gir_test_object_test_array_return">
254 <return-value transfer-ownership=
"full">
256 <type name=
"gint" c:
type=
"gint"/>
260 <parameter name=
"result_length1" direction=
"out" transfer-ownership=
"none">
261 <type name=
"gint" c:
type=
"gint*"/>
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">
270 <parameter name=
"param1" transfer-ownership=
"none">
271 <type name=
"gint" c:
type=
"gint"/>
273 <parameter name=
"param2" transfer-ownership=
"none">
274 <type name=
"gint" c:
type=
"gint"/>
276 <parameter name=
"array" direction=
"out" transfer-ownership=
"full">
278 <type name=
"gint" c:
type=
"gint"/>
281 <parameter name=
"array_length1" direction=
"out" transfer-ownership=
"none">
282 <type name=
"gint" c:
type=
"gint*"/>
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">
289 <type name=
"gint" c:
type=
"gint"/>
293 <parameter name=
"param1" transfer-ownership=
"none">
294 <type name=
"gint" c:
type=
"gint"/>
296 <parameter name=
"param2" transfer-ownership=
"none">
297 <type name=
"gint" c:
type=
"gint"/>
299 <parameter name=
"result_length1" direction=
"out" transfer-ownership=
"none">
300 <type name=
"gint" c:
type=
"gint*"/>
304 <method name=
"none_in" c:
identifier=
"gir_test_object_test_none_in">
305 <return-value transfer-ownership=
"full">
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"/>
314 <parameter name=
"result_target" direction=
"out" transfer-ownership=
"none" allow-none=
"1">
315 <type name=
"gpointer" c:
type=
"void*"/>
317 <parameter name=
"result_target_destroy_notify" direction=
"out" transfer-ownership=
"none" scope=
"call">
318 <type name=
"GLib.DestroyNotify" c:
type=
"GDestroyNotify"/>
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"/>
327 <parameter name=
"i1" transfer-ownership=
"none">
328 <type name=
"gint" c:
type=
"gint"/>
330 <parameter name=
"a" direction=
"out" transfer-ownership=
"full">
332 <type name=
"gint" c:
type=
"gint"/>
335 <parameter name=
"a_length1" direction=
"out" transfer-ownership=
"none">
336 <type name=
"gint" c:
type=
"gint*"/>
338 <parameter name=
"result_target" direction=
"out" transfer-ownership=
"none" allow-none=
"1">
339 <type name=
"gpointer" c:
type=
"void*"/>
341 <parameter name=
"result_target_destroy_notify" direction=
"out" transfer-ownership=
"none" scope=
"call">
342 <type name=
"GLib.DestroyNotify" c:
type=
"GDestroyNotify"/>
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">
349 <type name=
"gint" c:
type=
"gint"/>
353 <parameter name=
"i1" transfer-ownership=
"none">
354 <type name=
"gint" c:
type=
"gint"/>
356 <parameter name=
"d" direction=
"out" transfer-ownership=
"none" closure=
"2" scope=
"notified" destroy=
"3">
357 <type name=
"GirTest.DelegateTest" c:
type=
"GirTestDelegateTest"/>
359 <parameter name=
"d_target" direction=
"out" transfer-ownership=
"none" allow-none=
"1">
360 <type name=
"gpointer" c:
type=
"void*"/>
362 <parameter name=
"d_target_destroy_notify" direction=
"out" transfer-ownership=
"none" scope=
"call">
363 <type name=
"GLib.DestroyNotify" c:
type=
"GDestroyNotify"/>
365 <parameter name=
"result_length1" direction=
"out" transfer-ownership=
"none">
366 <type name=
"gint" c:
type=
"gint*"/>
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"/>
377 <method name=
"skipped_method" c:
identifier=
"gir_test_object_test_skipped_method" introspectable=
"0">
378 <return-value transfer-ownership=
"full">
382 <glib:signal name=
"some-signal">
383 <return-value transfer-ownership=
"full">
387 <parameter name=
"param" transfer-ownership=
"none">
388 <type name=
"gint" c:
type=
"gint"/>
392 <glib:signal name=
"skipped-signal" introspectable=
"0">
393 <return-value transfer-ownership=
"full">
397 <parameter name=
"param" transfer-ownership=
"none">
398 <type name=
"gint" c:
type=
"gint"/>
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"/>
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">
413 <parameter name=
"self" transfer-ownership=
"none">
414 <type name=
"GirTest.ObjectTest" c:
type=
"GirTestObjectTest*"/>
416 <parameter name=
"param" transfer-ownership=
"none">
417 <type name=
"gint8" c:
type=
"gint8"/>
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"/>
429 <type name=
"AbstractObjectTestPrivate" c:
type=
"GirTestAbstractObjectTestPrivate*"/>
431 <method name=
"method_int8_in" c:
identifier=
"gir_test_abstract_object_test_method_int8_in">
432 <return-value transfer-ownership=
"full">
436 <parameter name=
"param" transfer-ownership=
"none">
437 <type name=
"gint8" c:
type=
"gint8"/>
441 <virtual-method name=
"method_int8_in" invoker=
"method_int8_in">
442 <return-value transfer-ownership=
"full">
446 <parameter name=
"param" transfer-ownership=
"none">
447 <type name=
"gint8" c:
type=
"gint8"/>
451 <method name=
"method_int8_inout" c:
identifier=
"gir_test_abstract_object_test_method_int8_inout">
452 <return-value transfer-ownership=
"full">
456 <parameter name=
"param" direction=
"inout" transfer-ownership=
"full">
457 <type name=
"gint8" c:
type=
"gint8*"/>
461 <virtual-method name=
"method_int8_inout" invoker=
"method_int8_inout">
462 <return-value transfer-ownership=
"full">
466 <parameter name=
"param" direction=
"inout" transfer-ownership=
"full">
467 <type name=
"gint8" c:
type=
"gint8*"/>
471 <method name=
"method_int8_out" c:
identifier=
"gir_test_abstract_object_test_method_int8_out">
472 <return-value transfer-ownership=
"full">
476 <parameter name=
"param" direction=
"out" transfer-ownership=
"full">
477 <type name=
"gint8" c:
type=
"gint8*"/>
481 <virtual-method name=
"method_int8_out" invoker=
"method_int8_out">
482 <return-value transfer-ownership=
"full">
486 <parameter name=
"param" direction=
"out" transfer-ownership=
"full">
487 <type name=
"gint8" c:
type=
"gint8*"/>
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"/>
496 <field name=
"method_int8_in">
497 <callback name=
"method_int8_in" c:
type=
"method_int8_in">
498 <return-value transfer-ownership=
"full">
502 <parameter name=
"self" transfer-ownership=
"none">
503 <type name=
"GirTest.AbstractObjectTest" c:
type=
"GirTestAbstractObjectTest*"/>
505 <parameter name=
"param" transfer-ownership=
"none">
506 <type name=
"gint8" c:
type=
"gint8"/>
511 <field name=
"method_int8_inout">
512 <callback name=
"method_int8_inout" c:
type=
"method_int8_inout">
513 <return-value transfer-ownership=
"full">
517 <parameter name=
"self" transfer-ownership=
"none">
518 <type name=
"GirTest.AbstractObjectTest" c:
type=
"GirTestAbstractObjectTest*"/>
520 <parameter name=
"param" direction=
"inout" transfer-ownership=
"full">
521 <type name=
"gint8" c:
type=
"gint8*"/>
526 <field name=
"method_int8_out">
527 <callback name=
"method_int8_out" c:
type=
"method_int8_out">
528 <return-value transfer-ownership=
"full">
532 <parameter name=
"self" transfer-ownership=
"none">
533 <type name=
"GirTest.AbstractObjectTest" c:
type=
"GirTestAbstractObjectTest*"/>
535 <parameter name=
"param" direction=
"out" transfer-ownership=
"full">
536 <type name=
"gint8" c:
type=
"gint8*"/>
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*"/>
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">
556 <parameter name=
"param" transfer-ownership=
"none">
557 <type name=
"gint8" c:
type=
"gint8"/>
561 <virtual-method name=
"int8_in" invoker=
"int8_in">
562 <return-value transfer-ownership=
"full">
566 <parameter name=
"param" transfer-ownership=
"none">
567 <type name=
"gint8" c:
type=
"gint8"/>
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"/>
576 <field name=
"int8_in">
577 <callback name=
"int8_in" c:
type=
"int8_in">
578 <return-value transfer-ownership=
"full">
582 <parameter name=
"self" transfer-ownership=
"none">
583 <type name=
"GirTest.InterfaceTest" c:
type=
"GirTestInterfaceTest*"/>
585 <parameter name=
"param" transfer-ownership=
"none">
586 <type name=
"gint8" c:
type=
"gint8"/>
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">
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"/>
599 <record name=
"BoxedStruct">
600 <field name=
"field_name">
601 <type name=
"gint" c:
type=
"gint"/>
603 <function name=
"init" c:
identifier=
"gir_test_boxed_struct_init">
604 <return-value transfer-ownership=
"none">
608 <parameter name=
"result" direction=
"out" transfer-ownership=
"full" caller-allocates=
"1">
609 <type name=
"GirTest.BoxedStruct" c:
type=
"GirTestBoxedStruct*"/>
613 <method name=
"inv" c:
identifier=
"gir_test_boxed_struct_inv">
614 <return-value transfer-ownership=
"full">
619 <callback name=
"DelegateTest" c:
type=
"GirTestDelegateTest">
620 <return-value transfer-ownership=
"full">
621 <type name=
"gboolean" c:
type=
"gboolean"/>
624 <parameter name=
"a" transfer-ownership=
"none" allow-none=
"1">
625 <type name=
"gpointer" c:
type=
"void*"/>
627 <parameter name=
"b" transfer-ownership=
"none" allow-none=
"1">
628 <type name=
"gpointer" c:
type=
"void*"/>
630 <parameter name=
"user_data" transfer-ownership=
"none" closure=
"2">
631 <type name=
"gpointer" c:
type=
"void*"/>
635 <callback name=
"SkippedDelegate" c:
type=
"GirTestSkippedDelegate" introspectable=
"0">
636 <return-value transfer-ownership=
"full">
640 <constant name=
"CONSTANT_NUMBER" c:
identifier=
"GIR_TEST_CONSTANT_NUMBER" value=
"42">
641 <type name=
"gint" c:
type=
"gint"/>
643 <constant name=
"CONSTANT_STRING" c:
identifier=
"GIR_TEST_CONSTANT_STRING" value=
"const ♥ utf8">
644 <type name=
"utf8" c:
type=
"const gchar*"/>