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="GLib" version="2.0"/>
10 <include name="GObject" version="2.0"/>
11 <include name="Gio" version="2.0"/>
12 <include name="cairo" version="1.0"/>
13 <c:include name="regress.h"/>
14 <namespace name="Regress"
16 shared-library="libregress.so"
17 c:identifier-prefixes="Regress"
18 c:symbol-prefixes="regress">
19 <alias name="AliasedTestBoxed" c:type="RegressAliasedTestBoxed">
20 <doc xml:whitespace="preserve">Typedef TestBoxed to test caller-allocates correctness</doc>
21 <type name="TestBoxed" c:type="RegressTestBoxed"/>
23 <alias name="IntSet" c:type="RegressIntSet" introspectable="0">
24 <doc xml:whitespace="preserve">Compatibility typedef, like telepathy-glib's TpIntSet</doc>
25 <type name="Intset" c:type="RegressIntset"/>
27 <alias name="PtrArrayAlias" c:type="RegressPtrArrayAlias">
28 <doc xml:whitespace="preserve">Typedef'd GPtrArray for some reason</doc>
29 <type name="GLib.PtrArray" c:type="GPtrArray"/>
31 <alias name="VaListAlias" c:type="RegressVaListAlias" introspectable="0">
32 <doc xml:whitespace="preserve">Typedef'd va_list for additional reasons</doc>
33 <type name="va_list" c:type="va_list"/>
35 <constant name="DOUBLE_CONSTANT" value="44.220000">
36 <type name="gdouble" c:type="gdouble"/>
38 <constant name="INT_CONSTANT" value="4422">
39 <type name="gint" c:type="gint"/>
41 <record name="Intset" c:type="RegressIntset" disguised="1">
42 <doc xml:whitespace="preserve">Like telepathy-glib's TpIntset.</doc>
44 <constant name="Mixed_Case_Constant" value="4423">
45 <type name="gint" c:type="gint"/>
47 <constant name="STRING_CONSTANT" value="Some String">
48 <type name="utf8" c:type="gchar*"/>
50 <record name="SkippedStructure"
51 c:type="RegressSkippedStructure"
53 <doc xml:whitespace="preserve">This should be skipped, and moreover, all function which
54 use it should be.</doc>
55 <field name="x" writable="1">
56 <type name="gint" c:type="int"/>
58 <field name="v" writable="1">
59 <type name="gdouble" c:type="double"/>
62 <record name="TestBoxed"
63 c:type="RegressTestBoxed"
64 glib:type-name="RegressTestBoxed"
65 glib:get-type="regress_test_boxed_get_type"
66 c:symbol-prefix="test_boxed">
67 <field name="some_int8" writable="1">
68 <type name="gint8" c:type="gint8"/>
70 <field name="nested_a" writable="1">
71 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA"/>
73 <field name="priv" writable="1">
74 <type name="TestBoxedPrivate" c:type="RegressTestBoxedPrivate*"/>
76 <constructor name="new" c:identifier="regress_test_boxed_new">
77 <return-value transfer-ownership="full">
78 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
81 <constructor name="new_alternative_constructor1"
82 c:identifier="regress_test_boxed_new_alternative_constructor1">
83 <return-value transfer-ownership="full">
84 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
87 <parameter name="i" transfer-ownership="none">
88 <type name="gint" c:type="int"/>
92 <constructor name="new_alternative_constructor2"
93 c:identifier="regress_test_boxed_new_alternative_constructor2">
94 <return-value transfer-ownership="full">
95 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
98 <parameter name="i" transfer-ownership="none">
99 <type name="gint" c:type="int"/>
101 <parameter name="j" transfer-ownership="none">
102 <type name="gint" c:type="int"/>
106 <constructor name="new_alternative_constructor3"
107 c:identifier="regress_test_boxed_new_alternative_constructor3">
108 <return-value transfer-ownership="full">
109 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
112 <parameter name="s" transfer-ownership="none">
113 <type name="utf8" c:type="char*"/>
117 <method name="copy" c:identifier="regress_test_boxed_copy">
118 <return-value transfer-ownership="full">
119 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
122 <method name="equals" c:identifier="regress_test_boxed_equals">
123 <return-value transfer-ownership="none">
124 <type name="gboolean" c:type="gboolean"/>
127 <parameter name="other" transfer-ownership="none">
128 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
133 <record name="TestBoxedPrivate"
134 c:type="RegressTestBoxedPrivate"
137 <callback name="TestCallback" c:type="RegressTestCallback">
138 <return-value transfer-ownership="none">
139 <type name="gint" c:type="int"/>
142 <callback name="TestCallbackFull" c:type="RegressTestCallbackFull">
143 <return-value transfer-ownership="none">
144 <type name="gint" c:type="int"/>
147 <parameter name="foo" transfer-ownership="none">
148 <doc xml:whitespace="preserve">the investment rate</doc>
149 <type name="gint" c:type="int"/>
151 <parameter name="bar" transfer-ownership="none">
152 <doc xml:whitespace="preserve">how much money</doc>
153 <type name="gdouble" c:type="double"/>
155 <parameter name="path" transfer-ownership="none">
156 <doc xml:whitespace="preserve">Path to file</doc>
157 <type name="filename"/>
161 <callback name="TestCallbackUserData" c:type="RegressTestCallbackUserData">
162 <return-value transfer-ownership="none">
163 <type name="gint" c:type="int"/>
166 <parameter name="user_data" transfer-ownership="none" closure="0">
167 <type name="gpointer" c:type="gpointer"/>
171 <enumeration name="TestEnum"
172 glib:type-name="RegressTestEnum"
173 glib:get-type="regress_test_enum_get_type"
174 c:type="RegressTestEnum">
175 <member name="value1"
177 c:identifier="REGRESS_TEST_VALUE1"
179 <member name="value2"
181 c:identifier="REGRESS_TEST_VALUE2"
183 <member name="value3"
185 c:identifier="REGRESS_TEST_VALUE3"
188 <enumeration name="TestEnumUnsigned"
189 glib:type-name="RegressTestEnumUnsigned"
190 glib:get-type="regress_test_enum_unsigned_get_type"
191 c:type="RegressTestEnumUnsigned">
192 <member name="value1"
194 c:identifier="REGRESS_TEST_UNSIGNED_VALUE1"
196 <member name="value2"
198 c:identifier="REGRESS_TEST_UNSIGNED_VALUE2"
201 <bitfield name="TestFlags"
202 glib:type-name="RegressTestFlags"
203 glib:get-type="regress_test_flags_get_type"
204 c:type="RegressTestFlags">
207 c:identifier="TEST_FLAG1"
211 c:identifier="TEST_FLAG2"
215 c:identifier="TEST_FLAG3"
218 <class name="TestFloating"
219 c:symbol-prefix="test_floating"
220 c:type="RegressTestFloating"
221 parent="GObject.InitiallyUnowned"
222 glib:type-name="RegressTestFloating"
223 glib:get-type="regress_test_floating_get_type"
224 glib:type-struct="TestFloatingClass">
225 <constructor name="new" c:identifier="regress_test_floating_new">
226 <return-value transfer-ownership="none">
227 <doc xml:whitespace="preserve">A new floating #RegressTestFloating</doc>
228 <type name="TestFloating" c:type="RegressTestFloating*"/>
231 <field name="parent_instance">
232 <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
235 <record name="TestFloatingClass"
236 c:type="RegressTestFloatingClass"
237 glib:is-gtype-struct-for="TestFloating">
238 <field name="parent_class">
239 <type name="GObject.InitiallyUnownedClass"
240 c:type="GInitiallyUnownedClass"/>
243 <class name="TestFundamentalObject"
244 c:symbol-prefix="test_fundamental_object"
245 c:type="RegressTestFundamentalObject"
247 glib:type-name="RegressTestFundamentalObject"
248 glib:get-type="regress_test_fundamental_object_get_type"
249 glib:type-struct="TestFundamentalObjectClass"
251 glib:ref-func="regress_test_fundamental_object_ref"
252 glib:unref-func="regress_test_fundamental_object_unref"
253 glib:set-value-func="regress_test_value_set_fundamental_object"
254 glib:get-value-func="regress_test_value_get_fundamental_object">
255 <method name="ref" c:identifier="regress_test_fundamental_object_ref">
256 <return-value transfer-ownership="full">
257 <doc xml:whitespace="preserve">A new #RegressTestFundamentalObject</doc>
258 <type name="TestFundamentalObject"
259 c:type="RegressTestFundamentalObject*"/>
263 c:identifier="regress_test_fundamental_object_unref">
264 <return-value transfer-ownership="none">
265 <type name="none" c:type="void"/>
268 <field name="instance">
269 <type name="GObject.TypeInstance" c:type="GTypeInstance"/>
271 <field name="refcount">
272 <type name="gint" c:type="gint"/>
275 <type name="guint" c:type="guint"/>
278 <record name="TestFundamentalObjectClass"
279 c:type="RegressTestFundamentalObjectClass"
280 glib:is-gtype-struct-for="TestFundamentalObject">
281 <field name="type_class">
282 <type name="GObject.TypeClass" c:type="GTypeClass"/>
285 <type name="TestFundamentalObjectCopyFunction"
286 c:type="RegressTestFundamentalObjectCopyFunction"/>
288 <field name="finalize">
289 <type name="TestFundamentalObjectFinalizeFunction"
290 c:type="RegressTestFundamentalObjectFinalizeFunction"/>
293 <callback name="TestFundamentalObjectCopyFunction"
294 c:type="RegressTestFundamentalObjectCopyFunction">
295 <return-value transfer-ownership="full">
296 <type name="TestFundamentalObject"
297 c:type="RegressTestFundamentalObject*"/>
300 <parameter name="obj" transfer-ownership="none">
301 <type name="TestFundamentalObject"
302 c:type="RegressTestFundamentalObject*"/>
306 <callback name="TestFundamentalObjectFinalizeFunction"
307 c:type="RegressTestFundamentalObjectFinalizeFunction">
308 <return-value transfer-ownership="none">
309 <type name="none" c:type="void"/>
312 <parameter name="obj" transfer-ownership="none">
313 <type name="TestFundamentalObject"
314 c:type="RegressTestFundamentalObject*"/>
318 <class name="TestFundamentalSubObject"
319 c:symbol-prefix="test_fundamental_sub_object"
320 c:type="RegressTestFundamentalSubObject"
321 parent="TestFundamentalObject"
322 glib:type-name="RegressTestFundamentalSubObject"
323 glib:get-type="regress_test_fundamental_sub_object_get_type"
324 glib:type-struct="TestFundamentalSubObjectClass"
325 glib:fundamental="1">
326 <constructor name="new"
327 c:identifier="regress_test_fundamental_sub_object_new">
328 <return-value transfer-ownership="full">
329 <type name="TestFundamentalSubObject"
330 c:type="RegressTestFundamentalSubObject*"/>
333 <parameter name="data" transfer-ownership="none">
334 <type name="utf8" c:type="char*"/>
338 <field name="fundamental_object">
339 <type name="TestFundamentalObject"
340 c:type="RegressTestFundamentalObject"/>
343 <type name="utf8" c:type="char*"/>
346 <record name="TestFundamentalSubObjectClass"
347 c:type="RegressTestFundamentalSubObjectClass"
348 glib:is-gtype-struct-for="TestFundamentalSubObject">
349 <field name="fundamental_object_class">
350 <type name="TestFundamentalObjectClass"
351 c:type="RegressTestFundamentalObjectClass"/>
354 <interface name="TestInterface"
355 c:symbol-prefix="test_interface"
356 c:type="RegressTestInterface"
357 glib:type-name="RegressTestInterface"
358 glib:get-type="regress_test_interface_get_type"
359 glib:type-struct="TestInterfaceIface">
361 <record name="TestInterfaceIface"
362 c:type="RegressTestInterfaceIface"
363 glib:is-gtype-struct-for="TestInterface">
364 <field name="base_iface">
365 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
368 <class name="TestObj"
369 c:symbol-prefix="test_obj"
370 c:type="RegressTestObj"
371 parent="GObject.Object"
372 glib:type-name="RegressTestObj"
373 glib:get-type="regress_test_obj_get_type"
374 glib:type-struct="TestObjClass">
375 <constructor name="new_callback"
376 c:identifier="regress_test_obj_new_callback">
377 <return-value transfer-ownership="full">
378 <type name="TestObj" c:type="RegressTestObj*"/>
381 <parameter name="callback"
382 transfer-ownership="none"
386 <type name="TestCallbackUserData"
387 c:type="RegressTestCallbackUserData"/>
389 <parameter name="user_data" transfer-ownership="none">
390 <type name="gpointer" c:type="gpointer"/>
392 <parameter name="notify" transfer-ownership="none" scope="async">
393 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
397 <constructor name="new_from_file"
398 c:identifier="regress_test_obj_new_from_file"
400 <return-value transfer-ownership="full">
401 <type name="TestObj" c:type="RegressTestObj*"/>
404 <parameter name="x" transfer-ownership="none">
405 <type name="utf8" c:type="char*"/>
409 <function name="null_out" c:identifier="regress_test_obj_null_out">
410 <return-value transfer-ownership="none">
411 <type name="none" c:type="void"/>
414 <parameter name="obj"
417 transfer-ownership="full"
419 <doc xml:whitespace="preserve">A #RegressTestObj</doc>
420 <type name="TestObj" c:type="RegressTestObj**"/>
424 <function name="static_method"
425 c:identifier="regress_test_obj_static_method">
426 <return-value transfer-ownership="none">
427 <type name="gdouble" c:type="double"/>
430 <parameter name="x" transfer-ownership="none">
431 <type name="gint" c:type="int"/>
435 <function name="static_method_callback"
436 c:identifier="regress_test_obj_static_method_callback">
437 <return-value transfer-ownership="none">
438 <type name="none" c:type="void"/>
441 <parameter name="callback"
442 transfer-ownership="none"
445 <type name="TestCallback" c:type="RegressTestCallback"/>
449 <virtual-method name="matrix" invoker="do_matrix">
450 <doc xml:whitespace="preserve">This method is virtual. Notably its name differs from the virtual
451 slot name, which makes it useful for testing bindings handle this
453 <return-value transfer-ownership="none">
454 <type name="gint" c:type="int"/>
457 <parameter name="somestr" transfer-ownership="none">
458 <doc xml:whitespace="preserve">Meaningless string</doc>
459 <type name="utf8" c:type="char*"/>
463 <method name="do_matrix" c:identifier="regress_test_obj_do_matrix">
464 <doc xml:whitespace="preserve">This method is virtual. Notably its name differs from the virtual
465 slot name, which makes it useful for testing bindings handle this
467 <return-value transfer-ownership="none">
468 <type name="gint" c:type="int"/>
471 <parameter name="somestr" transfer-ownership="none">
472 <doc xml:whitespace="preserve">Meaningless string</doc>
473 <type name="utf8" c:type="char*"/>
477 <method name="instance_method"
478 c:identifier="regress_test_obj_instance_method">
479 <return-value transfer-ownership="none">
480 <type name="gint" c:type="int"/>
483 <method name="instance_method_callback"
484 c:identifier="regress_test_obj_instance_method_callback">
485 <return-value transfer-ownership="none">
486 <type name="none" c:type="void"/>
489 <parameter name="callback"
490 transfer-ownership="none"
493 <type name="TestCallback" c:type="RegressTestCallback"/>
497 <method name="set_bare" c:identifier="regress_test_obj_set_bare">
498 <return-value transfer-ownership="none">
499 <type name="none" c:type="void"/>
502 <parameter name="bare" transfer-ownership="none" allow-none="1">
503 <type name="GObject.Object" c:type="GObject*"/>
507 <method name="torture_signature_0"
508 c:identifier="regress_test_obj_torture_signature_0">
509 <return-value transfer-ownership="none">
510 <type name="none" c:type="void"/>
513 <parameter name="x" transfer-ownership="none">
514 <type name="gint" c:type="int"/>
519 transfer-ownership="full">
520 <type name="gdouble" c:type="double*"/>
525 transfer-ownership="full">
526 <type name="gint" c:type="int*"/>
528 <parameter name="foo" transfer-ownership="none">
529 <type name="utf8" c:type="char*"/>
534 transfer-ownership="full">
535 <type name="gint" c:type="int*"/>
537 <parameter name="m" transfer-ownership="none">
538 <type name="guint" c:type="guint"/>
542 <method name="torture_signature_1"
543 c:identifier="regress_test_obj_torture_signature_1"
545 <doc xml:whitespace="preserve">This function throws an error if m is odd.</doc>
546 <return-value transfer-ownership="none">
547 <type name="gboolean" c:type="gboolean"/>
550 <parameter name="x" transfer-ownership="none">
551 <type name="gint" c:type="int"/>
556 transfer-ownership="full">
557 <type name="gdouble" c:type="double*"/>
562 transfer-ownership="full">
563 <type name="gint" c:type="int*"/>
565 <parameter name="foo" transfer-ownership="none">
566 <type name="utf8" c:type="char*"/>
571 transfer-ownership="full">
572 <type name="gint" c:type="int*"/>
574 <parameter name="m" transfer-ownership="none">
575 <type name="guint" c:type="guint"/>
579 <property name="bare" writable="1" transfer-ownership="none">
580 <type name="GObject.Object"/>
582 <property name="boxed" writable="1" transfer-ownership="none">
583 <type name="TestBoxed"/>
585 <property name="double" writable="1" transfer-ownership="none">
586 <type name="gdouble"/>
588 <property name="float" writable="1" transfer-ownership="none">
589 <type name="gfloat"/>
591 <property name="hash-table" writable="1" transfer-ownership="container">
592 <type name="GLib.HashTable">
597 <property name="int" writable="1" transfer-ownership="none">
600 <property name="list" writable="1" transfer-ownership="none">
601 <type name="GLib.List">
605 <property name="string" writable="1" transfer-ownership="none">
608 <field name="parent_instance">
609 <type name="GObject.Object" c:type="GObject"/>
612 <type name="GObject.Object" c:type="GObject*"/>
615 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
617 <field name="hash_table">
618 <type name="GLib.HashTable" c:type="GHashTable*">
619 <type name="gpointer" c:type="gpointer"/>
620 <type name="gpointer" c:type="gpointer"/>
624 <type name="GLib.List" c:type="GList*">
625 <type name="gpointer" c:type="gpointer"/>
628 <field name="some_int8">
629 <type name="gint8" c:type="gint8"/>
631 <field name="some_float">
632 <type name="gfloat" c:type="float"/>
634 <field name="some_double">
635 <type name="gdouble" c:type="double"/>
637 <field name="string">
638 <type name="utf8" c:type="char*"/>
640 <glib:signal name="sig-with-array-prop">
641 <doc xml:whitespace="preserve">This test signal is like TelepathyGlib's</doc>
642 <return-value transfer-ownership="none">
646 <parameter name="arr" transfer-ownership="none">
647 <doc xml:whitespace="preserve">numbers</doc>
648 <array name="GLib.Array">
654 <glib:signal name="sig-with-hash-prop">
655 <doc xml:whitespace="preserve">This test signal is like TelepathyGlib's
656 TpAccount::status-changed</doc>
657 <return-value transfer-ownership="none">
661 <parameter name="hash" transfer-ownership="none">
662 <type name="GLib.HashTable">
664 <type name="GObject.Value"/>
669 <glib:signal name="sig-with-strv">
670 <doc xml:whitespace="preserve">Test GStrv as a param.</doc>
671 <return-value transfer-ownership="none">
675 <parameter name="strs" transfer-ownership="none">
676 <doc xml:whitespace="preserve">strings</doc>
683 <glib:signal name="test">
684 <return-value transfer-ownership="none">
688 <glib:signal name="test-with-static-scope-arg">
689 <return-value transfer-ownership="none">
693 <parameter name="object" transfer-ownership="none">
694 <type name="TestSimpleBoxedA"/>
699 <record name="TestObjClass"
700 c:type="RegressTestObjClass"
701 glib:is-gtype-struct-for="TestObj">
702 <field name="parent_class">
703 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
705 <field name="matrix">
706 <callback name="matrix">
707 <return-value transfer-ownership="none">
708 <type name="gint" c:type="int"/>
711 <parameter name="obj" transfer-ownership="none">
712 <type name="TestObj" c:type="RegressTestObj*"/>
714 <parameter name="somestr" transfer-ownership="none">
715 <doc xml:whitespace="preserve">Meaningless string</doc>
716 <type name="utf8" c:type="char*"/>
721 <field name="test_signal">
722 <type name="guint" c:type="guint"/>
724 <field name="test_signal_with_static_scope_arg">
725 <type name="guint" c:type="guint"/>
727 <field name="_regress_reserved1" introspectable="0">
728 <callback name="_regress_reserved1">
729 <return-value transfer-ownership="none">
730 <type name="none" c:type="void"/>
734 <field name="_regress_reserved2" introspectable="0">
735 <callback name="_regress_reserved2">
736 <return-value transfer-ownership="none">
737 <type name="none" c:type="void"/>
742 <bitfield name="TestPrivateEnum" c:type="RegressTestPrivateEnum">
743 <member name="public_enum_before"
745 c:identifier="REGRESS_TEST_PUBLIC_ENUM_BEFORE"/>
746 <member name="public_enum_after"
748 c:identifier="REGRESS_TEST_PUBLIC_ENUM_AFTER"/>
750 <record name="TestPrivateStruct" c:type="RegressTestPrivateStruct">
751 <field name="this_is_public_before" writable="1">
752 <type name="gint" c:type="gint"/>
754 <field name="this_is_private" readable="0" private="1">
755 <type name="gint" c:type="gint"/>
757 <field name="this_is_public_after" writable="1">
758 <type name="gint" c:type="gint"/>
761 <record name="TestSimpleBoxedA"
762 c:type="RegressTestSimpleBoxedA"
763 glib:type-name="RegressTestSimpleBoxedA"
764 glib:get-type="regress_test_simple_boxed_a_get_type"
765 c:symbol-prefix="test_simple_boxed_a">
766 <field name="some_int" writable="1">
767 <type name="gint" c:type="gint"/>
769 <field name="some_int8" writable="1">
770 <type name="gint8" c:type="gint8"/>
772 <field name="some_double" writable="1">
773 <type name="gdouble" c:type="gdouble"/>
775 <field name="some_enum" writable="1">
776 <type name="TestEnum" c:type="RegressTestEnum"/>
778 <method name="copy" c:identifier="regress_test_simple_boxed_a_copy">
779 <return-value transfer-ownership="full">
780 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
783 <method name="equals" c:identifier="regress_test_simple_boxed_a_equals">
784 <return-value transfer-ownership="none">
785 <type name="gboolean" c:type="gboolean"/>
788 <parameter name="other_a" transfer-ownership="none">
789 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
794 <record name="TestSimpleBoxedB"
795 c:type="RegressTestSimpleBoxedB"
796 glib:type-name="RegressTestSimpleBoxedB"
797 glib:get-type="regress_test_simple_boxed_b_get_type"
798 c:symbol-prefix="test_simple_boxed_b">
799 <field name="some_int8" writable="1">
800 <type name="gint8" c:type="gint8"/>
802 <field name="nested_a" writable="1">
803 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA"/>
805 <method name="copy" c:identifier="regress_test_simple_boxed_b_copy">
806 <return-value transfer-ownership="full">
807 <type name="TestSimpleBoxedB" c:type="RegressTestSimpleBoxedB*"/>
811 <callback name="TestSimpleCallback" c:type="RegressTestSimpleCallback">
812 <return-value transfer-ownership="none">
813 <type name="none" c:type="void"/>
816 <record name="TestStructA" c:type="RegressTestStructA">
817 <field name="some_int" writable="1">
818 <type name="gint" c:type="gint"/>
820 <field name="some_int8" writable="1">
821 <type name="gint8" c:type="gint8"/>
823 <field name="some_double" writable="1">
824 <type name="gdouble" c:type="gdouble"/>
826 <field name="some_enum" writable="1">
827 <type name="TestEnum" c:type="RegressTestEnum"/>
829 <method name="clone" c:identifier="regress_test_struct_a_clone">
830 <doc xml:whitespace="preserve">Make a copy of a RegressTestStructA</doc>
831 <return-value transfer-ownership="none">
832 <type name="none" c:type="void"/>
835 <parameter name="a_out"
838 transfer-ownership="none">
839 <doc xml:whitespace="preserve">the cloned structure</doc>
840 <type name="TestStructA" c:type="RegressTestStructA*"/>
845 <record name="TestStructB" c:type="RegressTestStructB">
846 <field name="some_int8" writable="1">
847 <type name="gint8" c:type="gint8"/>
849 <field name="nested_a" writable="1">
850 <type name="TestStructA" c:type="RegressTestStructA"/>
852 <method name="clone" c:identifier="regress_test_struct_b_clone">
853 <doc xml:whitespace="preserve">Make a copy of a RegressTestStructB</doc>
854 <return-value transfer-ownership="none">
855 <type name="none" c:type="void"/>
858 <parameter name="b_out"
861 transfer-ownership="none">
862 <doc xml:whitespace="preserve">the cloned structure</doc>
863 <type name="TestStructB" c:type="RegressTestStructB*"/>
868 <class name="TestSubObj"
869 c:symbol-prefix="test_sub_obj"
870 c:type="RegressTestSubObj"
872 glib:type-name="RegressTestSubObj"
873 glib:get-type="regress_test_sub_obj_get_type"
874 glib:type-struct="TestSubObjClass">
875 <constructor name="new" c:identifier="regress_test_sub_obj_new">
876 <return-value transfer-ownership="full">
877 <type name="TestObj" c:type="RegressTestObj*"/>
880 <method name="instance_method"
881 c:identifier="regress_test_sub_obj_instance_method">
882 <return-value transfer-ownership="none">
883 <type name="gint" c:type="int"/>
886 <method name="unset_bare" c:identifier="regress_test_sub_obj_unset_bare">
887 <return-value transfer-ownership="none">
888 <type name="none" c:type="void"/>
891 <field name="parent_instance">
892 <type name="TestObj" c:type="RegressTestObj"/>
895 <record name="TestSubObjClass"
896 c:type="RegressTestSubObjClass"
897 glib:is-gtype-struct-for="TestSubObj">
898 <field name="parent_class">
899 <type name="TestObjClass" c:type="RegressTestObjClass"/>
902 <class name="TestWi8021x"
903 c:symbol-prefix="test_wi_802_1x"
904 c:type="RegressTestWi8021x"
905 parent="GObject.Object"
906 glib:type-name="RegressTestWi8021x"
907 glib:get-type="regress_test_wi_802_1x_get_type"
908 glib:type-struct="TestWi8021xClass">
909 <constructor name="new" c:identifier="regress_test_wi_802_1x_new">
910 <return-value transfer-ownership="full">
911 <type name="TestWi8021x" c:type="RegressTestWi8021x*"/>
914 <function name="static_method"
915 c:identifier="regress_test_wi_802_1x_static_method">
916 <return-value transfer-ownership="none">
917 <type name="gint" c:type="int"/>
920 <parameter name="x" transfer-ownership="none">
921 <type name="gint" c:type="int"/>
925 <method name="get_testbool"
926 c:identifier="regress_test_wi_802_1x_get_testbool">
927 <return-value transfer-ownership="none">
928 <type name="gboolean" c:type="gboolean"/>
931 <method name="set_testbool"
932 c:identifier="regress_test_wi_802_1x_set_testbool">
933 <return-value transfer-ownership="none">
934 <type name="none" c:type="void"/>
937 <parameter name="v" transfer-ownership="none">
938 <type name="gboolean" c:type="gboolean"/>
942 <property name="testbool" writable="1" transfer-ownership="none">
943 <type name="gboolean"/>
945 <field name="parent_instance">
946 <type name="GObject.Object" c:type="GObject"/>
948 <field name="testbool">
949 <type name="gboolean" c:type="gboolean"/>
952 <record name="TestWi8021xClass"
953 c:type="RegressTestWi8021xClass"
954 glib:is-gtype-struct-for="TestWi8021x">
955 <field name="parent_class">
956 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
959 <constant name="UTF8_CONSTANT" value="const ♥ utf8">
960 <type name="utf8" c:type="gchar*"/>
962 <record name="_TestStructC" c:type="_RegressTestStructC">
963 <field name="another_int" writable="1">
964 <type name="gint" c:type="gint"/>
966 <field name="obj" writable="1">
967 <type name="GObject.Object" c:type="GObject*"/>
970 <function name="aliased_caller_alloc"
971 c:identifier="regress_aliased_caller_alloc">
972 <return-value transfer-ownership="none">
973 <type name="none" c:type="void"/>
976 <parameter name="boxed"
979 transfer-ownership="none">
980 <type name="AliasedTestBoxed" c:type="RegressAliasedTestBoxed*"/>
984 <function name="func_obj_null_in" c:identifier="regress_func_obj_null_in">
985 <return-value transfer-ownership="none">
986 <type name="none" c:type="void"/>
989 <parameter name="obj" transfer-ownership="none" allow-none="1">
990 <doc xml:whitespace="preserve">A #RegressTestObj</doc>
991 <type name="TestObj" c:type="RegressTestObj*"/>
995 <function name="global_get_flags_out"
996 c:identifier="regress_global_get_flags_out">
997 <return-value transfer-ownership="none">
998 <type name="none" c:type="void"/>
1003 caller-allocates="0"
1004 transfer-ownership="full">
1005 <doc xml:whitespace="preserve">A flags value</doc>
1006 <type name="TestFlags" c:type="RegressTestFlags*"/>
1010 <function name="introspectable_via_alias"
1011 c:identifier="regress_introspectable_via_alias">
1012 <return-value transfer-ownership="none">
1013 <type name="none" c:type="void"/>
1016 <parameter name="data" transfer-ownership="none">
1017 <type name="PtrArrayAlias" c:type="RegressPtrArrayAlias*"/>
1021 <function name="not_introspectable_via_alias"
1022 c:identifier="regress_not_introspectable_via_alias"
1024 <return-value transfer-ownership="none">
1025 <type name="none" c:type="void"/>
1028 <parameter name="ok" transfer-ownership="none">
1029 <type name="VaListAlias" c:type="RegressVaListAlias"/>
1033 <function name="random_function_with_skipped_structure"
1034 c:identifier="regress_random_function_with_skipped_structure"
1036 <return-value transfer-ownership="none">
1037 <type name="none" c:type="void"/>
1040 <parameter name="x" transfer-ownership="none">
1041 <type name="gint" c:type="int"/>
1043 <parameter name="foo" transfer-ownership="none">
1044 <type name="SkippedStructure" c:type="RegressSkippedStructure*"/>
1046 <parameter name="v" transfer-ownership="none">
1047 <type name="gdouble" c:type="double"/>
1051 <function name="set_abort_on_error"
1052 c:identifier="regress_set_abort_on_error">
1053 <return-value transfer-ownership="none">
1054 <type name="none" c:type="void"/>
1057 <parameter name="abort_on_error" transfer-ownership="none">
1058 <type name="gboolean" c:type="gboolean"/>
1062 <function name="test_array_fixed_size_int_in"
1063 c:identifier="regress_test_array_fixed_size_int_in">
1064 <return-value transfer-ownership="none">
1065 <doc xml:whitespace="preserve">the sum of the items in @ints</doc>
1066 <type name="gint" c:type="int"/>
1069 <parameter name="ints" transfer-ownership="none">
1070 <doc xml:whitespace="preserve">a list of 5 integers</doc>
1071 <array c:type="int*" fixed-size="5">
1077 <function name="test_array_fixed_size_int_out"
1078 c:identifier="regress_test_array_fixed_size_int_out">
1079 <return-value transfer-ownership="none">
1080 <type name="none" c:type="void"/>
1083 <parameter name="ints"
1085 caller-allocates="0"
1086 transfer-ownership="full">
1087 <doc xml:whitespace="preserve">a list of 5 integers ranging from 0 to 4</doc>
1088 <array c:type="int**" fixed-size="5">
1094 <function name="test_array_fixed_size_int_return"
1095 c:identifier="regress_test_array_fixed_size_int_return">
1096 <return-value transfer-ownership="full">
1097 <doc xml:whitespace="preserve">a list of 5 integers ranging from 0 to 4</doc>
1098 <array c:type="int*" fixed-size="5">
1103 <function name="test_array_gint16_in"
1104 c:identifier="regress_test_array_gint16_in">
1105 <return-value transfer-ownership="none">
1106 <type name="gint" c:type="int"/>
1109 <parameter name="n_ints" transfer-ownership="none">
1110 <type name="gint" c:type="int"/>
1112 <parameter name="ints" transfer-ownership="none">
1113 <doc xml:whitespace="preserve">List of ints</doc>
1114 <array length="0" c:type="gint16*">
1115 <type name="gint16"/>
1120 <function name="test_array_gint32_in"
1121 c:identifier="regress_test_array_gint32_in">
1122 <return-value transfer-ownership="none">
1123 <type name="gint32" c:type="gint32"/>
1126 <parameter name="n_ints" transfer-ownership="none">
1127 <type name="gint" c:type="int"/>
1129 <parameter name="ints" transfer-ownership="none">
1130 <doc xml:whitespace="preserve">List of ints</doc>
1131 <array length="0" c:type="gint32*">
1132 <type name="gint32"/>
1137 <function name="test_array_gint64_in"
1138 c:identifier="regress_test_array_gint64_in">
1139 <return-value transfer-ownership="none">
1140 <type name="gint64" c:type="gint64"/>
1143 <parameter name="n_ints" transfer-ownership="none">
1144 <type name="gint" c:type="int"/>
1146 <parameter name="ints" transfer-ownership="none">
1147 <doc xml:whitespace="preserve">List of ints</doc>
1148 <array length="0" c:type="gint64*">
1149 <type name="gint64"/>
1154 <function name="test_array_gint8_in"
1155 c:identifier="regress_test_array_gint8_in">
1156 <return-value transfer-ownership="none">
1157 <type name="gint" c:type="int"/>
1160 <parameter name="n_ints" transfer-ownership="none">
1161 <type name="gint" c:type="int"/>
1163 <parameter name="ints" transfer-ownership="none">
1164 <doc xml:whitespace="preserve">List of ints</doc>
1165 <array length="0" c:type="gint8*">
1166 <type name="gint8"/>
1171 <function name="test_array_gtype_in"
1172 c:identifier="regress_test_array_gtype_in">
1173 <return-value transfer-ownership="full">
1174 <doc xml:whitespace="preserve">string representation of provided types</doc>
1175 <type name="utf8" c:type="char*"/>
1178 <parameter name="n_types" transfer-ownership="none">
1179 <type name="gint" c:type="int"/>
1181 <parameter name="types" transfer-ownership="none">
1182 <doc xml:whitespace="preserve">List of types</doc>
1183 <array length="0" c:type="GType*">
1184 <type name="GType"/>
1189 <function name="test_array_int_full_out"
1190 c:identifier="regress_test_array_int_full_out">
1191 <return-value transfer-ownership="full">
1192 <doc xml:whitespace="preserve">a new array of integers.</doc>
1193 <array length="0" c:type="int*">
1198 <parameter name="len"
1200 caller-allocates="0"
1201 transfer-ownership="full">
1202 <doc xml:whitespace="preserve">length of the returned array.</doc>
1203 <type name="gint" c:type="int*"/>
1207 <function name="test_array_int_in"
1208 c:identifier="regress_test_array_int_in">
1209 <return-value transfer-ownership="none">
1210 <type name="gint" c:type="int"/>
1213 <parameter name="n_ints" transfer-ownership="none">
1214 <type name="gint" c:type="int"/>
1216 <parameter name="ints" transfer-ownership="none">
1217 <doc xml:whitespace="preserve">List of ints</doc>
1218 <array length="0" c:type="int*">
1224 <function name="test_array_int_inout"
1225 c:identifier="regress_test_array_int_inout">
1226 <return-value transfer-ownership="none">
1227 <type name="none" c:type="void"/>
1230 <parameter name="n_ints"
1232 caller-allocates="0"
1233 transfer-ownership="full">
1234 <doc xml:whitespace="preserve">the length of @ints</doc>
1235 <type name="gint" c:type="int*"/>
1237 <parameter name="ints"
1239 caller-allocates="0"
1240 transfer-ownership="full">
1241 <doc xml:whitespace="preserve">a list of integers whose items will be increased by 1, except the first that will be dropped</doc>
1242 <array length="0" c:type="int**">
1248 <function name="test_array_int_none_out"
1249 c:identifier="regress_test_array_int_none_out">
1250 <return-value transfer-ownership="none">
1251 <doc xml:whitespace="preserve">a static array of integers.</doc>
1252 <array length="0" c:type="int*">
1257 <parameter name="len"
1259 caller-allocates="0"
1260 transfer-ownership="full">
1261 <doc xml:whitespace="preserve">length of the returned array.</doc>
1262 <type name="gint" c:type="int*"/>
1266 <function name="test_array_int_null_in"
1267 c:identifier="regress_test_array_int_null_in">
1268 <return-value transfer-ownership="none">
1269 <type name="none" c:type="void"/>
1272 <parameter name="arr" transfer-ownership="none" allow-none="1">
1273 <array length="1" c:type="int*">
1277 <parameter name="len" transfer-ownership="none">
1278 <doc xml:whitespace="preserve">length</doc>
1279 <type name="gint" c:type="int"/>
1283 <function name="test_array_int_null_out"
1284 c:identifier="regress_test_array_int_null_out">
1285 <return-value transfer-ownership="none">
1286 <type name="none" c:type="void"/>
1289 <parameter name="arr"
1291 caller-allocates="0"
1292 transfer-ownership="full"
1294 <array length="1" c:type="int**">
1298 <parameter name="len"
1300 caller-allocates="0"
1301 transfer-ownership="full">
1302 <doc xml:whitespace="preserve">length</doc>
1303 <type name="gint" c:type="int*"/>
1307 <function name="test_array_int_out"
1308 c:identifier="regress_test_array_int_out">
1309 <return-value transfer-ownership="none">
1310 <type name="none" c:type="void"/>
1313 <parameter name="n_ints"
1315 caller-allocates="0"
1316 transfer-ownership="full">
1317 <doc xml:whitespace="preserve">the length of @ints</doc>
1318 <type name="gint" c:type="int*"/>
1320 <parameter name="ints"
1322 caller-allocates="0"
1323 transfer-ownership="full">
1324 <doc xml:whitespace="preserve">a list of 5 integers, from 0 to 4 in consecutive order</doc>
1325 <array length="0" c:type="int**">
1331 <function name="test_async_ready_callback"
1332 c:identifier="regress_test_async_ready_callback">
1333 <return-value transfer-ownership="none">
1334 <type name="none" c:type="void"/>
1337 <parameter name="callback" transfer-ownership="none" scope="async">
1338 <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
1342 <function name="test_boolean" c:identifier="regress_test_boolean">
1343 <return-value transfer-ownership="none">
1344 <type name="gboolean" c:type="gboolean"/>
1347 <parameter name="in" transfer-ownership="none">
1348 <type name="gboolean" c:type="gboolean"/>
1352 <function name="test_boolean_false"
1353 c:identifier="regress_test_boolean_false">
1354 <return-value transfer-ownership="none">
1355 <type name="gboolean" c:type="gboolean"/>
1358 <parameter name="in" transfer-ownership="none">
1359 <type name="gboolean" c:type="gboolean"/>
1363 <function name="test_boolean_true"
1364 c:identifier="regress_test_boolean_true">
1365 <return-value transfer-ownership="none">
1366 <type name="gboolean" c:type="gboolean"/>
1369 <parameter name="in" transfer-ownership="none">
1370 <type name="gboolean" c:type="gboolean"/>
1374 <function name="test_cairo_context_full_return"
1375 c:identifier="regress_test_cairo_context_full_return">
1376 <return-value transfer-ownership="full">
1377 <type name="cairo.Context" c:type="cairo_t*"/>
1380 <function name="test_cairo_context_none_in"
1381 c:identifier="regress_test_cairo_context_none_in">
1382 <return-value transfer-ownership="none">
1383 <type name="none" c:type="void"/>
1386 <parameter name="context" transfer-ownership="none">
1387 <type name="cairo.Context" c:type="cairo_t*"/>
1391 <function name="test_cairo_surface_full_out"
1392 c:identifier="regress_test_cairo_surface_full_out">
1393 <return-value transfer-ownership="none">
1394 <type name="none" c:type="void"/>
1397 <parameter name="surface"
1399 caller-allocates="0"
1400 transfer-ownership="full">
1401 <type name="cairo.Surface" c:type="cairo_surface_t**"/>
1405 <function name="test_cairo_surface_full_return"
1406 c:identifier="regress_test_cairo_surface_full_return">
1407 <return-value transfer-ownership="full">
1408 <type name="cairo.Surface" c:type="cairo_surface_t*"/>
1411 <function name="test_cairo_surface_none_in"
1412 c:identifier="regress_test_cairo_surface_none_in">
1413 <return-value transfer-ownership="none">
1414 <type name="none" c:type="void"/>
1417 <parameter name="surface" transfer-ownership="none">
1418 <type name="cairo.Surface" c:type="cairo_surface_t*"/>
1422 <function name="test_cairo_surface_none_return"
1423 c:identifier="regress_test_cairo_surface_none_return">
1424 <return-value transfer-ownership="none">
1425 <type name="cairo.Surface" c:type="cairo_surface_t*"/>
1428 <function name="test_callback" c:identifier="regress_test_callback">
1429 <return-value transfer-ownership="none">
1430 <type name="gint" c:type="int"/>
1433 <parameter name="callback"
1434 transfer-ownership="none"
1437 <type name="TestCallback" c:type="RegressTestCallback"/>
1441 <function name="test_callback_async"
1442 c:identifier="regress_test_callback_async">
1443 <return-value transfer-ownership="none">
1444 <type name="none" c:type="void"/>
1447 <parameter name="callback"
1448 transfer-ownership="none"
1451 <type name="TestCallbackUserData"
1452 c:type="RegressTestCallbackUserData"/>
1454 <parameter name="user_data" transfer-ownership="none">
1455 <type name="gpointer" c:type="gpointer"/>
1459 <function name="test_callback_destroy_notify"
1460 c:identifier="regress_test_callback_destroy_notify">
1461 <doc xml:whitespace="preserve">Notified - callback persists until a DestroyNotify delegate
1463 <return-value transfer-ownership="none">
1464 <type name="gint" c:type="int"/>
1467 <parameter name="callback"
1468 transfer-ownership="none"
1472 <type name="TestCallbackUserData"
1473 c:type="RegressTestCallbackUserData"/>
1475 <parameter name="user_data" transfer-ownership="none">
1476 <type name="gpointer" c:type="gpointer"/>
1478 <parameter name="notify" transfer-ownership="none" scope="async">
1479 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
1483 <function name="test_callback_thaw_async"
1484 c:identifier="regress_test_callback_thaw_async">
1485 <return-value transfer-ownership="none">
1486 <type name="gint" c:type="int"/>
1489 <function name="test_callback_thaw_notifications"
1490 c:identifier="regress_test_callback_thaw_notifications">
1491 <doc xml:whitespace="preserve">Invokes all callbacks installed by #test_callback_destroy_notify(),
1492 adding up their return values, and removes them, invoking the
1493 corresponding destroy notfications.</doc>
1494 <return-value transfer-ownership="none">
1495 <doc xml:whitespace="preserve">Sum of the return values of the invoked callbacks.</doc>
1496 <type name="gint" c:type="int"/>
1499 <function name="test_callback_user_data"
1500 c:identifier="regress_test_callback_user_data">
1501 <doc xml:whitespace="preserve">Call - callback parameter persists for the duration of the method
1502 call and can be released on return.</doc>
1503 <return-value transfer-ownership="none">
1504 <type name="gint" c:type="int"/>
1507 <parameter name="callback"
1508 transfer-ownership="none"
1511 <type name="TestCallbackUserData"
1512 c:type="RegressTestCallbackUserData"/>
1514 <parameter name="user_data" transfer-ownership="none">
1515 <type name="gpointer" c:type="gpointer"/>
1519 <function name="test_closure" c:identifier="regress_test_closure">
1520 <return-value transfer-ownership="none">
1521 <type name="gint" c:type="int"/>
1524 <parameter name="closure" transfer-ownership="none">
1525 <type name="GObject.Closure" c:type="GClosure*"/>
1529 <function name="test_closure_one_arg"
1530 c:identifier="regress_test_closure_one_arg">
1531 <return-value transfer-ownership="none">
1532 <type name="gint" c:type="int"/>
1535 <parameter name="closure" transfer-ownership="none">
1536 <type name="GObject.Closure" c:type="GClosure*"/>
1538 <parameter name="arg" transfer-ownership="none">
1539 <type name="gint" c:type="int"/>
1543 <function name="test_date_in_gvalue"
1544 c:identifier="regress_test_date_in_gvalue">
1545 <return-value transfer-ownership="full">
1546 <type name="GObject.Value" c:type="GValue*"/>
1549 <function name="test_double" c:identifier="regress_test_double">
1550 <return-value transfer-ownership="none">
1551 <type name="gdouble" c:type="gdouble"/>
1554 <parameter name="in" transfer-ownership="none">
1555 <type name="gdouble" c:type="gdouble"/>
1559 <function name="test_enum_param" c:identifier="regress_test_enum_param">
1560 <return-value transfer-ownership="none">
1561 <type name="utf8" c:type="gchar*"/>
1564 <parameter name="e" transfer-ownership="none">
1565 <type name="TestEnum" c:type="RegressTestEnum"/>
1569 <function name="test_filename_return"
1570 c:identifier="regress_test_filename_return">
1571 <return-value transfer-ownership="full">
1572 <doc xml:whitespace="preserve">list of strings</doc>
1573 <type name="GLib.SList" c:type="GSList*">
1574 <type name="filename"/>
1578 <function name="test_float" c:identifier="regress_test_float">
1579 <return-value transfer-ownership="none">
1580 <type name="gfloat" c:type="gfloat"/>
1583 <parameter name="in" transfer-ownership="none">
1584 <type name="gfloat" c:type="gfloat"/>
1588 <function name="test_ghash_container_return"
1589 c:identifier="regress_test_ghash_container_return">
1590 <return-value transfer-ownership="container">
1591 <type name="GLib.HashTable" c:type="GHashTable*">
1597 <function name="test_ghash_everything_return"
1598 c:identifier="regress_test_ghash_everything_return">
1599 <return-value transfer-ownership="full">
1600 <type name="GLib.HashTable" c:type="GHashTable*">
1606 <function name="test_ghash_nested_everything_return"
1607 c:identifier="regress_test_ghash_nested_everything_return">
1608 <doc xml:whitespace="preserve">Specify nested parameterized types directly with the (type ) annotation.</doc>
1609 <return-value transfer-ownership="full">
1610 <type name="GLib.HashTable">
1612 <type name="GLib.HashTable">
1619 <function name="test_ghash_nested_everything_return2"
1620 c:identifier="regress_test_ghash_nested_everything_return2">
1621 <doc xml:whitespace="preserve">element-type annotation.</doc>
1622 <return-value transfer-ownership="full">
1623 <type name="GLib.HashTable" c:type="GHashTable*">
1625 <type name="GLib.HashTable">
1632 <function name="test_ghash_nothing_in"
1633 c:identifier="regress_test_ghash_nothing_in">
1634 <return-value transfer-ownership="none">
1635 <type name="none" c:type="void"/>
1638 <parameter name="in" transfer-ownership="none">
1639 <type name="GLib.HashTable" c:type="GHashTable*">
1646 <function name="test_ghash_nothing_in2"
1647 c:identifier="regress_test_ghash_nothing_in2">
1648 <return-value transfer-ownership="none">
1649 <type name="none" c:type="void"/>
1652 <parameter name="in" transfer-ownership="none">
1653 <type name="GLib.HashTable" c:type="GHashTable*">
1660 <function name="test_ghash_nothing_return"
1661 c:identifier="regress_test_ghash_nothing_return">
1662 <return-value transfer-ownership="none">
1663 <type name="GLib.HashTable" c:type="GHashTable*">
1669 <function name="test_ghash_nothing_return2"
1670 c:identifier="regress_test_ghash_nothing_return2">
1671 <return-value transfer-ownership="none">
1672 <type name="GLib.HashTable" c:type="GHashTable*">
1678 <function name="test_ghash_null_in"
1679 c:identifier="regress_test_ghash_null_in">
1680 <return-value transfer-ownership="none">
1681 <type name="none" c:type="void"/>
1684 <parameter name="in" transfer-ownership="none" allow-none="1">
1685 <type name="GLib.HashTable" c:type="GHashTable*">
1692 <function name="test_ghash_null_out"
1693 c:identifier="regress_test_ghash_null_out">
1694 <return-value transfer-ownership="none">
1695 <type name="none" c:type="void"/>
1698 <parameter name="out"
1700 caller-allocates="0"
1701 transfer-ownership="full"
1703 <type name="GLib.HashTable" c:type="GHashTable**">
1710 <function name="test_ghash_null_return"
1711 c:identifier="regress_test_ghash_null_return">
1712 <return-value transfer-ownership="none">
1713 <type name="GLib.HashTable" c:type="GHashTable*">
1719 <function name="test_glist_container_return"
1720 c:identifier="regress_test_glist_container_return">
1721 <return-value transfer-ownership="container">
1722 <type name="GLib.List" c:type="GList*">
1727 <function name="test_glist_everything_return"
1728 c:identifier="regress_test_glist_everything_return">
1729 <return-value transfer-ownership="full">
1730 <type name="GLib.List" c:type="GList*">
1735 <function name="test_glist_nothing_in"
1736 c:identifier="regress_test_glist_nothing_in">
1737 <return-value transfer-ownership="none">
1738 <type name="none" c:type="void"/>
1741 <parameter name="in" transfer-ownership="none">
1742 <type name="GLib.List" c:type="GList*">
1748 <function name="test_glist_nothing_in2"
1749 c:identifier="regress_test_glist_nothing_in2">
1750 <return-value transfer-ownership="none">
1751 <type name="none" c:type="void"/>
1754 <parameter name="in" transfer-ownership="none">
1755 <type name="GLib.List" c:type="GList*">
1761 <function name="test_glist_nothing_return"
1762 c:identifier="regress_test_glist_nothing_return">
1763 <return-value transfer-ownership="none">
1764 <type name="GLib.List" c:type="GList*">
1769 <function name="test_glist_nothing_return2"
1770 c:identifier="regress_test_glist_nothing_return2">
1771 <return-value transfer-ownership="none">
1772 <type name="GLib.List" c:type="GList*">
1777 <function name="test_glist_null_in"
1778 c:identifier="regress_test_glist_null_in">
1779 <return-value transfer-ownership="none">
1780 <type name="none" c:type="void"/>
1783 <parameter name="in" transfer-ownership="none" allow-none="1">
1784 <type name="GLib.SList" c:type="GSList*">
1790 <function name="test_glist_null_out"
1791 c:identifier="regress_test_glist_null_out">
1792 <return-value transfer-ownership="none">
1793 <type name="none" c:type="void"/>
1796 <parameter name="out_list"
1798 caller-allocates="0"
1799 transfer-ownership="full"
1801 <type name="GLib.SList" c:type="GSList**">
1807 <function name="test_gslist_container_return"
1808 c:identifier="regress_test_gslist_container_return">
1809 <return-value transfer-ownership="container">
1810 <type name="GLib.SList" c:type="GSList*">
1815 <function name="test_gslist_everything_return"
1816 c:identifier="regress_test_gslist_everything_return">
1817 <return-value transfer-ownership="full">
1818 <type name="GLib.SList" c:type="GSList*">
1823 <function name="test_gslist_nothing_in"
1824 c:identifier="regress_test_gslist_nothing_in">
1825 <return-value transfer-ownership="none">
1826 <type name="none" c:type="void"/>
1829 <parameter name="in" transfer-ownership="none">
1830 <type name="GLib.SList" c:type="GSList*">
1836 <function name="test_gslist_nothing_in2"
1837 c:identifier="regress_test_gslist_nothing_in2">
1838 <return-value transfer-ownership="none">
1839 <type name="none" c:type="void"/>
1842 <parameter name="in" transfer-ownership="none">
1843 <type name="GLib.SList" c:type="GSList*">
1849 <function name="test_gslist_nothing_return"
1850 c:identifier="regress_test_gslist_nothing_return">
1851 <return-value transfer-ownership="none">
1852 <type name="GLib.SList" c:type="GSList*">
1857 <function name="test_gslist_nothing_return2"
1858 c:identifier="regress_test_gslist_nothing_return2">
1859 <return-value transfer-ownership="none">
1860 <type name="GLib.SList" c:type="GSList*">
1865 <function name="test_gslist_null_in"
1866 c:identifier="regress_test_gslist_null_in">
1867 <return-value transfer-ownership="none">
1868 <type name="none" c:type="void"/>
1871 <parameter name="in" transfer-ownership="none" allow-none="1">
1872 <type name="GLib.SList" c:type="GSList*">
1878 <function name="test_gslist_null_out"
1879 c:identifier="regress_test_gslist_null_out">
1880 <return-value transfer-ownership="none">
1881 <type name="none" c:type="void"/>
1884 <parameter name="out_list"
1886 caller-allocates="0"
1887 transfer-ownership="full"
1889 <type name="GLib.SList" c:type="GSList**">
1895 <function name="test_gtype" c:identifier="regress_test_gtype">
1896 <return-value transfer-ownership="none">
1897 <type name="GType" c:type="GType"/>
1900 <parameter name="in" transfer-ownership="none">
1901 <type name="GType" c:type="GType"/>
1905 <function name="test_int" c:identifier="regress_test_int">
1906 <return-value transfer-ownership="none">
1907 <type name="gint" c:type="gint"/>
1910 <parameter name="in" transfer-ownership="none">
1911 <type name="gint" c:type="gint"/>
1915 <function name="test_int16" c:identifier="regress_test_int16">
1916 <return-value transfer-ownership="none">
1917 <type name="gint16" c:type="gint16"/>
1920 <parameter name="in" transfer-ownership="none">
1921 <type name="gint16" c:type="gint16"/>
1925 <function name="test_int32" c:identifier="regress_test_int32">
1926 <return-value transfer-ownership="none">
1927 <type name="gint32" c:type="gint32"/>
1930 <parameter name="in" transfer-ownership="none">
1931 <type name="gint32" c:type="gint32"/>
1935 <function name="test_int64" c:identifier="regress_test_int64">
1936 <return-value transfer-ownership="none">
1937 <type name="gint64" c:type="gint64"/>
1940 <parameter name="in" transfer-ownership="none">
1941 <type name="gint64" c:type="gint64"/>
1945 <function name="test_int8" c:identifier="regress_test_int8">
1946 <return-value transfer-ownership="none">
1947 <type name="gint8" c:type="gint8"/>
1950 <parameter name="in" transfer-ownership="none">
1951 <type name="gint8" c:type="gint8"/>
1955 <function name="test_int_out_utf8"
1956 c:identifier="regress_test_int_out_utf8">
1957 <return-value transfer-ownership="none">
1958 <type name="none" c:type="void"/>
1961 <parameter name="length"
1963 caller-allocates="0"
1964 transfer-ownership="full">
1965 <type name="gint" c:type="int*"/>
1967 <parameter name="in" transfer-ownership="none">
1968 <type name="utf8" c:type="char*"/>
1972 <function name="test_int_value_arg"
1973 c:identifier="regress_test_int_value_arg">
1974 <return-value transfer-ownership="none">
1975 <type name="gint" c:type="int"/>
1978 <parameter name="v" transfer-ownership="none">
1979 <type name="GObject.Value" c:type="GValue*"/>
1983 <function name="test_long" c:identifier="regress_test_long">
1984 <return-value transfer-ownership="none">
1985 <type name="glong" c:type="glong"/>
1988 <parameter name="in" transfer-ownership="none">
1989 <type name="glong" c:type="glong"/>
1993 <function name="test_multi_callback"
1994 c:identifier="regress_test_multi_callback">
1995 <return-value transfer-ownership="none">
1996 <type name="gint" c:type="int"/>
1999 <parameter name="callback"
2000 transfer-ownership="none"
2003 <type name="TestCallback" c:type="RegressTestCallback"/>
2007 <function name="test_multi_double_args"
2008 c:identifier="regress_test_multi_double_args">
2009 <return-value transfer-ownership="none">
2010 <type name="none" c:type="void"/>
2013 <parameter name="in" transfer-ownership="none">
2014 <type name="gdouble" c:type="gdouble"/>
2016 <parameter name="one"
2018 caller-allocates="0"
2019 transfer-ownership="full">
2020 <type name="gdouble" c:type="gdouble*"/>
2022 <parameter name="two"
2024 caller-allocates="0"
2025 transfer-ownership="full">
2026 <type name="gdouble" c:type="gdouble*"/>
2030 <function name="test_short" c:identifier="regress_test_short">
2031 <return-value transfer-ownership="none">
2032 <type name="gshort" c:type="gshort"/>
2035 <parameter name="in" transfer-ownership="none">
2036 <type name="gshort" c:type="gshort"/>
2040 <function name="test_simple_boxed_a_const_return"
2041 c:identifier="regress_test_simple_boxed_a_const_return">
2042 <return-value transfer-ownership="none">
2043 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
2046 <function name="test_simple_callback"
2047 c:identifier="regress_test_simple_callback">
2048 <return-value transfer-ownership="none">
2049 <type name="none" c:type="void"/>
2052 <parameter name="callback"
2053 transfer-ownership="none"
2056 <type name="TestSimpleCallback" c:type="RegressTestSimpleCallback"/>
2060 <function name="test_size" c:identifier="regress_test_size">
2061 <return-value transfer-ownership="none">
2062 <type name="gsize" c:type="gsize"/>
2065 <parameter name="in" transfer-ownership="none">
2066 <type name="gsize" c:type="gsize"/>
2070 <function name="test_ssize" c:identifier="regress_test_ssize">
2071 <return-value transfer-ownership="none">
2072 <type name="gssize" c:type="gssize"/>
2075 <parameter name="in" transfer-ownership="none">
2076 <type name="gssize" c:type="gssize"/>
2080 <function name="test_strv_in" c:identifier="regress_test_strv_in">
2081 <return-value transfer-ownership="none">
2082 <type name="gboolean" c:type="gboolean"/>
2085 <parameter name="arr" transfer-ownership="none">
2086 <array c:type="char**">
2092 <function name="test_strv_in_gvalue"
2093 c:identifier="regress_test_strv_in_gvalue">
2094 <return-value transfer-ownership="full">
2095 <type name="GObject.Value" c:type="GValue*"/>
2098 <function name="test_strv_out" c:identifier="regress_test_strv_out">
2099 <return-value transfer-ownership="full">
2100 <array c:type="char**">
2105 <function name="test_strv_out_c" c:identifier="regress_test_strv_out_c">
2106 <return-value transfer-ownership="none">
2107 <array c:type="char**">
2112 <function name="test_strv_out_container"
2113 c:identifier="regress_test_strv_out_container">
2114 <return-value transfer-ownership="container">
2115 <array c:type="char**">
2120 <function name="test_strv_outarg" c:identifier="regress_test_strv_outarg">
2121 <return-value transfer-ownership="none">
2122 <type name="none" c:type="void"/>
2125 <parameter name="retp"
2127 caller-allocates="0"
2128 transfer-ownership="container">
2129 <array c:type="char***">
2135 <function name="test_timet" c:identifier="regress_test_timet">
2136 <return-value transfer-ownership="none">
2137 <type name="glong" c:type="time_t"/>
2140 <parameter name="in" transfer-ownership="none">
2141 <type name="glong" c:type="time_t"/>
2145 <function name="test_torture_signature_0"
2146 c:identifier="regress_test_torture_signature_0">
2147 <return-value transfer-ownership="none">
2148 <type name="none" c:type="void"/>
2151 <parameter name="x" transfer-ownership="none">
2152 <type name="gint" c:type="int"/>
2156 caller-allocates="0"
2157 transfer-ownership="full">
2158 <type name="gdouble" c:type="double*"/>
2162 caller-allocates="0"
2163 transfer-ownership="full">
2164 <type name="gint" c:type="int*"/>
2166 <parameter name="foo" transfer-ownership="none">
2167 <type name="utf8" c:type="char*"/>
2171 caller-allocates="0"
2172 transfer-ownership="full">
2173 <type name="gint" c:type="int*"/>
2175 <parameter name="m" transfer-ownership="none">
2176 <type name="guint" c:type="guint"/>
2180 <function name="test_torture_signature_1"
2181 c:identifier="regress_test_torture_signature_1"
2183 <doc xml:whitespace="preserve">This function throws an error if m is odd.</doc>
2184 <return-value transfer-ownership="none">
2185 <type name="gboolean" c:type="gboolean"/>
2188 <parameter name="x" transfer-ownership="none">
2189 <type name="gint" c:type="int"/>
2193 caller-allocates="0"
2194 transfer-ownership="full">
2195 <type name="gdouble" c:type="double*"/>
2199 caller-allocates="0"
2200 transfer-ownership="full">
2201 <type name="gint" c:type="int*"/>
2203 <parameter name="foo" transfer-ownership="none">
2204 <type name="utf8" c:type="char*"/>
2208 caller-allocates="0"
2209 transfer-ownership="full">
2210 <type name="gint" c:type="int*"/>
2212 <parameter name="m" transfer-ownership="none">
2213 <type name="guint" c:type="guint"/>
2217 <function name="test_torture_signature_2"
2218 c:identifier="regress_test_torture_signature_2">
2219 <return-value transfer-ownership="none">
2220 <type name="none" c:type="void"/>
2223 <parameter name="x" transfer-ownership="none">
2224 <type name="gint" c:type="int"/>
2226 <parameter name="callback"
2227 transfer-ownership="none"
2231 <type name="TestCallbackUserData"
2232 c:type="RegressTestCallbackUserData"/>
2234 <parameter name="user_data" transfer-ownership="none">
2235 <type name="gpointer" c:type="gpointer"/>
2237 <parameter name="notify" transfer-ownership="none" scope="async">
2238 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
2242 caller-allocates="0"
2243 transfer-ownership="full">
2244 <type name="gdouble" c:type="double*"/>
2248 caller-allocates="0"
2249 transfer-ownership="full">
2250 <type name="gint" c:type="int*"/>
2252 <parameter name="foo" transfer-ownership="none">
2253 <type name="utf8" c:type="char*"/>
2257 caller-allocates="0"
2258 transfer-ownership="full">
2259 <type name="gint" c:type="int*"/>
2261 <parameter name="m" transfer-ownership="none">
2262 <type name="guint" c:type="guint"/>
2266 <function name="test_uint" c:identifier="regress_test_uint">
2267 <return-value transfer-ownership="none">
2268 <type name="guint" c:type="guint"/>
2271 <parameter name="in" transfer-ownership="none">
2272 <type name="guint" c:type="guint"/>
2276 <function name="test_uint16" c:identifier="regress_test_uint16">
2277 <return-value transfer-ownership="none">
2278 <type name="guint16" c:type="guint16"/>
2281 <parameter name="in" transfer-ownership="none">
2282 <type name="guint16" c:type="guint16"/>
2286 <function name="test_uint32" c:identifier="regress_test_uint32">
2287 <return-value transfer-ownership="none">
2288 <type name="guint32" c:type="guint32"/>
2291 <parameter name="in" transfer-ownership="none">
2292 <type name="guint32" c:type="guint32"/>
2296 <function name="test_uint64" c:identifier="regress_test_uint64">
2297 <return-value transfer-ownership="none">
2298 <type name="guint64" c:type="guint64"/>
2301 <parameter name="in" transfer-ownership="none">
2302 <type name="guint64" c:type="guint64"/>
2306 <function name="test_uint8" c:identifier="regress_test_uint8">
2307 <return-value transfer-ownership="none">
2308 <type name="guint8" c:type="guint8"/>
2311 <parameter name="in" transfer-ownership="none">
2312 <type name="guint8" c:type="guint8"/>
2316 <function name="test_ulong" c:identifier="regress_test_ulong">
2317 <return-value transfer-ownership="none">
2318 <type name="gulong" c:type="gulong"/>
2321 <parameter name="in" transfer-ownership="none">
2322 <type name="gulong" c:type="gulong"/>
2326 <function name="test_unichar" c:identifier="regress_test_unichar">
2327 <return-value transfer-ownership="none">
2328 <type name="gunichar" c:type="gunichar"/>
2331 <parameter name="in" transfer-ownership="none">
2332 <type name="gunichar" c:type="gunichar"/>
2336 <function name="test_unsigned_enum_param"
2337 c:identifier="regress_test_unsigned_enum_param">
2338 <return-value transfer-ownership="none">
2339 <type name="utf8" c:type="gchar*"/>
2342 <parameter name="e" transfer-ownership="none">
2343 <type name="TestEnumUnsigned" c:type="RegressTestEnumUnsigned"/>
2347 <function name="test_ushort" c:identifier="regress_test_ushort">
2348 <return-value transfer-ownership="none">
2349 <type name="gushort" c:type="gushort"/>
2352 <parameter name="in" transfer-ownership="none">
2353 <type name="gushort" c:type="gushort"/>
2357 <function name="test_utf8_const_in"
2358 c:identifier="regress_test_utf8_const_in">
2359 <return-value transfer-ownership="none">
2360 <type name="none" c:type="void"/>
2363 <parameter name="in" transfer-ownership="none">
2364 <type name="utf8" c:type="char*"/>
2368 <function name="test_utf8_const_return"
2369 c:identifier="regress_test_utf8_const_return">
2370 <return-value transfer-ownership="none">
2371 <doc xml:whitespace="preserve">UTF-8 string</doc>
2372 <type name="utf8" c:type="char*"/>
2375 <function name="test_utf8_inout" c:identifier="regress_test_utf8_inout">
2376 <return-value transfer-ownership="none">
2377 <type name="none" c:type="void"/>
2380 <parameter name="inout"
2382 caller-allocates="0"
2383 transfer-ownership="full">
2384 <type name="utf8" c:type="char**"/>
2388 <function name="test_utf8_nonconst_return"
2389 c:identifier="regress_test_utf8_nonconst_return">
2390 <return-value transfer-ownership="full">
2391 <doc xml:whitespace="preserve">UTF-8 string</doc>
2392 <type name="utf8" c:type="char*"/>
2395 <function name="test_utf8_null_in"
2396 c:identifier="regress_test_utf8_null_in">
2397 <return-value transfer-ownership="none">
2398 <type name="none" c:type="void"/>
2401 <parameter name="in" transfer-ownership="none" allow-none="1">
2402 <type name="utf8" c:type="char*"/>
2406 <function name="test_utf8_null_out"
2407 c:identifier="regress_test_utf8_null_out">
2408 <return-value transfer-ownership="none">
2409 <type name="none" c:type="void"/>
2412 <parameter name="char_out"
2414 caller-allocates="0"
2415 transfer-ownership="full"
2417 <type name="utf8" c:type="char**"/>
2421 <function name="test_utf8_out" c:identifier="regress_test_utf8_out">
2422 <return-value transfer-ownership="none">
2423 <type name="none" c:type="void"/>
2426 <parameter name="out"
2428 caller-allocates="0"
2429 transfer-ownership="full">
2430 <type name="utf8" c:type="char**"/>
2434 <function name="test_utf8_out_nonconst_return"
2435 c:identifier="regress_test_utf8_out_nonconst_return">
2436 <return-value transfer-ownership="full">
2437 <doc xml:whitespace="preserve">a copy of "first"</doc>
2438 <type name="utf8" c:type="char*"/>
2441 <parameter name="out"
2443 caller-allocates="0"
2444 transfer-ownership="full">
2445 <doc xml:whitespace="preserve">a copy of "second"</doc>
2446 <type name="utf8" c:type="char**"/>
2450 <function name="test_utf8_out_out"
2451 c:identifier="regress_test_utf8_out_out">
2452 <return-value transfer-ownership="none">
2453 <type name="none" c:type="void"/>
2456 <parameter name="out0"
2458 caller-allocates="0"
2459 transfer-ownership="full">
2460 <doc xml:whitespace="preserve">a copy of "first"</doc>
2461 <type name="utf8" c:type="char**"/>
2463 <parameter name="out1"
2465 caller-allocates="0"
2466 transfer-ownership="full">
2467 <doc xml:whitespace="preserve">a copy of "second"</doc>
2468 <type name="utf8" c:type="char**"/>
2472 <function name="test_value_get_fundamental_object"
2473 c:identifier="regress_test_value_get_fundamental_object"
2476 <type name="TestFundamentalObject"
2477 c:type="RegressTestFundamentalObject*"/>
2480 <parameter name="value" transfer-ownership="none">
2481 <type name="GObject.Value" c:type="GValue*"/>
2485 <function name="test_value_return"
2486 c:identifier="regress_test_value_return">
2487 <return-value transfer-ownership="none">
2488 <doc xml:whitespace="preserve">the int wrapped in a GValue.</doc>
2489 <type name="GObject.Value" c:type="GValue*"/>
2492 <parameter name="i" transfer-ownership="none">
2493 <doc xml:whitespace="preserve">an int</doc>
2494 <type name="gint" c:type="int"/>
2498 <function name="test_value_set_fundamental_object"
2499 c:identifier="regress_test_value_set_fundamental_object"
2501 <return-value transfer-ownership="none">
2502 <type name="none" c:type="void"/>
2505 <parameter name="value" transfer-ownership="none">
2506 <type name="GObject.Value" c:type="GValue*"/>
2508 <parameter name="fundamental_object" transfer-ownership="none">
2509 <type name="TestFundamentalObject"
2510 c:type="RegressTestFundamentalObject*"/>