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"
37 c:type="REGRESS_DOUBLE_CONSTANT">
38 <type name="gdouble" c:type="gdouble"/>
40 <constant name="INT_CONSTANT" value="4422" c:type="REGRESS_INT_CONSTANT">
41 <type name="gint" c:type="gint"/>
43 <record name="Intset" c:type="RegressIntset" disguised="1">
44 <doc xml:whitespace="preserve">Like telepathy-glib's TpIntset.</doc>
46 <constant name="LONG_STRING_CONSTANT"
47 value="TYPE,VALUE,ENCODING,CHARSET,LANGUAGE,DOM,INTL,POSTAL,PARCEL,HOME,WORK,PREF,VOICE,FAX,MSG,CELL,PAGER,BBS,MODEM,CAR,ISDN,VIDEO,AOL,APPLELINK,ATTMAIL,CIS,EWORLD,INTERNET,IBMMAIL,MCIMAIL,POWERSHARE,PRODIGY,TLX,X400,GIF,CGM,WMF,BMP,MET,PMB,DIB,PICT,TIFF,PDF,PS,JPEG,QTIME,MPEG,MPEG2,AVI,WAVE,AIFF,PCM,X509,PGP"
48 c:type="REGRESS_LONG_STRING_CONSTANT">
49 <type name="utf8" c:type="gchar*"/>
51 <constant name="Mixed_Case_Constant"
53 c:type="REGRESS_Mixed_Case_Constant">
54 <type name="gint" c:type="gint"/>
56 <constant name="STRING_CONSTANT"
58 c:type="REGRESS_STRING_CONSTANT">
59 <type name="utf8" c:type="gchar*"/>
61 <record name="SkippedStructure"
62 c:type="RegressSkippedStructure"
64 <doc xml:whitespace="preserve">This should be skipped, and moreover, all function which
65 use it should be.</doc>
66 <field name="x" writable="1">
67 <type name="gint" c:type="int"/>
69 <field name="v" writable="1">
70 <type name="gdouble" c:type="double"/>
73 <record name="TestBoxed"
74 c:type="RegressTestBoxed"
75 glib:type-name="RegressTestBoxed"
76 glib:get-type="regress_test_boxed_get_type"
77 c:symbol-prefix="test_boxed">
78 <field name="some_int8" writable="1">
79 <type name="gint8" c:type="gint8"/>
81 <field name="nested_a" writable="1">
82 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA"/>
84 <field name="priv" writable="1">
85 <type name="TestBoxedPrivate" c:type="RegressTestBoxedPrivate*"/>
87 <constructor name="new" c:identifier="regress_test_boxed_new">
88 <return-value transfer-ownership="full">
89 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
92 <constructor name="new_alternative_constructor1"
93 c:identifier="regress_test_boxed_new_alternative_constructor1">
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"/>
103 <constructor name="new_alternative_constructor2"
104 c:identifier="regress_test_boxed_new_alternative_constructor2">
105 <return-value transfer-ownership="full">
106 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
109 <parameter name="i" transfer-ownership="none">
110 <type name="gint" c:type="int"/>
112 <parameter name="j" transfer-ownership="none">
113 <type name="gint" c:type="int"/>
117 <constructor name="new_alternative_constructor3"
118 c:identifier="regress_test_boxed_new_alternative_constructor3">
119 <return-value transfer-ownership="full">
120 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
123 <parameter name="s" transfer-ownership="none">
124 <type name="utf8" c:type="char*"/>
128 <method name="copy" c:identifier="regress_test_boxed_copy">
129 <return-value transfer-ownership="full">
130 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
133 <method name="equals" c:identifier="regress_test_boxed_equals">
134 <return-value transfer-ownership="none">
135 <type name="gboolean" c:type="gboolean"/>
138 <parameter name="other" transfer-ownership="none">
139 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
144 <record name="TestBoxedB"
145 c:type="RegressTestBoxedB"
146 glib:type-name="RegressTestBoxedB"
147 glib:get-type="regress_test_boxed_b_get_type"
148 c:symbol-prefix="test_boxed_b">
149 <field name="some_int8" writable="1">
150 <type name="gint8" c:type="gint8"/>
152 <field name="some_long" writable="1">
153 <type name="glong" c:type="glong"/>
155 <constructor name="new" c:identifier="regress_test_boxed_b_new">
156 <return-value transfer-ownership="full">
157 <type name="TestBoxedB" c:type="RegressTestBoxedB*"/>
160 <parameter name="some_int8" transfer-ownership="none">
161 <type name="gint8" c:type="gint8"/>
163 <parameter name="some_long" transfer-ownership="none">
164 <type name="glong" c:type="glong"/>
168 <method name="copy" c:identifier="regress_test_boxed_b_copy">
169 <return-value transfer-ownership="full">
170 <type name="TestBoxedB" c:type="RegressTestBoxedB*"/>
174 <record name="TestBoxedPrivate"
175 c:type="RegressTestBoxedPrivate"
178 <callback name="TestCallback" c:type="RegressTestCallback">
179 <return-value transfer-ownership="none">
180 <type name="gint" c:type="int"/>
183 <callback name="TestCallbackArray" c:type="RegressTestCallbackArray">
184 <return-value transfer-ownership="none">
185 <type name="gint" c:type="int"/>
188 <parameter name="one" transfer-ownership="none">
189 <array length="1" zero-terminated="0" c:type="int*">
190 <type name="gint" c:type="int"/>
193 <parameter name="one_length" transfer-ownership="none">
194 <type name="gsize" c:type="gsize"/>
196 <parameter name="two" transfer-ownership="none">
197 <array length="3" zero-terminated="0" c:type="char**">
201 <parameter name="two_length" transfer-ownership="none">
202 <type name="gint" c:type="int"/>
206 <callback name="TestCallbackFull" c:type="RegressTestCallbackFull">
207 <return-value transfer-ownership="none">
208 <type name="gint" c:type="int"/>
211 <parameter name="foo" transfer-ownership="none">
212 <doc xml:whitespace="preserve">the investment rate</doc>
213 <type name="gint" c:type="int"/>
215 <parameter name="bar" transfer-ownership="none">
216 <doc xml:whitespace="preserve">how much money</doc>
217 <type name="gdouble" c:type="double"/>
219 <parameter name="path" transfer-ownership="none">
220 <doc xml:whitespace="preserve">Path to file</doc>
221 <type name="filename" c:type="char*"/>
225 <callback name="TestCallbackGError" c:type="RegressTestCallbackGError">
226 <return-value transfer-ownership="none">
227 <type name="none" c:type="void"/>
230 <parameter name="error" transfer-ownership="none">
231 <type name="GLib.Error" c:type="GError*"/>
235 <callback name="TestCallbackHashtable"
236 c:type="RegressTestCallbackHashtable">
237 <return-value transfer-ownership="none">
238 <type name="none" c:type="void"/>
241 <parameter name="data" transfer-ownership="none">
242 <doc xml:whitespace="preserve">a hash table; will be modified</doc>
243 <type name="GLib.HashTable" c:type="GHashTable*">
250 <callback name="TestCallbackOwnedGError"
251 c:type="RegressTestCallbackOwnedGError">
252 <return-value transfer-ownership="none">
253 <type name="none" c:type="void"/>
256 <parameter name="error" transfer-ownership="full">
257 <doc xml:whitespace="preserve">GError instance; must be freed by the callback</doc>
258 <type name="GLib.Error" c:type="GError*"/>
262 <callback name="TestCallbackUserData" c:type="RegressTestCallbackUserData">
263 <return-value transfer-ownership="none">
264 <type name="gint" c:type="int"/>
267 <parameter name="user_data" transfer-ownership="none" closure="0">
268 <type name="gpointer" c:type="gpointer"/>
272 <enumeration name="TestEnum"
273 glib:type-name="RegressTestEnum"
274 glib:get-type="regress_test_enum_get_type"
275 c:type="RegressTestEnum">
276 <member name="value1"
278 c:identifier="REGRESS_TEST_VALUE1"
280 <member name="value2"
282 c:identifier="REGRESS_TEST_VALUE2"
284 <member name="value3"
286 c:identifier="REGRESS_TEST_VALUE3"
288 <member name="value4"
290 c:identifier="REGRESS_TEST_VALUE4"
292 <function name="param" c:identifier="regress_test_enum_param">
293 <return-value transfer-ownership="none">
294 <type name="utf8" c:type="gchar*"/>
297 <parameter name="e" transfer-ownership="none">
298 <type name="TestEnum" c:type="RegressTestEnum"/>
303 <enumeration name="TestEnumNoGEnum" c:type="RegressTestEnumNoGEnum">
304 <member name="evalue1" value="0" c:identifier="REGRESS_TEST_EVALUE1"/>
305 <member name="evalue2" value="42" c:identifier="REGRESS_TEST_EVALUE2"/>
306 <member name="evalue3" value="48" c:identifier="REGRESS_TEST_EVALUE3"/>
308 <enumeration name="TestEnumUnsigned"
309 glib:type-name="RegressTestEnumUnsigned"
310 glib:get-type="regress_test_enum_unsigned_get_type"
311 c:type="RegressTestEnumUnsigned">
312 <member name="value1"
314 c:identifier="REGRESS_TEST_UNSIGNED_VALUE1"
316 <member name="value2"
318 c:identifier="REGRESS_TEST_UNSIGNED_VALUE2"
321 <bitfield name="TestFlags"
322 glib:type-name="RegressTestFlags"
323 glib:get-type="regress_test_flags_get_type"
324 c:type="RegressTestFlags">
327 c:identifier="TEST_FLAG1"
331 c:identifier="TEST_FLAG2"
335 c:identifier="TEST_FLAG3"
338 <class name="TestFloating"
339 c:symbol-prefix="test_floating"
340 c:type="RegressTestFloating"
341 parent="GObject.InitiallyUnowned"
342 glib:type-name="RegressTestFloating"
343 glib:get-type="regress_test_floating_get_type"
344 glib:type-struct="TestFloatingClass">
345 <constructor name="new" c:identifier="regress_test_floating_new">
346 <return-value transfer-ownership="none">
347 <doc xml:whitespace="preserve">A new floating #RegressTestFloating</doc>
348 <type name="TestFloating" c:type="RegressTestFloating*"/>
351 <field name="parent_instance">
352 <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
355 <record name="TestFloatingClass"
356 c:type="RegressTestFloatingClass"
357 glib:is-gtype-struct-for="TestFloating">
358 <field name="parent_class">
359 <type name="GObject.InitiallyUnownedClass"
360 c:type="GInitiallyUnownedClass"/>
363 <class name="TestFundamentalObject"
364 c:symbol-prefix="test_fundamental_object"
365 c:type="RegressTestFundamentalObject"
367 glib:type-name="RegressTestFundamentalObject"
368 glib:get-type="regress_test_fundamental_object_get_type"
369 glib:type-struct="TestFundamentalObjectClass"
371 glib:ref-func="regress_test_fundamental_object_ref"
372 glib:unref-func="regress_test_fundamental_object_unref"
373 glib:set-value-func="regress_test_value_set_fundamental_object"
374 glib:get-value-func="regress_test_value_get_fundamental_object">
375 <method name="ref" c:identifier="regress_test_fundamental_object_ref">
376 <return-value transfer-ownership="full">
377 <doc xml:whitespace="preserve">A new #RegressTestFundamentalObject</doc>
378 <type name="TestFundamentalObject"
379 c:type="RegressTestFundamentalObject*"/>
383 c:identifier="regress_test_fundamental_object_unref">
384 <return-value transfer-ownership="none">
385 <type name="none" c:type="void"/>
388 <field name="instance">
389 <type name="GObject.TypeInstance" c:type="GTypeInstance"/>
391 <field name="refcount">
392 <type name="gint" c:type="gint"/>
395 <type name="guint" c:type="guint"/>
398 <record name="TestFundamentalObjectClass"
399 c:type="RegressTestFundamentalObjectClass"
400 glib:is-gtype-struct-for="TestFundamentalObject">
401 <field name="type_class">
402 <type name="GObject.TypeClass" c:type="GTypeClass"/>
405 <type name="TestFundamentalObjectCopyFunction"
406 c:type="RegressTestFundamentalObjectCopyFunction"/>
408 <field name="finalize">
409 <type name="TestFundamentalObjectFinalizeFunction"
410 c:type="RegressTestFundamentalObjectFinalizeFunction"/>
413 <callback name="TestFundamentalObjectCopyFunction"
414 c:type="RegressTestFundamentalObjectCopyFunction">
415 <return-value transfer-ownership="full">
416 <type name="TestFundamentalObject"
417 c:type="RegressTestFundamentalObject*"/>
420 <parameter name="obj" transfer-ownership="none">
421 <type name="TestFundamentalObject"
422 c:type="RegressTestFundamentalObject*"/>
426 <callback name="TestFundamentalObjectFinalizeFunction"
427 c:type="RegressTestFundamentalObjectFinalizeFunction">
428 <return-value transfer-ownership="none">
429 <type name="none" c:type="void"/>
432 <parameter name="obj" transfer-ownership="none">
433 <type name="TestFundamentalObject"
434 c:type="RegressTestFundamentalObject*"/>
438 <class name="TestFundamentalSubObject"
439 c:symbol-prefix="test_fundamental_sub_object"
440 c:type="RegressTestFundamentalSubObject"
441 parent="TestFundamentalObject"
442 glib:type-name="RegressTestFundamentalSubObject"
443 glib:get-type="regress_test_fundamental_sub_object_get_type"
444 glib:type-struct="TestFundamentalSubObjectClass"
445 glib:fundamental="1">
446 <constructor name="new"
447 c:identifier="regress_test_fundamental_sub_object_new">
448 <return-value transfer-ownership="full">
449 <type name="TestFundamentalSubObject"
450 c:type="RegressTestFundamentalSubObject*"/>
453 <parameter name="data" transfer-ownership="none">
454 <type name="utf8" c:type="char*"/>
458 <field name="fundamental_object">
459 <type name="TestFundamentalObject"
460 c:type="RegressTestFundamentalObject"/>
463 <type name="utf8" c:type="char*"/>
466 <record name="TestFundamentalSubObjectClass"
467 c:type="RegressTestFundamentalSubObjectClass"
468 glib:is-gtype-struct-for="TestFundamentalSubObject">
469 <field name="fundamental_object_class">
470 <type name="TestFundamentalObjectClass"
471 c:type="RegressTestFundamentalObjectClass"/>
474 <interface name="TestInterface"
475 c:symbol-prefix="test_interface"
476 c:type="RegressTestInterface"
477 glib:type-name="RegressTestInterface"
478 glib:get-type="regress_test_interface_get_type"
479 glib:type-struct="TestInterfaceIface">
481 <record name="TestInterfaceIface"
482 c:type="RegressTestInterfaceIface"
483 glib:is-gtype-struct-for="TestInterface">
484 <field name="base_iface">
485 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
488 <class name="TestObj"
489 c:symbol-prefix="test_obj"
490 c:type="RegressTestObj"
491 parent="GObject.Object"
492 glib:type-name="RegressTestObj"
493 glib:get-type="regress_test_obj_get_type"
494 glib:type-struct="TestObjClass">
495 <constructor name="constructor" c:identifier="regress_constructor">
496 <return-value transfer-ownership="full">
497 <type name="TestObj" c:type="RegressTestObj*"/>
500 <constructor name="new" c:identifier="regress_test_obj_new">
501 <return-value transfer-ownership="full">
502 <type name="TestObj" c:type="RegressTestObj*"/>
505 <parameter name="obj" transfer-ownership="none">
506 <doc xml:whitespace="preserve">A #RegressTestObj</doc>
507 <type name="TestObj" c:type="RegressTestObj*"/>
511 <constructor name="new_callback"
512 c:identifier="regress_test_obj_new_callback">
513 <return-value transfer-ownership="full">
514 <type name="TestObj" c:type="RegressTestObj*"/>
517 <parameter name="callback"
518 transfer-ownership="none"
522 <type name="TestCallbackUserData"
523 c:type="RegressTestCallbackUserData"/>
525 <parameter name="user_data" transfer-ownership="none">
526 <type name="gpointer" c:type="gpointer"/>
528 <parameter name="notify" transfer-ownership="none" scope="async">
529 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
533 <constructor name="new_from_file"
534 c:identifier="regress_test_obj_new_from_file"
536 <return-value transfer-ownership="full">
537 <type name="TestObj" c:type="RegressTestObj*"/>
540 <parameter name="x" transfer-ownership="none">
541 <type name="utf8" c:type="char*"/>
545 <function name="null_out" c:identifier="regress_test_obj_null_out">
546 <return-value transfer-ownership="none">
547 <type name="none" c:type="void"/>
550 <parameter name="obj"
553 transfer-ownership="full"
555 <doc xml:whitespace="preserve">A #RegressTestObj</doc>
556 <type name="TestObj" c:type="RegressTestObj**"/>
560 <function name="static_method"
561 c:identifier="regress_test_obj_static_method">
562 <return-value transfer-ownership="none">
563 <type name="gdouble" c:type="double"/>
566 <parameter name="x" transfer-ownership="none">
567 <type name="gint" c:type="int"/>
571 <function name="static_method_callback"
572 c:identifier="regress_test_obj_static_method_callback">
573 <return-value transfer-ownership="none">
574 <type name="none" c:type="void"/>
577 <parameter name="callback"
578 transfer-ownership="none"
581 <type name="TestCallback" c:type="RegressTestCallback"/>
585 <virtual-method name="allow_none_vfunc">
586 <return-value transfer-ownership="none">
587 <type name="none" c:type="void"/>
590 <parameter name="two" transfer-ownership="none" allow-none="1">
591 <doc xml:whitespace="preserve">Another object</doc>
592 <type name="TestObj" c:type="RegressTestObj*"/>
596 <virtual-method name="matrix" invoker="do_matrix">
597 <doc xml:whitespace="preserve">This method is virtual. Notably its name differs from the virtual
598 slot name, which makes it useful for testing bindings handle this
600 <return-value transfer-ownership="none">
601 <type name="gint" c:type="int"/>
604 <parameter name="somestr" transfer-ownership="none">
605 <doc xml:whitespace="preserve">Meaningless string</doc>
606 <type name="utf8" c:type="char*"/>
610 <method name="do_matrix" c:identifier="regress_test_obj_do_matrix">
611 <doc xml:whitespace="preserve">This method is virtual. Notably its name differs from the virtual
612 slot name, which makes it useful for testing bindings handle this
614 <return-value transfer-ownership="none">
615 <type name="gint" c:type="int"/>
618 <parameter name="somestr" transfer-ownership="none">
619 <doc xml:whitespace="preserve">Meaningless string</doc>
620 <type name="utf8" c:type="char*"/>
624 <method name="emit_sig_with_foreign_struct"
625 c:identifier="regress_test_obj_emit_sig_with_foreign_struct">
626 <return-value transfer-ownership="none">
627 <type name="none" c:type="void"/>
630 <method name="emit_sig_with_obj"
631 c:identifier="regress_test_obj_emit_sig_with_obj">
632 <return-value transfer-ownership="none">
633 <type name="none" c:type="void"/>
636 <method name="forced_method" c:identifier="regress_forced_method">
637 <return-value transfer-ownership="none">
638 <type name="none" c:type="void"/>
641 <method name="instance_method"
642 c:identifier="regress_test_obj_instance_method">
643 <return-value transfer-ownership="none">
644 <type name="gint" c:type="int"/>
647 <method name="instance_method_callback"
648 c:identifier="regress_test_obj_instance_method_callback">
649 <return-value transfer-ownership="none">
650 <type name="none" c:type="void"/>
653 <parameter name="callback"
654 transfer-ownership="none"
657 <type name="TestCallback" c:type="RegressTestCallback"/>
661 <method name="set_bare" c:identifier="regress_test_obj_set_bare">
662 <return-value transfer-ownership="none">
663 <type name="none" c:type="void"/>
666 <parameter name="bare" transfer-ownership="none" allow-none="1">
667 <type name="GObject.Object" c:type="GObject*"/>
671 <method name="skip_inout_param"
672 c:identifier="regress_test_obj_skip_inout_param"
674 <doc xml:whitespace="preserve">Check that the out value is skipped</doc>
675 <return-value transfer-ownership="none">
676 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
677 <type name="gboolean" c:type="gboolean"/>
680 <parameter name="a" transfer-ownership="none">
681 <doc xml:whitespace="preserve">Parameter.</doc>
682 <type name="gint" c:type="gint"/>
684 <parameter name="out_b"
687 transfer-ownership="full">
688 <doc xml:whitespace="preserve">Return value.</doc>
689 <type name="gint" c:type="gint*"/>
691 <parameter name="c" transfer-ownership="none">
692 <doc xml:whitespace="preserve">Other parameter.</doc>
693 <type name="gdouble" c:type="gdouble"/>
695 <parameter name="inout_d"
698 transfer-ownership="full"
700 <doc xml:whitespace="preserve">Will be incremented.</doc>
701 <type name="gint" c:type="gint*"/>
703 <parameter name="out_sum"
706 transfer-ownership="full">
707 <doc xml:whitespace="preserve">Return value.</doc>
708 <type name="gint" c:type="gint*"/>
710 <parameter name="num1" transfer-ownership="none">
711 <doc xml:whitespace="preserve">Number.</doc>
712 <type name="gint" c:type="gint"/>
714 <parameter name="num2" transfer-ownership="none">
715 <doc xml:whitespace="preserve">Number.</doc>
716 <type name="gint" c:type="gint"/>
720 <method name="skip_out_param"
721 c:identifier="regress_test_obj_skip_out_param"
723 <doc xml:whitespace="preserve">Check that the out value is skipped</doc>
724 <return-value transfer-ownership="none">
725 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
726 <type name="gboolean" c:type="gboolean"/>
729 <parameter name="a" transfer-ownership="none">
730 <doc xml:whitespace="preserve">Parameter.</doc>
731 <type name="gint" c:type="gint"/>
733 <parameter name="out_b"
736 transfer-ownership="full"
738 <doc xml:whitespace="preserve">Return value.</doc>
739 <type name="gint" c:type="gint*"/>
741 <parameter name="c" transfer-ownership="none">
742 <doc xml:whitespace="preserve">Other parameter.</doc>
743 <type name="gdouble" c:type="gdouble"/>
745 <parameter name="inout_d"
748 transfer-ownership="full">
749 <doc xml:whitespace="preserve">Will be incremented.</doc>
750 <type name="gint" c:type="gint*"/>
752 <parameter name="out_sum"
755 transfer-ownership="full">
756 <doc xml:whitespace="preserve">Return value.</doc>
757 <type name="gint" c:type="gint*"/>
759 <parameter name="num1" transfer-ownership="none">
760 <doc xml:whitespace="preserve">Number.</doc>
761 <type name="gint" c:type="gint"/>
763 <parameter name="num2" transfer-ownership="none">
764 <doc xml:whitespace="preserve">Number.</doc>
765 <type name="gint" c:type="gint"/>
769 <method name="skip_param"
770 c:identifier="regress_test_obj_skip_param"
772 <doc xml:whitespace="preserve">Check that a parameter is skipped</doc>
773 <return-value transfer-ownership="none">
774 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
775 <type name="gboolean" c:type="gboolean"/>
778 <parameter name="a" transfer-ownership="none">
779 <doc xml:whitespace="preserve">Parameter.</doc>
780 <type name="gint" c:type="gint"/>
782 <parameter name="out_b"
785 transfer-ownership="full">
786 <doc xml:whitespace="preserve">Return value.</doc>
787 <type name="gint" c:type="gint*"/>
789 <parameter name="c" transfer-ownership="none" skip="1">
790 <doc xml:whitespace="preserve">Other parameter.</doc>
791 <type name="gdouble" c:type="gdouble"/>
793 <parameter name="inout_d"
796 transfer-ownership="full">
797 <doc xml:whitespace="preserve">Will be incremented.</doc>
798 <type name="gint" c:type="gint*"/>
800 <parameter name="out_sum"
803 transfer-ownership="full">
804 <doc xml:whitespace="preserve">Return value.</doc>
805 <type name="gint" c:type="gint*"/>
807 <parameter name="num1" transfer-ownership="none">
808 <doc xml:whitespace="preserve">Number.</doc>
809 <type name="gint" c:type="gint"/>
811 <parameter name="num2" transfer-ownership="none">
812 <doc xml:whitespace="preserve">Number.</doc>
813 <type name="gint" c:type="gint"/>
817 <method name="skip_return_val"
818 c:identifier="regress_test_obj_skip_return_val"
820 <doc xml:whitespace="preserve">Check that the return value is skipped</doc>
821 <return-value transfer-ownership="none" skip="1">
822 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
823 <type name="gboolean" c:type="gboolean"/>
826 <parameter name="a" transfer-ownership="none">
827 <doc xml:whitespace="preserve">Parameter.</doc>
828 <type name="gint" c:type="gint"/>
830 <parameter name="out_b"
833 transfer-ownership="full">
834 <doc xml:whitespace="preserve">A return value.</doc>
835 <type name="gint" c:type="gint*"/>
837 <parameter name="c" transfer-ownership="none">
838 <doc xml:whitespace="preserve">Other parameter.</doc>
839 <type name="gdouble" c:type="gdouble"/>
841 <parameter name="inout_d"
844 transfer-ownership="full">
845 <doc xml:whitespace="preserve">Will be incremented.</doc>
846 <type name="gint" c:type="gint*"/>
848 <parameter name="out_sum"
851 transfer-ownership="full">
852 <doc xml:whitespace="preserve">Return value.</doc>
853 <type name="gint" c:type="gint*"/>
855 <parameter name="num1" transfer-ownership="none">
856 <doc xml:whitespace="preserve">Number.</doc>
857 <type name="gint" c:type="gint"/>
859 <parameter name="num2" transfer-ownership="none">
860 <doc xml:whitespace="preserve">Number.</doc>
861 <type name="gint" c:type="gint"/>
865 <method name="skip_return_val_no_out"
866 c:identifier="regress_test_obj_skip_return_val_no_out"
868 <doc xml:whitespace="preserve">Check that the return value is skipped. Succeed if a is nonzero, otherwise
869 raise an error.</doc>
870 <return-value transfer-ownership="none" skip="1">
871 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
872 <type name="gboolean" c:type="gboolean"/>
875 <parameter name="a" transfer-ownership="none">
876 <doc xml:whitespace="preserve">Parameter.</doc>
877 <type name="gint" c:type="gint"/>
881 <method name="torture_signature_0"
882 c:identifier="regress_test_obj_torture_signature_0">
883 <return-value transfer-ownership="none">
884 <type name="none" c:type="void"/>
887 <parameter name="x" transfer-ownership="none">
888 <type name="gint" c:type="int"/>
893 transfer-ownership="full">
894 <type name="gdouble" c:type="double*"/>
899 transfer-ownership="full">
900 <type name="gint" c:type="int*"/>
902 <parameter name="foo" transfer-ownership="none">
903 <type name="utf8" c:type="char*"/>
908 transfer-ownership="full">
909 <type name="gint" c:type="int*"/>
911 <parameter name="m" transfer-ownership="none">
912 <type name="guint" c:type="guint"/>
916 <method name="torture_signature_1"
917 c:identifier="regress_test_obj_torture_signature_1"
919 <doc xml:whitespace="preserve">This function throws an error if m is odd.</doc>
920 <return-value transfer-ownership="none">
921 <type name="gboolean" c:type="gboolean"/>
924 <parameter name="x" transfer-ownership="none">
925 <type name="gint" c:type="int"/>
930 transfer-ownership="full">
931 <type name="gdouble" c:type="double*"/>
936 transfer-ownership="full">
937 <type name="gint" c:type="int*"/>
939 <parameter name="foo" transfer-ownership="none">
940 <type name="utf8" c:type="char*"/>
945 transfer-ownership="full">
946 <type name="gint" c:type="int*"/>
948 <parameter name="m" transfer-ownership="none">
949 <type name="guint" c:type="guint"/>
953 <property name="bare" writable="1" transfer-ownership="none">
954 <type name="GObject.Object"/>
956 <property name="boxed" writable="1" transfer-ownership="none">
957 <type name="TestBoxed"/>
959 <property name="double" writable="1" transfer-ownership="none">
960 <type name="gdouble"/>
962 <property name="float" writable="1" transfer-ownership="none">
963 <type name="gfloat"/>
965 <property name="gtype" writable="1" transfer-ownership="none">
968 <property name="hash-table" writable="1" transfer-ownership="container">
969 <type name="GLib.HashTable">
974 <property name="hash-table-old"
976 transfer-ownership="container">
977 <type name="GLib.HashTable">
982 <property name="int" writable="1" transfer-ownership="none">
985 <property name="list" writable="1" transfer-ownership="none">
986 <type name="GLib.List">
990 <property name="list-old" writable="1" transfer-ownership="none">
991 <type name="GLib.List">
995 <property name="string" writable="1" transfer-ownership="none">
998 <field name="parent_instance">
999 <type name="GObject.Object" c:type="GObject"/>
1002 <type name="GObject.Object" c:type="GObject*"/>
1004 <field name="boxed">
1005 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
1007 <field name="hash_table">
1008 <type name="GLib.HashTable" c:type="GHashTable*">
1009 <type name="gpointer" c:type="gpointer"/>
1010 <type name="gpointer" c:type="gpointer"/>
1014 <type name="GLib.List" c:type="GList*">
1015 <type name="gpointer" c:type="gpointer"/>
1018 <field name="some_int8">
1019 <type name="gint8" c:type="gint8"/>
1021 <field name="some_float">
1022 <type name="gfloat" c:type="float"/>
1024 <field name="some_double">
1025 <type name="gdouble" c:type="double"/>
1027 <field name="string">
1028 <type name="utf8" c:type="char*"/>
1030 <field name="gtype">
1031 <type name="GType" c:type="GType"/>
1033 <glib:signal name="all"
1039 <return-value transfer-ownership="none">
1043 <glib:signal name="cleanup" when="cleanup">
1044 <return-value transfer-ownership="none">
1048 <glib:signal name="first" when="first">
1049 <return-value transfer-ownership="none">
1053 <glib:signal name="sig-with-array-prop" when="last">
1054 <doc xml:whitespace="preserve">This test signal is like TelepathyGlib's
1055 TpChannel:: group-members-changed-detailed:</doc>
1056 <return-value transfer-ownership="none">
1060 <parameter name="arr" transfer-ownership="none">
1061 <doc xml:whitespace="preserve">numbers</doc>
1062 <array name="GLib.Array">
1063 <type name="guint"/>
1068 <glib:signal name="sig-with-foreign-struct" when="last">
1069 <return-value transfer-ownership="none">
1073 <parameter name="cr" transfer-ownership="none">
1074 <doc xml:whitespace="preserve">A cairo context.</doc>
1075 <type name="cairo.Context"/>
1079 <glib:signal name="sig-with-hash-prop" when="last">
1080 <doc xml:whitespace="preserve">This test signal is like TelepathyGlib's
1081 TpAccount::status-changed</doc>
1082 <return-value transfer-ownership="none">
1086 <parameter name="hash" transfer-ownership="none">
1087 <type name="GLib.HashTable">
1089 <type name="GObject.Value"/>
1094 <glib:signal name="sig-with-obj" when="last">
1095 <doc xml:whitespace="preserve">Test transfer none GObject as a param (tests refcounting).
1096 Use with regress_test_obj_emit_sig_with_obj</doc>
1097 <return-value transfer-ownership="none">
1101 <parameter name="obj" transfer-ownership="none">
1102 <doc xml:whitespace="preserve">A newly created RegressTestObj</doc>
1103 <type name="GObject.Object"/>
1107 <glib:signal name="sig-with-strv" when="last">
1108 <doc xml:whitespace="preserve">Test GStrv as a param.</doc>
1109 <return-value transfer-ownership="none">
1113 <parameter name="strs" transfer-ownership="none">
1114 <doc xml:whitespace="preserve">strings</doc>
1121 <glib:signal name="test" when="last" no-recurse="1" no-hooks="1">
1122 <return-value transfer-ownership="none">
1126 <glib:signal name="test-with-static-scope-arg"
1130 <return-value transfer-ownership="none">
1134 <parameter name="object" transfer-ownership="none">
1135 <type name="TestSimpleBoxedA"/>
1140 <record name="TestObjClass"
1141 c:type="RegressTestObjClass"
1142 glib:is-gtype-struct-for="TestObj">
1143 <field name="parent_class">
1144 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
1146 <field name="matrix">
1147 <callback name="matrix">
1148 <return-value transfer-ownership="none">
1149 <type name="gint" c:type="int"/>
1152 <parameter name="obj" transfer-ownership="none">
1153 <type name="TestObj" c:type="RegressTestObj*"/>
1155 <parameter name="somestr" transfer-ownership="none">
1156 <doc xml:whitespace="preserve">Meaningless string</doc>
1157 <type name="utf8" c:type="char*"/>
1162 <field name="allow_none_vfunc">
1163 <callback name="allow_none_vfunc">
1164 <return-value transfer-ownership="none">
1165 <type name="none" c:type="void"/>
1168 <parameter name="obj" transfer-ownership="none">
1169 <type name="TestObj" c:type="RegressTestObj*"/>
1171 <parameter name="two" transfer-ownership="none" allow-none="1">
1172 <doc xml:whitespace="preserve">Another object</doc>
1173 <type name="TestObj" c:type="RegressTestObj*"/>
1178 <field name="test_signal">
1179 <type name="guint" c:type="guint"/>
1181 <field name="test_signal_with_static_scope_arg">
1182 <type name="guint" c:type="guint"/>
1184 <field name="_regress_reserved1" introspectable="0">
1185 <callback name="_regress_reserved1">
1186 <return-value transfer-ownership="none">
1187 <type name="none" c:type="void"/>
1191 <field name="_regress_reserved2" introspectable="0">
1192 <callback name="_regress_reserved2">
1193 <return-value transfer-ownership="none">
1194 <type name="none" c:type="void"/>
1199 <bitfield name="TestPrivateEnum" c:type="RegressTestPrivateEnum">
1200 <member name="public_enum_before"
1202 c:identifier="REGRESS_TEST_PUBLIC_ENUM_BEFORE"/>
1203 <member name="public_enum_after"
1205 c:identifier="REGRESS_TEST_PUBLIC_ENUM_AFTER"/>
1207 <record name="TestPrivateStruct" c:type="RegressTestPrivateStruct">
1208 <field name="this_is_public_before" writable="1">
1209 <type name="gint" c:type="gint"/>
1211 <field name="this_is_private" readable="0" private="1">
1212 <type name="gint" c:type="gint"/>
1214 <field name="this_is_public_after" writable="1">
1215 <type name="gint" c:type="gint"/>
1218 <record name="TestSimpleBoxedA"
1219 c:type="RegressTestSimpleBoxedA"
1220 glib:type-name="RegressTestSimpleBoxedA"
1221 glib:get-type="regress_test_simple_boxed_a_get_gtype"
1222 c:symbol-prefix="test_simple_boxed_a">
1223 <field name="some_int" writable="1">
1224 <type name="gint" c:type="gint"/>
1226 <field name="some_int8" writable="1">
1227 <type name="gint8" c:type="gint8"/>
1229 <field name="some_double" writable="1">
1230 <type name="gdouble" c:type="gdouble"/>
1232 <field name="some_enum" writable="1">
1233 <type name="TestEnum" c:type="RegressTestEnum"/>
1235 <method name="copy" c:identifier="regress_test_simple_boxed_a_copy">
1236 <return-value transfer-ownership="full">
1237 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
1240 <method name="equals" c:identifier="regress_test_simple_boxed_a_equals">
1241 <return-value transfer-ownership="none">
1242 <type name="gboolean" c:type="gboolean"/>
1245 <parameter name="other_a" transfer-ownership="none">
1246 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
1250 <function name="const_return"
1251 c:identifier="regress_test_simple_boxed_a_const_return">
1252 <return-value transfer-ownership="none">
1253 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
1257 <record name="TestSimpleBoxedB"
1258 c:type="RegressTestSimpleBoxedB"
1259 glib:type-name="RegressTestSimpleBoxedB"
1260 glib:get-type="regress_test_simple_boxed_b_get_type"
1261 c:symbol-prefix="test_simple_boxed_b">
1262 <field name="some_int8" writable="1">
1263 <type name="gint8" c:type="gint8"/>
1265 <field name="nested_a" writable="1">
1266 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA"/>
1268 <method name="copy" c:identifier="regress_test_simple_boxed_b_copy">
1269 <return-value transfer-ownership="full">
1270 <type name="TestSimpleBoxedB" c:type="RegressTestSimpleBoxedB*"/>
1274 <callback name="TestSimpleCallback" c:type="RegressTestSimpleCallback">
1275 <return-value transfer-ownership="none">
1276 <type name="none" c:type="void"/>
1279 <record name="TestStructA" c:type="RegressTestStructA">
1280 <field name="some_int" writable="1">
1281 <type name="gint" c:type="gint"/>
1283 <field name="some_int8" writable="1">
1284 <type name="gint8" c:type="gint8"/>
1286 <field name="some_double" writable="1">
1287 <type name="gdouble" c:type="gdouble"/>
1289 <field name="some_enum" writable="1">
1290 <type name="TestEnum" c:type="RegressTestEnum"/>
1292 <method name="clone" c:identifier="regress_test_struct_a_clone">
1293 <doc xml:whitespace="preserve">Make a copy of a RegressTestStructA</doc>
1294 <return-value transfer-ownership="none">
1295 <type name="none" c:type="void"/>
1298 <parameter name="a_out"
1300 caller-allocates="1"
1301 transfer-ownership="none">
1302 <doc xml:whitespace="preserve">the cloned structure</doc>
1303 <type name="TestStructA" c:type="RegressTestStructA*"/>
1308 <record name="TestStructB" c:type="RegressTestStructB">
1309 <field name="some_int8" writable="1">
1310 <type name="gint8" c:type="gint8"/>
1312 <field name="nested_a" writable="1">
1313 <type name="TestStructA" c:type="RegressTestStructA"/>
1315 <method name="clone" c:identifier="regress_test_struct_b_clone">
1316 <doc xml:whitespace="preserve">Make a copy of a RegressTestStructB</doc>
1317 <return-value transfer-ownership="none">
1318 <type name="none" c:type="void"/>
1321 <parameter name="b_out"
1323 caller-allocates="1"
1324 transfer-ownership="none">
1325 <doc xml:whitespace="preserve">the cloned structure</doc>
1326 <type name="TestStructB" c:type="RegressTestStructB*"/>
1331 <record name="TestStructC" c:type="RegressTestStructC">
1332 <field name="another_int" writable="1">
1333 <type name="gint" c:type="gint"/>
1335 <field name="obj" writable="1">
1336 <type name="GObject.Object" c:type="GObject*"/>
1339 <record name="TestStructD" c:type="RegressTestStructD">
1340 <field name="array1" writable="1">
1341 <array c:type="RegressTestStructA**">
1342 <type name="TestStructA" c:type="RegressTestStructA*"/>
1345 <field name="array2" writable="1">
1346 <array c:type="gpointer*">
1347 <type name="TestObj"/>
1350 <field name="field" writable="1">
1351 <type name="TestObj"/>
1353 <field name="list" writable="1">
1354 <type name="GLib.List" c:type="GList*">
1355 <type name="TestObj"/>
1358 <field name="garray" writable="1">
1359 <array name="GLib.PtrArray" c:type="GPtrArray*">
1360 <type name="TestObj"/>
1364 <record name="TestStructE" c:type="RegressTestStructE">
1365 <field name="some_type" writable="1">
1366 <type name="GType" c:type="GType"/>
1368 <field name="some_union" writable="1">
1369 <array zero-terminated="0" fixed-size="2">
1370 <type name="TestStructE__some_union__union"/>
1374 <union name="TestStructE__some_union__union">
1375 <field name="v_int" writable="1">
1376 <type name="gint" c:type="gint"/>
1378 <field name="v_uint" writable="1">
1379 <type name="guint" c:type="guint"/>
1381 <field name="v_long" writable="1">
1382 <type name="glong" c:type="glong"/>
1384 <field name="v_ulong" writable="1">
1385 <type name="gulong" c:type="gulong"/>
1387 <field name="v_int64" writable="1">
1388 <type name="gint64" c:type="gint64"/>
1390 <field name="v_uint64" writable="1">
1391 <type name="guint64" c:type="guint64"/>
1393 <field name="v_float" writable="1">
1394 <type name="gfloat" c:type="gfloat"/>
1396 <field name="v_double" writable="1">
1397 <type name="gdouble" c:type="gdouble"/>
1399 <field name="v_pointer" writable="1">
1400 <type name="gpointer" c:type="gpointer"/>
1403 <record name="TestStructFixedArray" c:type="RegressTestStructFixedArray">
1404 <field name="just_int" writable="1">
1405 <type name="gint" c:type="gint"/>
1407 <field name="array" writable="1">
1408 <array zero-terminated="0" c:type="gint" fixed-size="10">
1409 <type name="gint" c:type="gint"/>
1412 <method name="frob" c:identifier="regress_test_struct_fixed_array_frob">
1413 <return-value transfer-ownership="none">
1414 <type name="none" c:type="void"/>
1418 <class name="TestSubObj"
1419 c:symbol-prefix="test_sub_obj"
1420 c:type="RegressTestSubObj"
1422 glib:type-name="RegressTestSubObj"
1423 glib:get-type="regress_test_sub_obj_get_type"
1424 glib:type-struct="TestSubObjClass">
1425 <constructor name="new" c:identifier="regress_test_sub_obj_new">
1426 <return-value transfer-ownership="full">
1427 <type name="TestObj" c:type="RegressTestObj*"/>
1430 <method name="instance_method"
1431 c:identifier="regress_test_sub_obj_instance_method">
1432 <return-value transfer-ownership="none">
1433 <type name="gint" c:type="int"/>
1436 <method name="unset_bare" c:identifier="regress_test_sub_obj_unset_bare">
1437 <return-value transfer-ownership="none">
1438 <type name="none" c:type="void"/>
1441 <field name="parent_instance">
1442 <type name="TestObj" c:type="RegressTestObj"/>
1445 <record name="TestSubObjClass"
1446 c:type="RegressTestSubObjClass"
1447 glib:is-gtype-struct-for="TestSubObj">
1448 <field name="parent_class">
1449 <type name="TestObjClass" c:type="RegressTestObjClass"/>
1452 <class name="TestWi8021x"
1453 c:symbol-prefix="test_wi_802_1x"
1454 c:type="RegressTestWi8021x"
1455 parent="GObject.Object"
1456 glib:type-name="RegressTestWi8021x"
1457 glib:get-type="regress_test_wi_802_1x_get_type"
1458 glib:type-struct="TestWi8021xClass">
1459 <constructor name="new" c:identifier="regress_test_wi_802_1x_new">
1460 <return-value transfer-ownership="full">
1461 <type name="TestWi8021x" c:type="RegressTestWi8021x*"/>
1464 <function name="static_method"
1465 c:identifier="regress_test_wi_802_1x_static_method">
1466 <return-value transfer-ownership="none">
1467 <type name="gint" c:type="int"/>
1470 <parameter name="x" transfer-ownership="none">
1471 <type name="gint" c:type="int"/>
1475 <method name="get_testbool"
1476 c:identifier="regress_test_wi_802_1x_get_testbool">
1477 <return-value transfer-ownership="none">
1478 <type name="gboolean" c:type="gboolean"/>
1481 <method name="set_testbool"
1482 c:identifier="regress_test_wi_802_1x_set_testbool">
1483 <return-value transfer-ownership="none">
1484 <type name="none" c:type="void"/>
1487 <parameter name="v" transfer-ownership="none">
1488 <type name="gboolean" c:type="gboolean"/>
1492 <property name="testbool" writable="1" transfer-ownership="none">
1493 <type name="gboolean"/>
1495 <field name="parent_instance">
1496 <type name="GObject.Object" c:type="GObject"/>
1498 <field name="testbool">
1499 <type name="gboolean" c:type="gboolean"/>
1502 <record name="TestWi8021xClass"
1503 c:type="RegressTestWi8021xClass"
1504 glib:is-gtype-struct-for="TestWi8021x">
1505 <field name="parent_class">
1506 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
1509 <constant name="UTF8_CONSTANT"
1510 value="const ♥ utf8"
1511 c:type="REGRESS_UTF8_CONSTANT">
1512 <type name="utf8" c:type="gchar*"/>
1514 <function name="aliased_caller_alloc"
1515 c:identifier="regress_aliased_caller_alloc">
1516 <return-value transfer-ownership="none">
1517 <type name="none" c:type="void"/>
1520 <parameter name="boxed"
1522 caller-allocates="1"
1523 transfer-ownership="none">
1524 <type name="AliasedTestBoxed" c:type="RegressAliasedTestBoxed*"/>
1528 <function name="func_obj_null_in" c:identifier="regress_func_obj_null_in">
1529 <return-value transfer-ownership="none">
1530 <type name="none" c:type="void"/>
1533 <parameter name="obj" transfer-ownership="none" allow-none="1">
1534 <doc xml:whitespace="preserve">A #RegressTestObj</doc>
1535 <type name="TestObj" c:type="RegressTestObj*"/>
1539 <function name="global_get_flags_out"
1540 c:identifier="regress_global_get_flags_out">
1541 <return-value transfer-ownership="none">
1542 <type name="none" c:type="void"/>
1547 caller-allocates="0"
1548 transfer-ownership="full">
1549 <doc xml:whitespace="preserve">A flags value</doc>
1550 <type name="TestFlags" c:type="RegressTestFlags*"/>
1554 <function name="has_parameter_named_attrs"
1555 c:identifier="regress_has_parameter_named_attrs">
1556 <doc xml:whitespace="preserve">This test case mirrors GnomeKeyringPasswordSchema from
1557 libgnome-keyring.</doc>
1558 <return-value transfer-ownership="none">
1559 <type name="none" c:type="void"/>
1562 <parameter name="foo" transfer-ownership="none">
1563 <doc xml:whitespace="preserve">some int</doc>
1564 <type name="gint" c:type="int"/>
1566 <parameter name="attributes" transfer-ownership="none">
1567 <doc xml:whitespace="preserve">list of attributes</doc>
1568 <array zero-terminated="0" c:type="gpointer" fixed-size="32">
1569 <type name="guint32" c:type="gpointer"/>
1574 <function name="introspectable_via_alias"
1575 c:identifier="regress_introspectable_via_alias">
1576 <return-value transfer-ownership="none">
1577 <type name="none" c:type="void"/>
1580 <parameter name="data" transfer-ownership="none">
1581 <type name="PtrArrayAlias" c:type="RegressPtrArrayAlias*"/>
1585 <function name="not_introspectable_via_alias"
1586 c:identifier="regress_not_introspectable_via_alias"
1588 <return-value transfer-ownership="none">
1589 <type name="none" c:type="void"/>
1592 <parameter name="ok" transfer-ownership="none">
1593 <type name="VaListAlias" c:type="RegressVaListAlias"/>
1597 <function name="random_function_with_skipped_structure"
1598 c:identifier="regress_random_function_with_skipped_structure"
1600 <return-value transfer-ownership="none">
1601 <type name="none" c:type="void"/>
1604 <parameter name="x" transfer-ownership="none">
1605 <type name="gint" c:type="int"/>
1607 <parameter name="foo" transfer-ownership="none">
1608 <type name="SkippedStructure" c:type="RegressSkippedStructure*"/>
1610 <parameter name="v" transfer-ownership="none">
1611 <type name="gdouble" c:type="double"/>
1615 <function name="set_abort_on_error"
1616 c:identifier="regress_set_abort_on_error">
1617 <return-value transfer-ownership="none">
1618 <type name="none" c:type="void"/>
1621 <parameter name="abort_on_error" transfer-ownership="none">
1622 <type name="gboolean" c:type="gboolean"/>
1626 <function name="test_array_callback"
1627 c:identifier="regress_test_array_callback">
1628 <return-value transfer-ownership="none">
1629 <type name="gint" c:type="int"/>
1632 <parameter name="callback" transfer-ownership="none" scope="call">
1633 <type name="TestCallbackArray" c:type="RegressTestCallbackArray"/>
1637 <function name="test_array_fixed_out_objects"
1638 c:identifier="regress_test_array_fixed_out_objects">
1639 <return-value transfer-ownership="none">
1640 <type name="none" c:type="void"/>
1643 <parameter name="objs"
1645 caller-allocates="0"
1646 transfer-ownership="full">
1647 <doc xml:whitespace="preserve">An array of #RegressTestObj</doc>
1648 <array zero-terminated="0" c:type="RegressTestObj***" fixed-size="2">
1649 <type name="TestObj" c:type="RegressTestObj**"/>
1654 <function name="test_array_fixed_size_int_in"
1655 c:identifier="regress_test_array_fixed_size_int_in">
1656 <return-value transfer-ownership="none">
1657 <doc xml:whitespace="preserve">the sum of the items in @ints</doc>
1658 <type name="gint" c:type="int"/>
1661 <parameter name="ints" transfer-ownership="none">
1662 <doc xml:whitespace="preserve">a list of 5 integers</doc>
1663 <array zero-terminated="0" c:type="int*" fixed-size="5">
1664 <type name="gint" c:type="int"/>
1669 <function name="test_array_fixed_size_int_out"
1670 c:identifier="regress_test_array_fixed_size_int_out">
1671 <return-value transfer-ownership="none">
1672 <type name="none" c:type="void"/>
1675 <parameter name="ints"
1677 caller-allocates="0"
1678 transfer-ownership="full">
1679 <doc xml:whitespace="preserve">a list of 5 integers ranging from 0 to 4</doc>
1680 <array zero-terminated="0" c:type="int**" fixed-size="5">
1681 <type name="gint" c:type="int*"/>
1686 <function name="test_array_fixed_size_int_return"
1687 c:identifier="regress_test_array_fixed_size_int_return">
1688 <return-value transfer-ownership="full">
1689 <doc xml:whitespace="preserve">a list of 5 integers ranging from 0 to 4</doc>
1690 <array zero-terminated="0" c:type="int*" fixed-size="5">
1691 <type name="gint" c:type="int"/>
1695 <function name="test_array_gint16_in"
1696 c:identifier="regress_test_array_gint16_in">
1697 <return-value transfer-ownership="none">
1698 <type name="gint" c:type="int"/>
1701 <parameter name="n_ints" transfer-ownership="none">
1702 <type name="gint" c:type="int"/>
1704 <parameter name="ints" transfer-ownership="none">
1705 <doc xml:whitespace="preserve">List of ints</doc>
1706 <array length="0" zero-terminated="0" c:type="gint16*">
1707 <type name="gint16" c:type="gint16"/>
1712 <function name="test_array_gint32_in"
1713 c:identifier="regress_test_array_gint32_in">
1714 <return-value transfer-ownership="none">
1715 <type name="gint32" c:type="gint32"/>
1718 <parameter name="n_ints" transfer-ownership="none">
1719 <type name="gint" c:type="int"/>
1721 <parameter name="ints" transfer-ownership="none">
1722 <doc xml:whitespace="preserve">List of ints</doc>
1723 <array length="0" zero-terminated="0" c:type="gint32*">
1724 <type name="gint32" c:type="gint32"/>
1729 <function name="test_array_gint64_in"
1730 c:identifier="regress_test_array_gint64_in">
1731 <return-value transfer-ownership="none">
1732 <type name="gint64" c:type="gint64"/>
1735 <parameter name="n_ints" transfer-ownership="none">
1736 <type name="gint" c:type="int"/>
1738 <parameter name="ints" transfer-ownership="none">
1739 <doc xml:whitespace="preserve">List of ints</doc>
1740 <array length="0" zero-terminated="0" c:type="gint64*">
1741 <type name="gint64" c:type="gint64"/>
1746 <function name="test_array_gint8_in"
1747 c:identifier="regress_test_array_gint8_in">
1748 <return-value transfer-ownership="none">
1749 <type name="gint" c:type="int"/>
1752 <parameter name="n_ints" transfer-ownership="none">
1753 <type name="gint" c:type="int"/>
1755 <parameter name="ints" transfer-ownership="none">
1756 <doc xml:whitespace="preserve">List of ints</doc>
1757 <array length="0" zero-terminated="0" c:type="gint8*">
1758 <type name="gint8" c:type="gint8"/>
1763 <function name="test_array_gtype_in"
1764 c:identifier="regress_test_array_gtype_in">
1765 <return-value transfer-ownership="full">
1766 <doc xml:whitespace="preserve">string representation of provided types</doc>
1767 <type name="utf8" c:type="char*"/>
1770 <parameter name="n_types" transfer-ownership="none">
1771 <type name="gint" c:type="int"/>
1773 <parameter name="types" transfer-ownership="none">
1774 <doc xml:whitespace="preserve">List of types</doc>
1775 <array length="0" zero-terminated="0" c:type="GType*">
1776 <type name="GType" c:type="GType"/>
1781 <function name="test_array_int_full_out"
1782 c:identifier="regress_test_array_int_full_out">
1783 <return-value transfer-ownership="full">
1784 <doc xml:whitespace="preserve">a new array of integers.</doc>
1785 <array length="0" zero-terminated="0" c:type="int*">
1786 <type name="gint" c:type="int"/>
1790 <parameter name="len"
1792 caller-allocates="0"
1793 transfer-ownership="full">
1794 <doc xml:whitespace="preserve">length of the returned array.</doc>
1795 <type name="gint" c:type="int*"/>
1799 <function name="test_array_int_in"
1800 c:identifier="regress_test_array_int_in">
1801 <return-value transfer-ownership="none">
1802 <type name="gint" c:type="int"/>
1805 <parameter name="n_ints" transfer-ownership="none">
1806 <type name="gint" c:type="int"/>
1808 <parameter name="ints" transfer-ownership="none">
1809 <doc xml:whitespace="preserve">List of ints</doc>
1810 <array length="0" zero-terminated="0" c:type="int*">
1811 <type name="gint" c:type="int"/>
1816 <function name="test_array_int_inout"
1817 c:identifier="regress_test_array_int_inout">
1818 <return-value transfer-ownership="none">
1819 <type name="none" c:type="void"/>
1822 <parameter name="n_ints"
1824 caller-allocates="0"
1825 transfer-ownership="full">
1826 <doc xml:whitespace="preserve">the length of @ints</doc>
1827 <type name="gint" c:type="int*"/>
1829 <parameter name="ints"
1831 caller-allocates="0"
1832 transfer-ownership="full">
1833 <doc xml:whitespace="preserve">a list of integers whose items will be increased by 1, except the first that will be dropped</doc>
1834 <array length="0" zero-terminated="0" c:type="int**">
1835 <type name="gint" c:type="int*"/>
1840 <function name="test_array_int_none_out"
1841 c:identifier="regress_test_array_int_none_out">
1842 <return-value transfer-ownership="none">
1843 <doc xml:whitespace="preserve">a static array of integers.</doc>
1844 <array length="0" zero-terminated="0" c:type="int*">
1845 <type name="gint" c:type="int"/>
1849 <parameter name="len"
1851 caller-allocates="0"
1852 transfer-ownership="full">
1853 <doc xml:whitespace="preserve">length of the returned array.</doc>
1854 <type name="gint" c:type="int*"/>
1858 <function name="test_array_int_null_in"
1859 c:identifier="regress_test_array_int_null_in">
1860 <return-value transfer-ownership="none">
1861 <type name="none" c:type="void"/>
1864 <parameter name="arr" transfer-ownership="none" allow-none="1">
1865 <array length="1" zero-terminated="0" c:type="int*">
1866 <type name="gint" c:type="int"/>
1869 <parameter name="len" transfer-ownership="none">
1870 <doc xml:whitespace="preserve">length</doc>
1871 <type name="gint" c:type="int"/>
1875 <function name="test_array_int_null_out"
1876 c:identifier="regress_test_array_int_null_out">
1877 <return-value transfer-ownership="none">
1878 <type name="none" c:type="void"/>
1881 <parameter name="arr"
1883 caller-allocates="0"
1884 transfer-ownership="full"
1886 <array length="1" zero-terminated="0" c:type="int**">
1887 <type name="gint" c:type="int*"/>
1890 <parameter name="len"
1892 caller-allocates="0"
1893 transfer-ownership="full">
1894 <doc xml:whitespace="preserve">length</doc>
1895 <type name="gint" c:type="int*"/>
1899 <function name="test_array_int_out"
1900 c:identifier="regress_test_array_int_out">
1901 <return-value transfer-ownership="none">
1902 <type name="none" c:type="void"/>
1905 <parameter name="n_ints"
1907 caller-allocates="0"
1908 transfer-ownership="full">
1909 <doc xml:whitespace="preserve">the length of @ints</doc>
1910 <type name="gint" c:type="int*"/>
1912 <parameter name="ints"
1914 caller-allocates="0"
1915 transfer-ownership="full">
1916 <doc xml:whitespace="preserve">a list of 5 integers, from 0 to 4 in consecutive order</doc>
1917 <array length="0" zero-terminated="0" c:type="int**">
1918 <type name="gint" c:type="int*"/>
1923 <function name="test_async_ready_callback"
1924 c:identifier="regress_test_async_ready_callback">
1925 <return-value transfer-ownership="none">
1926 <type name="none" c:type="void"/>
1929 <parameter name="callback"
1930 transfer-ownership="none"
1933 <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
1937 <function name="test_boolean" c:identifier="regress_test_boolean">
1938 <return-value transfer-ownership="none">
1939 <type name="gboolean" c:type="gboolean"/>
1942 <parameter name="in" transfer-ownership="none">
1943 <type name="gboolean" c:type="gboolean"/>
1947 <function name="test_boolean_false"
1948 c:identifier="regress_test_boolean_false">
1949 <return-value transfer-ownership="none">
1950 <type name="gboolean" c:type="gboolean"/>
1953 <parameter name="in" transfer-ownership="none">
1954 <type name="gboolean" c:type="gboolean"/>
1958 <function name="test_boolean_true"
1959 c:identifier="regress_test_boolean_true">
1960 <return-value transfer-ownership="none">
1961 <type name="gboolean" c:type="gboolean"/>
1964 <parameter name="in" transfer-ownership="none">
1965 <type name="gboolean" c:type="gboolean"/>
1969 <function name="test_cairo_context_full_return"
1970 c:identifier="regress_test_cairo_context_full_return">
1971 <return-value transfer-ownership="full">
1972 <type name="cairo.Context" c:type="cairo_t*"/>
1975 <function name="test_cairo_context_none_in"
1976 c:identifier="regress_test_cairo_context_none_in">
1977 <return-value transfer-ownership="none">
1978 <type name="none" c:type="void"/>
1981 <parameter name="context" transfer-ownership="none">
1982 <type name="cairo.Context" c:type="cairo_t*"/>
1986 <function name="test_cairo_surface_full_out"
1987 c:identifier="regress_test_cairo_surface_full_out">
1988 <return-value transfer-ownership="none">
1989 <type name="none" c:type="void"/>
1992 <parameter name="surface"
1994 caller-allocates="0"
1995 transfer-ownership="full">
1996 <type name="cairo.Surface" c:type="cairo_surface_t**"/>
2000 <function name="test_cairo_surface_full_return"
2001 c:identifier="regress_test_cairo_surface_full_return">
2002 <return-value transfer-ownership="full">
2003 <type name="cairo.Surface" c:type="cairo_surface_t*"/>
2006 <function name="test_cairo_surface_none_in"
2007 c:identifier="regress_test_cairo_surface_none_in">
2008 <return-value transfer-ownership="none">
2009 <type name="none" c:type="void"/>
2012 <parameter name="surface" transfer-ownership="none">
2013 <type name="cairo.Surface" c:type="cairo_surface_t*"/>
2017 <function name="test_cairo_surface_none_return"
2018 c:identifier="regress_test_cairo_surface_none_return">
2019 <return-value transfer-ownership="none">
2020 <type name="cairo.Surface" c:type="cairo_surface_t*"/>
2023 <function name="test_callback" c:identifier="regress_test_callback">
2024 <return-value transfer-ownership="none">
2025 <type name="gint" c:type="int"/>
2028 <parameter name="callback"
2029 transfer-ownership="none"
2032 <type name="TestCallback" c:type="RegressTestCallback"/>
2036 <function name="test_callback_async"
2037 c:identifier="regress_test_callback_async">
2038 <return-value transfer-ownership="none">
2039 <type name="none" c:type="void"/>
2042 <parameter name="callback"
2043 transfer-ownership="none"
2046 <type name="TestCallbackUserData"
2047 c:type="RegressTestCallbackUserData"/>
2049 <parameter name="user_data" transfer-ownership="none">
2050 <type name="gpointer" c:type="gpointer"/>
2054 <function name="test_callback_destroy_notify"
2055 c:identifier="regress_test_callback_destroy_notify">
2056 <doc xml:whitespace="preserve">Notified - callback persists until a DestroyNotify delegate
2058 <return-value transfer-ownership="none">
2059 <type name="gint" c:type="int"/>
2062 <parameter name="callback"
2063 transfer-ownership="none"
2067 <type name="TestCallbackUserData"
2068 c:type="RegressTestCallbackUserData"/>
2070 <parameter name="user_data" transfer-ownership="none">
2071 <type name="gpointer" c:type="gpointer"/>
2073 <parameter name="notify" transfer-ownership="none" scope="async">
2074 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
2078 <function name="test_callback_thaw_async"
2079 c:identifier="regress_test_callback_thaw_async">
2080 <return-value transfer-ownership="none">
2081 <type name="gint" c:type="int"/>
2084 <function name="test_callback_thaw_notifications"
2085 c:identifier="regress_test_callback_thaw_notifications">
2086 <doc xml:whitespace="preserve">Invokes all callbacks installed by #test_callback_destroy_notify(),
2087 adding up their return values, and removes them, invoking the
2088 corresponding destroy notfications.</doc>
2089 <return-value transfer-ownership="none">
2090 <doc xml:whitespace="preserve">Sum of the return values of the invoked callbacks.</doc>
2091 <type name="gint" c:type="int"/>
2094 <function name="test_callback_user_data"
2095 c:identifier="regress_test_callback_user_data">
2096 <doc xml:whitespace="preserve">Call - callback parameter persists for the duration of the method
2097 call and can be released on return.</doc>
2098 <return-value transfer-ownership="none">
2099 <type name="gint" c:type="int"/>
2102 <parameter name="callback"
2103 transfer-ownership="none"
2106 <type name="TestCallbackUserData"
2107 c:type="RegressTestCallbackUserData"/>
2109 <parameter name="user_data" transfer-ownership="none">
2110 <type name="gpointer" c:type="gpointer"/>
2114 <function name="test_closure" c:identifier="regress_test_closure">
2115 <return-value transfer-ownership="none">
2116 <type name="gint" c:type="int"/>
2119 <parameter name="closure" transfer-ownership="none">
2120 <type name="GObject.Closure" c:type="GClosure*"/>
2124 <function name="test_closure_one_arg"
2125 c:identifier="regress_test_closure_one_arg">
2126 <return-value transfer-ownership="none">
2127 <type name="gint" c:type="int"/>
2130 <parameter name="closure" transfer-ownership="none">
2131 <type name="GObject.Closure" c:type="GClosure*"/>
2133 <parameter name="arg" transfer-ownership="none">
2134 <type name="gint" c:type="int"/>
2138 <function name="test_closure_variant"
2139 c:identifier="regress_test_closure_variant">
2140 <return-value transfer-ownership="full">
2141 <doc xml:whitespace="preserve">the return value of @closure</doc>
2142 <type name="GLib.Variant" c:type="GVariant*"/>
2145 <parameter name="closure" transfer-ownership="none">
2146 <doc xml:whitespace="preserve">GClosure which takes one GVariant and returns a GVariant</doc>
2147 <type name="GObject.Closure" c:type="GClosure*"/>
2149 <parameter name="arg" transfer-ownership="none" allow-none="1">
2150 <doc xml:whitespace="preserve">a GVariant passed as argument to @closure</doc>
2151 <type name="GLib.Variant" c:type="GVariant*"/>
2155 <function name="test_date_in_gvalue"
2156 c:identifier="regress_test_date_in_gvalue">
2157 <return-value transfer-ownership="full">
2158 <type name="GObject.Value" c:type="GValue*"/>
2161 <function name="test_double" c:identifier="regress_test_double">
2162 <return-value transfer-ownership="none">
2163 <type name="gdouble" c:type="gdouble"/>
2166 <parameter name="in" transfer-ownership="none">
2167 <type name="gdouble" c:type="gdouble"/>
2171 <function name="test_enum_param"
2172 c:identifier="regress_test_enum_param"
2173 moved-to="TestEnum.param">
2174 <return-value transfer-ownership="none">
2175 <type name="utf8" c:type="gchar*"/>
2178 <parameter name="e" transfer-ownership="none">
2179 <type name="TestEnum" c:type="RegressTestEnum"/>
2183 <function name="test_filename_return"
2184 c:identifier="regress_test_filename_return">
2185 <return-value transfer-ownership="full">
2186 <doc xml:whitespace="preserve">list of strings</doc>
2187 <type name="GLib.SList" c:type="GSList*">
2188 <type name="filename"/>
2192 <function name="test_float" c:identifier="regress_test_float">
2193 <return-value transfer-ownership="none">
2194 <type name="gfloat" c:type="gfloat"/>
2197 <parameter name="in" transfer-ownership="none">
2198 <type name="gfloat" c:type="gfloat"/>
2202 <function name="test_garray_container_return"
2203 c:identifier="regress_test_garray_container_return">
2204 <return-value transfer-ownership="container">
2205 <array name="GLib.PtrArray" c:type="GPtrArray*">
2210 <function name="test_garray_full_return"
2211 c:identifier="regress_test_garray_full_return">
2212 <return-value transfer-ownership="full">
2213 <array name="GLib.PtrArray" c:type="GPtrArray*">
2218 <function name="test_gerror_callback"
2219 c:identifier="regress_test_gerror_callback">
2220 <return-value transfer-ownership="none">
2221 <type name="none" c:type="void"/>
2224 <parameter name="callback" transfer-ownership="none" scope="call">
2225 <type name="TestCallbackGError" c:type="RegressTestCallbackGError"/>
2229 <function name="test_ghash_container_return"
2230 c:identifier="regress_test_ghash_container_return">
2231 <return-value transfer-ownership="container">
2232 <type name="GLib.HashTable" c:type="GHashTable*">
2238 <function name="test_ghash_everything_return"
2239 c:identifier="regress_test_ghash_everything_return">
2240 <return-value transfer-ownership="full">
2241 <type name="GLib.HashTable" c:type="GHashTable*">
2247 <function name="test_ghash_gvalue_in"
2248 c:identifier="regress_test_ghash_gvalue_in">
2249 <return-value transfer-ownership="none">
2250 <type name="none" c:type="void"/>
2253 <parameter name="hash" transfer-ownership="none">
2254 <doc xml:whitespace="preserve">the hash table returned by regress_test_ghash_gvalue_return().</doc>
2255 <type name="GLib.HashTable" c:type="GHashTable*">
2257 <type name="GObject.Value"/>
2262 <function name="test_ghash_gvalue_return"
2263 c:identifier="regress_test_ghash_gvalue_return">
2264 <return-value transfer-ownership="none">
2265 <type name="GLib.HashTable" c:type="GHashTable*">
2267 <type name="GObject.Value"/>
2271 <function name="test_ghash_nested_everything_return"
2272 c:identifier="regress_test_ghash_nested_everything_return">
2273 <doc xml:whitespace="preserve">Specify nested parameterized types directly with the (type ) annotation.</doc>
2274 <return-value transfer-ownership="full">
2275 <type name="GLib.HashTable" c:type="GHashTable*">
2277 <type name="GLib.HashTable">
2284 <function name="test_ghash_nested_everything_return2"
2285 c:identifier="regress_test_ghash_nested_everything_return2">
2286 <doc xml:whitespace="preserve">Another way of specifying nested parameterized types: using the
2287 element-type annotation.</doc>
2288 <return-value transfer-ownership="full">
2289 <type name="GLib.HashTable" c:type="GHashTable*">
2291 <type name="GLib.HashTable">
2298 <function name="test_ghash_nothing_in"
2299 c:identifier="regress_test_ghash_nothing_in">
2300 <return-value transfer-ownership="none">
2301 <type name="none" c:type="void"/>
2304 <parameter name="in" transfer-ownership="none">
2305 <type name="GLib.HashTable" c:type="GHashTable*">
2312 <function name="test_ghash_nothing_in2"
2313 c:identifier="regress_test_ghash_nothing_in2">
2314 <return-value transfer-ownership="none">
2315 <type name="none" c:type="void"/>
2318 <parameter name="in" transfer-ownership="none">
2319 <type name="GLib.HashTable" c:type="GHashTable*">
2326 <function name="test_ghash_nothing_return"
2327 c:identifier="regress_test_ghash_nothing_return">
2328 <return-value transfer-ownership="none">
2329 <type name="GLib.HashTable" c:type="GHashTable*">
2335 <function name="test_ghash_nothing_return2"
2336 c:identifier="regress_test_ghash_nothing_return2">
2337 <return-value transfer-ownership="none">
2338 <type name="GLib.HashTable" c:type="GHashTable*">
2344 <function name="test_ghash_null_in"
2345 c:identifier="regress_test_ghash_null_in">
2346 <return-value transfer-ownership="none">
2347 <type name="none" c:type="void"/>
2350 <parameter name="in" transfer-ownership="none" allow-none="1">
2351 <type name="GLib.HashTable" c:type="GHashTable*">
2358 <function name="test_ghash_null_out"
2359 c:identifier="regress_test_ghash_null_out">
2360 <return-value transfer-ownership="none">
2361 <type name="none" c:type="void"/>
2364 <parameter name="out"
2366 caller-allocates="0"
2367 transfer-ownership="full"
2369 <type name="GLib.HashTable" c:type="GHashTable**">
2376 <function name="test_ghash_null_return"
2377 c:identifier="regress_test_ghash_null_return">
2378 <return-value transfer-ownership="none">
2379 <type name="GLib.HashTable" c:type="GHashTable*">
2385 <function name="test_glist_container_return"
2386 c:identifier="regress_test_glist_container_return">
2387 <return-value transfer-ownership="container">
2388 <type name="GLib.List" c:type="GList*">
2393 <function name="test_glist_everything_return"
2394 c:identifier="regress_test_glist_everything_return">
2395 <return-value transfer-ownership="full">
2396 <type name="GLib.List" c:type="GList*">
2401 <function name="test_glist_nothing_in"
2402 c:identifier="regress_test_glist_nothing_in">
2403 <return-value transfer-ownership="none">
2404 <type name="none" c:type="void"/>
2407 <parameter name="in" transfer-ownership="none">
2408 <type name="GLib.List" c:type="GList*">
2414 <function name="test_glist_nothing_in2"
2415 c:identifier="regress_test_glist_nothing_in2">
2416 <return-value transfer-ownership="none">
2417 <type name="none" c:type="void"/>
2420 <parameter name="in" transfer-ownership="none">
2421 <type name="GLib.List" c:type="GList*">
2427 <function name="test_glist_nothing_return"
2428 c:identifier="regress_test_glist_nothing_return">
2429 <return-value transfer-ownership="none">
2430 <type name="GLib.List" c:type="GList*">
2435 <function name="test_glist_nothing_return2"
2436 c:identifier="regress_test_glist_nothing_return2">
2437 <return-value transfer-ownership="none">
2438 <type name="GLib.List" c:type="GList*">
2443 <function name="test_glist_null_in"
2444 c:identifier="regress_test_glist_null_in">
2445 <return-value transfer-ownership="none">
2446 <type name="none" c:type="void"/>
2449 <parameter name="in" transfer-ownership="none" allow-none="1">
2450 <type name="GLib.SList" c:type="GSList*">
2456 <function name="test_glist_null_out"
2457 c:identifier="regress_test_glist_null_out">
2458 <return-value transfer-ownership="none">
2459 <type name="none" c:type="void"/>
2462 <parameter name="out_list"
2464 caller-allocates="0"
2465 transfer-ownership="full"
2467 <type name="GLib.SList" c:type="GSList**">
2473 <function name="test_gslist_container_return"
2474 c:identifier="regress_test_gslist_container_return">
2475 <return-value transfer-ownership="container">
2476 <type name="GLib.SList" c:type="GSList*">
2481 <function name="test_gslist_everything_return"
2482 c:identifier="regress_test_gslist_everything_return">
2483 <return-value transfer-ownership="full">
2484 <type name="GLib.SList" c:type="GSList*">
2489 <function name="test_gslist_nothing_in"
2490 c:identifier="regress_test_gslist_nothing_in">
2491 <return-value transfer-ownership="none">
2492 <type name="none" c:type="void"/>
2495 <parameter name="in" transfer-ownership="none">
2496 <type name="GLib.SList" c:type="GSList*">
2502 <function name="test_gslist_nothing_in2"
2503 c:identifier="regress_test_gslist_nothing_in2">
2504 <return-value transfer-ownership="none">
2505 <type name="none" c:type="void"/>
2508 <parameter name="in" transfer-ownership="none">
2509 <type name="GLib.SList" c:type="GSList*">
2515 <function name="test_gslist_nothing_return"
2516 c:identifier="regress_test_gslist_nothing_return">
2517 <return-value transfer-ownership="none">
2518 <type name="GLib.SList" c:type="GSList*">
2523 <function name="test_gslist_nothing_return2"
2524 c:identifier="regress_test_gslist_nothing_return2">
2525 <return-value transfer-ownership="none">
2526 <type name="GLib.SList" c:type="GSList*">
2531 <function name="test_gslist_null_in"
2532 c:identifier="regress_test_gslist_null_in">
2533 <return-value transfer-ownership="none">
2534 <type name="none" c:type="void"/>
2537 <parameter name="in" transfer-ownership="none" allow-none="1">
2538 <type name="GLib.SList" c:type="GSList*">
2544 <function name="test_gslist_null_out"
2545 c:identifier="regress_test_gslist_null_out">
2546 <return-value transfer-ownership="none">
2547 <type name="none" c:type="void"/>
2550 <parameter name="out_list"
2552 caller-allocates="0"
2553 transfer-ownership="full"
2555 <type name="GLib.SList" c:type="GSList**">
2561 <function name="test_gtype" c:identifier="regress_test_gtype">
2562 <return-value transfer-ownership="none">
2563 <type name="GType" c:type="GType"/>
2566 <parameter name="in" transfer-ownership="none">
2567 <type name="GType" c:type="GType"/>
2571 <function name="test_gvariant_as" c:identifier="regress_test_gvariant_as">
2572 <return-value transfer-ownership="none">
2573 <doc xml:whitespace="preserve">New variant</doc>
2574 <type name="GLib.Variant" c:type="GVariant*"/>
2577 <function name="test_gvariant_asv"
2578 c:identifier="regress_test_gvariant_asv">
2579 <return-value transfer-ownership="none">
2580 <doc xml:whitespace="preserve">New variant</doc>
2581 <type name="GLib.Variant" c:type="GVariant*"/>
2584 <function name="test_gvariant_i" c:identifier="regress_test_gvariant_i">
2585 <return-value transfer-ownership="none">
2586 <doc xml:whitespace="preserve">New variant</doc>
2587 <type name="GLib.Variant" c:type="GVariant*"/>
2590 <function name="test_gvariant_s" c:identifier="regress_test_gvariant_s">
2591 <return-value transfer-ownership="none">
2592 <doc xml:whitespace="preserve">New variant</doc>
2593 <type name="GLib.Variant" c:type="GVariant*"/>
2596 <function name="test_gvariant_v" c:identifier="regress_test_gvariant_v">
2597 <return-value transfer-ownership="none">
2598 <doc xml:whitespace="preserve">New variant</doc>
2599 <type name="GLib.Variant" c:type="GVariant*"/>
2602 <function name="test_hash_table_callback"
2603 c:identifier="regress_test_hash_table_callback">
2604 <return-value transfer-ownership="none">
2605 <type name="none" c:type="void"/>
2608 <parameter name="data" transfer-ownership="none">
2609 <doc xml:whitespace="preserve">GHashTable that gets passed to callback</doc>
2610 <type name="GLib.HashTable" c:type="GHashTable*">
2615 <parameter name="callback" transfer-ownership="none" scope="call">
2616 <type name="TestCallbackHashtable"
2617 c:type="RegressTestCallbackHashtable"/>
2621 <function name="test_int" c:identifier="regress_test_int">
2622 <return-value transfer-ownership="none">
2623 <type name="gint" c:type="gint"/>
2626 <parameter name="in" transfer-ownership="none">
2627 <type name="gint" c:type="gint"/>
2631 <function name="test_int16" c:identifier="regress_test_int16">
2632 <return-value transfer-ownership="none">
2633 <type name="gint16" c:type="gint16"/>
2636 <parameter name="in" transfer-ownership="none">
2637 <type name="gint16" c:type="gint16"/>
2641 <function name="test_int32" c:identifier="regress_test_int32">
2642 <return-value transfer-ownership="none">
2643 <type name="gint32" c:type="gint32"/>
2646 <parameter name="in" transfer-ownership="none">
2647 <type name="gint32" c:type="gint32"/>
2651 <function name="test_int64" c:identifier="regress_test_int64">
2652 <return-value transfer-ownership="none">
2653 <type name="gint64" c:type="gint64"/>
2656 <parameter name="in" transfer-ownership="none">
2657 <type name="gint64" c:type="gint64"/>
2661 <function name="test_int8" c:identifier="regress_test_int8">
2662 <return-value transfer-ownership="none">
2663 <type name="gint8" c:type="gint8"/>
2666 <parameter name="in" transfer-ownership="none">
2667 <type name="gint8" c:type="gint8"/>
2671 <function name="test_int_out_utf8"
2672 c:identifier="regress_test_int_out_utf8">
2673 <return-value transfer-ownership="none">
2674 <type name="none" c:type="void"/>
2677 <parameter name="length"
2679 caller-allocates="0"
2680 transfer-ownership="full">
2681 <type name="gint" c:type="int*"/>
2683 <parameter name="in" transfer-ownership="none">
2684 <type name="utf8" c:type="char*"/>
2688 <function name="test_int_value_arg"
2689 c:identifier="regress_test_int_value_arg">
2690 <return-value transfer-ownership="none">
2691 <type name="gint" c:type="int"/>
2694 <parameter name="v" transfer-ownership="none">
2695 <type name="GObject.Value" c:type="GValue*"/>
2699 <function name="test_long" c:identifier="regress_test_long">
2700 <return-value transfer-ownership="none">
2701 <type name="glong" c:type="glong"/>
2704 <parameter name="in" transfer-ownership="none">
2705 <type name="glong" c:type="glong"/>
2709 <function name="test_multi_callback"
2710 c:identifier="regress_test_multi_callback">
2711 <return-value transfer-ownership="none">
2712 <type name="gint" c:type="int"/>
2715 <parameter name="callback"
2716 transfer-ownership="none"
2719 <type name="TestCallback" c:type="RegressTestCallback"/>
2723 <function name="test_multi_double_args"
2724 c:identifier="regress_test_multi_double_args">
2725 <return-value transfer-ownership="none">
2726 <type name="none" c:type="void"/>
2729 <parameter name="in" transfer-ownership="none">
2730 <type name="gdouble" c:type="gdouble"/>
2732 <parameter name="one"
2734 caller-allocates="0"
2735 transfer-ownership="full">
2736 <type name="gdouble" c:type="gdouble*"/>
2738 <parameter name="two"
2740 caller-allocates="0"
2741 transfer-ownership="full">
2742 <type name="gdouble" c:type="gdouble*"/>
2746 <function name="test_multiline_doc_comments"
2747 c:identifier="regress_test_multiline_doc_comments">
2748 <doc xml:whitespace="preserve">This is a function.
2750 It has multiple lines in the documentation.
2754 You will give me your credit card number.</doc>
2755 <return-value transfer-ownership="none">
2756 <type name="none" c:type="void"/>
2759 <function name="test_nested_parameter"
2760 c:identifier="regress_test_nested_parameter">
2761 <doc xml:whitespace="preserve"><informaltable>
2762 <tgroup cols="3">
2765 <entry>Syntax</entry>
2766 <entry>Explanation</entry>
2767 <entry>Examples</entry>
2772 <entry>rgb(@r, @g, @b)</entry>
2773 <entry>An opaque color; @r, @g, @b can be either integers between
2774 0 and 255 or percentages</entry>
2775 <entry><literallayout>rgb(128, 10, 54)
2776 rgb(20%, 30%, 0%)</literallayout></entry>
2779 <entry>rgba(@r, @g, @b, @a)</entry>
2780 <entry>A translucent color; @r, @g, @b are as in the previous row,
2781 @a is a floating point number between 0 and 1</entry>
2782 <entry><literallayout>rgba(255, 255, 0, 0.5)</literallayout></entry>
2786 </informaltable>
2788 What we're testing here is that the scanner ignores the @a nested inside XML.</doc>
2789 <return-value transfer-ownership="none">
2790 <type name="none" c:type="void"/>
2793 <parameter name="a" transfer-ownership="none">
2794 <doc xml:whitespace="preserve">An integer</doc>
2795 <type name="gint" c:type="int"/>
2799 <function name="test_null_gerror_callback"
2800 c:identifier="regress_test_null_gerror_callback">
2801 <return-value transfer-ownership="none">
2802 <type name="none" c:type="void"/>
2805 <parameter name="callback" transfer-ownership="none" scope="call">
2806 <type name="TestCallbackGError" c:type="RegressTestCallbackGError"/>
2810 <function name="test_owned_gerror_callback"
2811 c:identifier="regress_test_owned_gerror_callback">
2812 <return-value transfer-ownership="none">
2813 <type name="none" c:type="void"/>
2816 <parameter name="callback" transfer-ownership="none" scope="call">
2817 <type name="TestCallbackOwnedGError"
2818 c:type="RegressTestCallbackOwnedGError"/>
2822 <function name="test_short" c:identifier="regress_test_short">
2823 <return-value transfer-ownership="none">
2824 <type name="gshort" c:type="gshort"/>
2827 <parameter name="in" transfer-ownership="none">
2828 <type name="gshort" c:type="gshort"/>
2832 <function name="test_simple_boxed_a_const_return"
2833 c:identifier="regress_test_simple_boxed_a_const_return"
2834 moved-to="TestSimpleBoxedA.const_return">
2835 <return-value transfer-ownership="none">
2836 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
2839 <function name="test_simple_callback"
2840 c:identifier="regress_test_simple_callback">
2841 <return-value transfer-ownership="none">
2842 <type name="none" c:type="void"/>
2845 <parameter name="callback"
2846 transfer-ownership="none"
2849 <type name="TestSimpleCallback" c:type="RegressTestSimpleCallback"/>
2853 <function name="test_size" c:identifier="regress_test_size">
2854 <return-value transfer-ownership="none">
2855 <type name="gsize" c:type="gsize"/>
2858 <parameter name="in" transfer-ownership="none">
2859 <type name="gsize" c:type="gsize"/>
2863 <function name="test_ssize" c:identifier="regress_test_ssize">
2864 <return-value transfer-ownership="none">
2865 <type name="gssize" c:type="gssize"/>
2868 <parameter name="in" transfer-ownership="none">
2869 <type name="gssize" c:type="gssize"/>
2873 <function name="test_strv_in" c:identifier="regress_test_strv_in">
2874 <return-value transfer-ownership="none">
2875 <type name="gboolean" c:type="gboolean"/>
2878 <parameter name="arr" transfer-ownership="none">
2879 <array c:type="char**">
2880 <type name="utf8" c:type="char*"/>
2885 <function name="test_strv_in_gvalue"
2886 c:identifier="regress_test_strv_in_gvalue">
2887 <return-value transfer-ownership="full">
2888 <type name="GObject.Value" c:type="GValue*"/>
2891 <function name="test_strv_out" c:identifier="regress_test_strv_out">
2892 <return-value transfer-ownership="full">
2893 <array c:type="char**">
2898 <function name="test_strv_out_c" c:identifier="regress_test_strv_out_c">
2899 <return-value transfer-ownership="none">
2900 <array c:type="char**">
2905 <function name="test_strv_out_container"
2906 c:identifier="regress_test_strv_out_container">
2907 <return-value transfer-ownership="container">
2908 <array c:type="char**">
2913 <function name="test_strv_outarg" c:identifier="regress_test_strv_outarg">
2914 <return-value transfer-ownership="none">
2915 <type name="none" c:type="void"/>
2918 <parameter name="retp"
2920 caller-allocates="0"
2921 transfer-ownership="container">
2922 <array c:type="char***">
2923 <type name="utf8" c:type="char**"/>
2928 <function name="test_timet" c:identifier="regress_test_timet">
2929 <return-value transfer-ownership="none">
2930 <type name="glong" c:type="time_t"/>
2933 <parameter name="in" transfer-ownership="none">
2934 <type name="glong" c:type="time_t"/>
2938 <function name="test_torture_signature_0"
2939 c:identifier="regress_test_torture_signature_0">
2940 <return-value transfer-ownership="none">
2941 <type name="none" c:type="void"/>
2944 <parameter name="x" transfer-ownership="none">
2945 <type name="gint" c:type="int"/>
2949 caller-allocates="0"
2950 transfer-ownership="full">
2951 <type name="gdouble" c:type="double*"/>
2955 caller-allocates="0"
2956 transfer-ownership="full">
2957 <type name="gint" c:type="int*"/>
2959 <parameter name="foo" transfer-ownership="none">
2960 <type name="utf8" c:type="char*"/>
2964 caller-allocates="0"
2965 transfer-ownership="full">
2966 <type name="gint" c:type="int*"/>
2968 <parameter name="m" transfer-ownership="none">
2969 <type name="guint" c:type="guint"/>
2973 <function name="test_torture_signature_1"
2974 c:identifier="regress_test_torture_signature_1"
2976 <doc xml:whitespace="preserve">This function throws an error if m is odd.</doc>
2977 <return-value transfer-ownership="none">
2978 <type name="gboolean" c:type="gboolean"/>
2981 <parameter name="x" transfer-ownership="none">
2982 <type name="gint" c:type="int"/>
2986 caller-allocates="0"
2987 transfer-ownership="full">
2988 <type name="gdouble" c:type="double*"/>
2992 caller-allocates="0"
2993 transfer-ownership="full">
2994 <type name="gint" c:type="int*"/>
2996 <parameter name="foo" transfer-ownership="none">
2997 <type name="utf8" c:type="char*"/>
3001 caller-allocates="0"
3002 transfer-ownership="full">
3003 <type name="gint" c:type="int*"/>
3005 <parameter name="m" transfer-ownership="none">
3006 <type name="guint" c:type="guint"/>
3010 <function name="test_torture_signature_2"
3011 c:identifier="regress_test_torture_signature_2">
3012 <return-value transfer-ownership="none">
3013 <type name="none" c:type="void"/>
3016 <parameter name="x" transfer-ownership="none">
3017 <type name="gint" c:type="int"/>
3019 <parameter name="callback"
3020 transfer-ownership="none"
3024 <type name="TestCallbackUserData"
3025 c:type="RegressTestCallbackUserData"/>
3027 <parameter name="user_data" transfer-ownership="none">
3028 <type name="gpointer" c:type="gpointer"/>
3030 <parameter name="notify" transfer-ownership="none" scope="async">
3031 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
3035 caller-allocates="0"
3036 transfer-ownership="full">
3037 <type name="gdouble" c:type="double*"/>
3041 caller-allocates="0"
3042 transfer-ownership="full">
3043 <type name="gint" c:type="int*"/>
3045 <parameter name="foo" transfer-ownership="none">
3046 <type name="utf8" c:type="char*"/>
3050 caller-allocates="0"
3051 transfer-ownership="full">
3052 <type name="gint" c:type="int*"/>
3054 <parameter name="m" transfer-ownership="none">
3055 <type name="guint" c:type="guint"/>
3059 <function name="test_uint" c:identifier="regress_test_uint">
3060 <return-value transfer-ownership="none">
3061 <type name="guint" c:type="guint"/>
3064 <parameter name="in" transfer-ownership="none">
3065 <type name="guint" c:type="guint"/>
3069 <function name="test_uint16" c:identifier="regress_test_uint16">
3070 <return-value transfer-ownership="none">
3071 <type name="guint16" c:type="guint16"/>
3074 <parameter name="in" transfer-ownership="none">
3075 <type name="guint16" c:type="guint16"/>
3079 <function name="test_uint32" c:identifier="regress_test_uint32">
3080 <return-value transfer-ownership="none">
3081 <type name="guint32" c:type="guint32"/>
3084 <parameter name="in" transfer-ownership="none">
3085 <type name="guint32" c:type="guint32"/>
3089 <function name="test_uint64" c:identifier="regress_test_uint64">
3090 <return-value transfer-ownership="none">
3091 <type name="guint64" c:type="guint64"/>
3094 <parameter name="in" transfer-ownership="none">
3095 <type name="guint64" c:type="guint64"/>
3099 <function name="test_uint8" c:identifier="regress_test_uint8">
3100 <return-value transfer-ownership="none">
3101 <type name="guint8" c:type="guint8"/>
3104 <parameter name="in" transfer-ownership="none">
3105 <type name="guint8" c:type="guint8"/>
3109 <function name="test_ulong" c:identifier="regress_test_ulong">
3110 <return-value transfer-ownership="none">
3111 <type name="gulong" c:type="gulong"/>
3114 <parameter name="in" transfer-ownership="none">
3115 <type name="gulong" c:type="gulong"/>
3119 <function name="test_unichar" c:identifier="regress_test_unichar">
3120 <return-value transfer-ownership="none">
3121 <type name="gunichar" c:type="gunichar"/>
3124 <parameter name="in" transfer-ownership="none">
3125 <type name="gunichar" c:type="gunichar"/>
3129 <function name="test_unsigned_enum_param"
3130 c:identifier="regress_test_unsigned_enum_param">
3131 <return-value transfer-ownership="none">
3132 <type name="utf8" c:type="gchar*"/>
3135 <parameter name="e" transfer-ownership="none">
3136 <type name="TestEnumUnsigned" c:type="RegressTestEnumUnsigned"/>
3140 <function name="test_ushort" c:identifier="regress_test_ushort">
3141 <return-value transfer-ownership="none">
3142 <type name="gushort" c:type="gushort"/>
3145 <parameter name="in" transfer-ownership="none">
3146 <type name="gushort" c:type="gushort"/>
3150 <function name="test_utf8_const_in"
3151 c:identifier="regress_test_utf8_const_in">
3152 <return-value transfer-ownership="none">
3153 <type name="none" c:type="void"/>
3156 <parameter name="in" transfer-ownership="none">
3157 <type name="utf8" c:type="char*"/>
3161 <function name="test_utf8_const_return"
3162 c:identifier="regress_test_utf8_const_return">
3163 <return-value transfer-ownership="none">
3164 <doc xml:whitespace="preserve">UTF-8 string</doc>
3165 <type name="utf8" c:type="char*"/>
3168 <function name="test_utf8_inout" c:identifier="regress_test_utf8_inout">
3169 <return-value transfer-ownership="none">
3170 <type name="none" c:type="void"/>
3173 <parameter name="inout"
3175 caller-allocates="0"
3176 transfer-ownership="full">
3177 <type name="utf8" c:type="char**"/>
3181 <function name="test_utf8_nonconst_return"
3182 c:identifier="regress_test_utf8_nonconst_return">
3183 <return-value transfer-ownership="full">
3184 <doc xml:whitespace="preserve">UTF-8 string</doc>
3185 <type name="utf8" c:type="char*"/>
3188 <function name="test_utf8_null_in"
3189 c:identifier="regress_test_utf8_null_in">
3190 <return-value transfer-ownership="none">
3191 <type name="none" c:type="void"/>
3194 <parameter name="in" transfer-ownership="none" allow-none="1">
3195 <type name="utf8" c:type="char*"/>
3199 <function name="test_utf8_null_out"
3200 c:identifier="regress_test_utf8_null_out">
3201 <return-value transfer-ownership="none">
3202 <type name="none" c:type="void"/>
3205 <parameter name="char_out"
3207 caller-allocates="0"
3208 transfer-ownership="full"
3210 <type name="utf8" c:type="char**"/>
3214 <function name="test_utf8_out" c:identifier="regress_test_utf8_out">
3215 <return-value transfer-ownership="none">
3216 <type name="none" c:type="void"/>
3219 <parameter name="out"
3221 caller-allocates="0"
3222 transfer-ownership="full">
3223 <type name="utf8" c:type="char**"/>
3227 <function name="test_utf8_out_nonconst_return"
3228 c:identifier="regress_test_utf8_out_nonconst_return">
3229 <return-value transfer-ownership="full">
3230 <doc xml:whitespace="preserve">a copy of "first"</doc>
3231 <type name="utf8" c:type="char*"/>
3234 <parameter name="out"
3236 caller-allocates="0"
3237 transfer-ownership="full">
3238 <doc xml:whitespace="preserve">a copy of "second"</doc>
3239 <type name="utf8" c:type="char**"/>
3243 <function name="test_utf8_out_out"
3244 c:identifier="regress_test_utf8_out_out">
3245 <return-value transfer-ownership="none">
3246 <type name="none" c:type="void"/>
3249 <parameter name="out0"
3251 caller-allocates="0"
3252 transfer-ownership="full">
3253 <doc xml:whitespace="preserve">a copy of "first"</doc>
3254 <type name="utf8" c:type="char**"/>
3256 <parameter name="out1"
3258 caller-allocates="0"
3259 transfer-ownership="full">
3260 <doc xml:whitespace="preserve">a copy of "second"</doc>
3261 <type name="utf8" c:type="char**"/>
3265 <function name="test_value_get_fundamental_object"
3266 c:identifier="regress_test_value_get_fundamental_object"
3269 <type name="TestFundamentalObject"
3270 c:type="RegressTestFundamentalObject*"/>
3273 <parameter name="value" transfer-ownership="none">
3274 <type name="GObject.Value" c:type="GValue*"/>
3278 <function name="test_value_return"
3279 c:identifier="regress_test_value_return">
3280 <return-value transfer-ownership="none">
3281 <doc xml:whitespace="preserve">the int wrapped in a GValue.</doc>
3282 <type name="GObject.Value" c:type="GValue*"/>
3285 <parameter name="i" transfer-ownership="none">
3286 <doc xml:whitespace="preserve">an int</doc>
3287 <type name="gint" c:type="int"/>
3291 <function name="test_value_set_fundamental_object"
3292 c:identifier="regress_test_value_set_fundamental_object"
3294 <return-value transfer-ownership="none">
3295 <type name="none" c:type="void"/>
3298 <parameter name="value" transfer-ownership="none">
3299 <type name="GObject.Value" c:type="GValue*"/>
3301 <parameter name="fundamental_object" transfer-ownership="none">
3302 <type name="TestFundamentalObject"
3303 c:type="RegressTestFundamentalObject*"/>