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="TestBoxedPrivate"
145 c:type="RegressTestBoxedPrivate"
148 <callback name="TestCallback" c:type="RegressTestCallback">
149 <return-value transfer-ownership="none">
150 <type name="gint" c:type="int"/>
153 <callback name="TestCallbackFull" c:type="RegressTestCallbackFull">
154 <return-value transfer-ownership="none">
155 <type name="gint" c:type="int"/>
158 <parameter name="foo" transfer-ownership="none">
159 <doc xml:whitespace="preserve">the investment rate</doc>
160 <type name="gint" c:type="int"/>
162 <parameter name="bar" transfer-ownership="none">
163 <doc xml:whitespace="preserve">how much money</doc>
164 <type name="gdouble" c:type="double"/>
166 <parameter name="path" transfer-ownership="none">
167 <doc xml:whitespace="preserve">Path to file</doc>
168 <type name="filename" c:type="char*"/>
172 <callback name="TestCallbackUserData" c:type="RegressTestCallbackUserData">
173 <return-value transfer-ownership="none">
174 <type name="gint" c:type="int"/>
177 <parameter name="user_data" transfer-ownership="none" closure="0">
178 <type name="gpointer" c:type="gpointer"/>
182 <enumeration name="TestEnum"
183 glib:type-name="RegressTestEnum"
184 glib:get-type="regress_test_enum_get_type"
185 c:type="RegressTestEnum">
186 <member name="value1"
188 c:identifier="REGRESS_TEST_VALUE1"
190 <member name="value2"
192 c:identifier="REGRESS_TEST_VALUE2"
194 <member name="value3"
196 c:identifier="REGRESS_TEST_VALUE3"
198 <member name="value4"
200 c:identifier="REGRESS_TEST_VALUE4"
202 <function name="param" c:identifier="regress_test_enum_param">
203 <return-value transfer-ownership="none">
204 <type name="utf8" c:type="gchar*"/>
207 <parameter name="e" transfer-ownership="none">
208 <type name="TestEnum" c:type="RegressTestEnum"/>
213 <enumeration name="TestEnumNoGEnum" c:type="RegressTestEnumNoGEnum">
214 <member name="evalue1" value="0" c:identifier="REGRESS_TEST_EVALUE1"/>
215 <member name="evalue2" value="42" c:identifier="REGRESS_TEST_EVALUE2"/>
216 <member name="evalue3" value="48" c:identifier="REGRESS_TEST_EVALUE3"/>
218 <enumeration name="TestEnumUnsigned"
219 glib:type-name="RegressTestEnumUnsigned"
220 glib:get-type="regress_test_enum_unsigned_get_type"
221 c:type="RegressTestEnumUnsigned">
222 <member name="value1"
224 c:identifier="REGRESS_TEST_UNSIGNED_VALUE1"
226 <member name="value2"
228 c:identifier="REGRESS_TEST_UNSIGNED_VALUE2"
231 <bitfield name="TestFlags"
232 glib:type-name="RegressTestFlags"
233 glib:get-type="regress_test_flags_get_type"
234 c:type="RegressTestFlags">
237 c:identifier="TEST_FLAG1"
241 c:identifier="TEST_FLAG2"
245 c:identifier="TEST_FLAG3"
248 <class name="TestFloating"
249 c:symbol-prefix="test_floating"
250 c:type="RegressTestFloating"
251 parent="GObject.InitiallyUnowned"
252 glib:type-name="RegressTestFloating"
253 glib:get-type="regress_test_floating_get_type"
254 glib:type-struct="TestFloatingClass">
255 <constructor name="new" c:identifier="regress_test_floating_new">
256 <return-value transfer-ownership="none">
257 <doc xml:whitespace="preserve">A new floating #RegressTestFloating</doc>
258 <type name="TestFloating" c:type="RegressTestFloating*"/>
261 <field name="parent_instance">
262 <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
265 <record name="TestFloatingClass"
266 c:type="RegressTestFloatingClass"
267 glib:is-gtype-struct-for="TestFloating">
268 <field name="parent_class">
269 <type name="GObject.InitiallyUnownedClass"
270 c:type="GInitiallyUnownedClass"/>
273 <class name="TestFundamentalObject"
274 c:symbol-prefix="test_fundamental_object"
275 c:type="RegressTestFundamentalObject"
277 glib:type-name="RegressTestFundamentalObject"
278 glib:get-type="regress_test_fundamental_object_get_type"
279 glib:type-struct="TestFundamentalObjectClass"
281 glib:ref-func="regress_test_fundamental_object_ref"
282 glib:unref-func="regress_test_fundamental_object_unref"
283 glib:set-value-func="regress_test_value_set_fundamental_object"
284 glib:get-value-func="regress_test_value_get_fundamental_object">
285 <method name="ref" c:identifier="regress_test_fundamental_object_ref">
286 <return-value transfer-ownership="full">
287 <doc xml:whitespace="preserve">A new #RegressTestFundamentalObject</doc>
288 <type name="TestFundamentalObject"
289 c:type="RegressTestFundamentalObject*"/>
293 c:identifier="regress_test_fundamental_object_unref">
294 <return-value transfer-ownership="none">
295 <type name="none" c:type="void"/>
298 <field name="instance">
299 <type name="GObject.TypeInstance" c:type="GTypeInstance"/>
301 <field name="refcount">
302 <type name="gint" c:type="gint"/>
305 <type name="guint" c:type="guint"/>
308 <record name="TestFundamentalObjectClass"
309 c:type="RegressTestFundamentalObjectClass"
310 glib:is-gtype-struct-for="TestFundamentalObject">
311 <field name="type_class">
312 <type name="GObject.TypeClass" c:type="GTypeClass"/>
315 <type name="TestFundamentalObjectCopyFunction"
316 c:type="RegressTestFundamentalObjectCopyFunction"/>
318 <field name="finalize">
319 <type name="TestFundamentalObjectFinalizeFunction"
320 c:type="RegressTestFundamentalObjectFinalizeFunction"/>
323 <callback name="TestFundamentalObjectCopyFunction"
324 c:type="RegressTestFundamentalObjectCopyFunction">
325 <return-value transfer-ownership="full">
326 <type name="TestFundamentalObject"
327 c:type="RegressTestFundamentalObject*"/>
330 <parameter name="obj" transfer-ownership="none">
331 <type name="TestFundamentalObject"
332 c:type="RegressTestFundamentalObject*"/>
336 <callback name="TestFundamentalObjectFinalizeFunction"
337 c:type="RegressTestFundamentalObjectFinalizeFunction">
338 <return-value transfer-ownership="none">
339 <type name="none" c:type="void"/>
342 <parameter name="obj" transfer-ownership="none">
343 <type name="TestFundamentalObject"
344 c:type="RegressTestFundamentalObject*"/>
348 <class name="TestFundamentalSubObject"
349 c:symbol-prefix="test_fundamental_sub_object"
350 c:type="RegressTestFundamentalSubObject"
351 parent="TestFundamentalObject"
352 glib:type-name="RegressTestFundamentalSubObject"
353 glib:get-type="regress_test_fundamental_sub_object_get_type"
354 glib:type-struct="TestFundamentalSubObjectClass"
355 glib:fundamental="1">
356 <constructor name="new"
357 c:identifier="regress_test_fundamental_sub_object_new">
358 <return-value transfer-ownership="full">
359 <type name="TestFundamentalSubObject"
360 c:type="RegressTestFundamentalSubObject*"/>
363 <parameter name="data" transfer-ownership="none">
364 <type name="utf8" c:type="char*"/>
368 <field name="fundamental_object">
369 <type name="TestFundamentalObject"
370 c:type="RegressTestFundamentalObject"/>
373 <type name="utf8" c:type="char*"/>
376 <record name="TestFundamentalSubObjectClass"
377 c:type="RegressTestFundamentalSubObjectClass"
378 glib:is-gtype-struct-for="TestFundamentalSubObject">
379 <field name="fundamental_object_class">
380 <type name="TestFundamentalObjectClass"
381 c:type="RegressTestFundamentalObjectClass"/>
384 <interface name="TestInterface"
385 c:symbol-prefix="test_interface"
386 c:type="RegressTestInterface"
387 glib:type-name="RegressTestInterface"
388 glib:get-type="regress_test_interface_get_type"
389 glib:type-struct="TestInterfaceIface">
391 <record name="TestInterfaceIface"
392 c:type="RegressTestInterfaceIface"
393 glib:is-gtype-struct-for="TestInterface">
394 <field name="base_iface">
395 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
398 <class name="TestObj"
399 c:symbol-prefix="test_obj"
400 c:type="RegressTestObj"
401 parent="GObject.Object"
402 glib:type-name="RegressTestObj"
403 glib:get-type="regress_test_obj_get_type"
404 glib:type-struct="TestObjClass">
405 <constructor name="constructor" c:identifier="regress_constructor">
406 <return-value transfer-ownership="full">
407 <type name="TestObj" c:type="RegressTestObj*"/>
410 <constructor name="new" c:identifier="regress_test_obj_new">
411 <return-value transfer-ownership="full">
412 <type name="TestObj" c:type="RegressTestObj*"/>
415 <parameter name="obj" transfer-ownership="none">
416 <doc xml:whitespace="preserve">A #RegressTestObj</doc>
417 <type name="TestObj" c:type="RegressTestObj*"/>
421 <constructor name="new_callback"
422 c:identifier="regress_test_obj_new_callback">
423 <return-value transfer-ownership="full">
424 <type name="TestObj" c:type="RegressTestObj*"/>
427 <parameter name="callback"
428 transfer-ownership="none"
432 <type name="TestCallbackUserData"
433 c:type="RegressTestCallbackUserData"/>
435 <parameter name="user_data" transfer-ownership="none">
436 <type name="gpointer" c:type="gpointer"/>
438 <parameter name="notify" transfer-ownership="none" scope="async">
439 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
443 <constructor name="new_from_file"
444 c:identifier="regress_test_obj_new_from_file"
446 <return-value transfer-ownership="full">
447 <type name="TestObj" c:type="RegressTestObj*"/>
450 <parameter name="x" transfer-ownership="none">
451 <type name="utf8" c:type="char*"/>
455 <function name="null_out" c:identifier="regress_test_obj_null_out">
456 <return-value transfer-ownership="none">
457 <type name="none" c:type="void"/>
460 <parameter name="obj"
463 transfer-ownership="full"
465 <doc xml:whitespace="preserve">A #RegressTestObj</doc>
466 <type name="TestObj" c:type="RegressTestObj**"/>
470 <function name="static_method"
471 c:identifier="regress_test_obj_static_method">
472 <return-value transfer-ownership="none">
473 <type name="gdouble" c:type="double"/>
476 <parameter name="x" transfer-ownership="none">
477 <type name="gint" c:type="int"/>
481 <function name="static_method_callback"
482 c:identifier="regress_test_obj_static_method_callback">
483 <return-value transfer-ownership="none">
484 <type name="none" c:type="void"/>
487 <parameter name="callback"
488 transfer-ownership="none"
491 <type name="TestCallback" c:type="RegressTestCallback"/>
495 <virtual-method name="matrix" invoker="do_matrix">
496 <doc xml:whitespace="preserve">This method is virtual. Notably its name differs from the virtual
497 slot name, which makes it useful for testing bindings handle this
499 <return-value transfer-ownership="none">
500 <type name="gint" c:type="int"/>
503 <parameter name="somestr" transfer-ownership="none">
504 <doc xml:whitespace="preserve">Meaningless string</doc>
505 <type name="utf8" c:type="char*"/>
509 <method name="do_matrix" c:identifier="regress_test_obj_do_matrix">
510 <doc xml:whitespace="preserve">This method is virtual. Notably its name differs from the virtual
511 slot name, which makes it useful for testing bindings handle this
513 <return-value transfer-ownership="none">
514 <type name="gint" c:type="int"/>
517 <parameter name="somestr" transfer-ownership="none">
518 <doc xml:whitespace="preserve">Meaningless string</doc>
519 <type name="utf8" c:type="char*"/>
523 <method name="emit_sig_with_obj"
524 c:identifier="regress_test_obj_emit_sig_with_obj">
525 <return-value transfer-ownership="none">
526 <type name="none" c:type="void"/>
529 <method name="forced_method" c:identifier="regress_forced_method">
530 <return-value transfer-ownership="none">
531 <type name="none" c:type="void"/>
534 <method name="instance_method"
535 c:identifier="regress_test_obj_instance_method">
536 <return-value transfer-ownership="none">
537 <type name="gint" c:type="int"/>
540 <method name="instance_method_callback"
541 c:identifier="regress_test_obj_instance_method_callback">
542 <return-value transfer-ownership="none">
543 <type name="none" c:type="void"/>
546 <parameter name="callback"
547 transfer-ownership="none"
550 <type name="TestCallback" c:type="RegressTestCallback"/>
554 <method name="set_bare" c:identifier="regress_test_obj_set_bare">
555 <return-value transfer-ownership="none">
556 <type name="none" c:type="void"/>
559 <parameter name="bare" transfer-ownership="none" allow-none="1">
560 <type name="GObject.Object" c:type="GObject*"/>
564 <method name="skip_inout_param"
565 c:identifier="regress_test_obj_skip_inout_param"
567 <doc xml:whitespace="preserve">Check that the out value is skipped</doc>
568 <return-value transfer-ownership="none">
569 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
570 <type name="gboolean" c:type="gboolean"/>
573 <parameter name="a" transfer-ownership="none">
574 <doc xml:whitespace="preserve">Parameter.</doc>
575 <type name="gint" c:type="gint"/>
577 <parameter name="out_b"
580 transfer-ownership="full">
581 <doc xml:whitespace="preserve">Return value.</doc>
582 <type name="gint" c:type="gint*"/>
584 <parameter name="c" transfer-ownership="none">
585 <doc xml:whitespace="preserve">Other parameter.</doc>
586 <type name="gdouble" c:type="gdouble"/>
588 <parameter name="inout_d"
591 transfer-ownership="full"
593 <doc xml:whitespace="preserve">Will be incremented.</doc>
594 <type name="gint" c:type="gint*"/>
596 <parameter name="out_sum"
599 transfer-ownership="full">
600 <doc xml:whitespace="preserve">Return value.</doc>
601 <type name="gint" c:type="gint*"/>
603 <parameter name="num1" transfer-ownership="none">
604 <doc xml:whitespace="preserve">Number.</doc>
605 <type name="gint" c:type="gint"/>
607 <parameter name="num2" transfer-ownership="none">
608 <doc xml:whitespace="preserve">Number.</doc>
609 <type name="gint" c:type="gint"/>
613 <method name="skip_out_param"
614 c:identifier="regress_test_obj_skip_out_param"
616 <doc xml:whitespace="preserve">Check that the out value is skipped</doc>
617 <return-value transfer-ownership="none">
618 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
619 <type name="gboolean" c:type="gboolean"/>
622 <parameter name="a" transfer-ownership="none">
623 <doc xml:whitespace="preserve">Parameter.</doc>
624 <type name="gint" c:type="gint"/>
626 <parameter name="out_b"
629 transfer-ownership="full"
631 <doc xml:whitespace="preserve">Return value.</doc>
632 <type name="gint" c:type="gint*"/>
634 <parameter name="c" transfer-ownership="none">
635 <doc xml:whitespace="preserve">Other parameter.</doc>
636 <type name="gdouble" c:type="gdouble"/>
638 <parameter name="inout_d"
641 transfer-ownership="full">
642 <doc xml:whitespace="preserve">Will be incremented.</doc>
643 <type name="gint" c:type="gint*"/>
645 <parameter name="out_sum"
648 transfer-ownership="full">
649 <doc xml:whitespace="preserve">Return value.</doc>
650 <type name="gint" c:type="gint*"/>
652 <parameter name="num1" transfer-ownership="none">
653 <doc xml:whitespace="preserve">Number.</doc>
654 <type name="gint" c:type="gint"/>
656 <parameter name="num2" transfer-ownership="none">
657 <doc xml:whitespace="preserve">Number.</doc>
658 <type name="gint" c:type="gint"/>
662 <method name="skip_param"
663 c:identifier="regress_test_obj_skip_param"
665 <doc xml:whitespace="preserve">Check that a parameter is skipped</doc>
666 <return-value transfer-ownership="none">
667 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
668 <type name="gboolean" c:type="gboolean"/>
671 <parameter name="a" transfer-ownership="none">
672 <doc xml:whitespace="preserve">Parameter.</doc>
673 <type name="gint" c:type="gint"/>
675 <parameter name="out_b"
678 transfer-ownership="full">
679 <doc xml:whitespace="preserve">Return value.</doc>
680 <type name="gint" c:type="gint*"/>
682 <parameter name="c" transfer-ownership="none" skip="1">
683 <doc xml:whitespace="preserve">Other parameter.</doc>
684 <type name="gdouble" c:type="gdouble"/>
686 <parameter name="inout_d"
689 transfer-ownership="full">
690 <doc xml:whitespace="preserve">Will be incremented.</doc>
691 <type name="gint" c:type="gint*"/>
693 <parameter name="out_sum"
696 transfer-ownership="full">
697 <doc xml:whitespace="preserve">Return value.</doc>
698 <type name="gint" c:type="gint*"/>
700 <parameter name="num1" transfer-ownership="none">
701 <doc xml:whitespace="preserve">Number.</doc>
702 <type name="gint" c:type="gint"/>
704 <parameter name="num2" transfer-ownership="none">
705 <doc xml:whitespace="preserve">Number.</doc>
706 <type name="gint" c:type="gint"/>
710 <method name="skip_return_val"
711 c:identifier="regress_test_obj_skip_return_val"
713 <doc xml:whitespace="preserve">Check that the return value is skipped</doc>
714 <return-value transfer-ownership="none" skip="1">
715 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
716 <type name="gboolean" c:type="gboolean"/>
719 <parameter name="a" transfer-ownership="none">
720 <doc xml:whitespace="preserve">Parameter.</doc>
721 <type name="gint" c:type="gint"/>
723 <parameter name="out_b"
726 transfer-ownership="full">
727 <doc xml:whitespace="preserve">A return value.</doc>
728 <type name="gint" c:type="gint*"/>
730 <parameter name="c" transfer-ownership="none">
731 <doc xml:whitespace="preserve">Other parameter.</doc>
732 <type name="gdouble" c:type="gdouble"/>
734 <parameter name="inout_d"
737 transfer-ownership="full">
738 <doc xml:whitespace="preserve">Will be incremented.</doc>
739 <type name="gint" c:type="gint*"/>
741 <parameter name="out_sum"
744 transfer-ownership="full">
745 <doc xml:whitespace="preserve">Return value.</doc>
746 <type name="gint" c:type="gint*"/>
748 <parameter name="num1" transfer-ownership="none">
749 <doc xml:whitespace="preserve">Number.</doc>
750 <type name="gint" c:type="gint"/>
752 <parameter name="num2" transfer-ownership="none">
753 <doc xml:whitespace="preserve">Number.</doc>
754 <type name="gint" c:type="gint"/>
758 <method name="skip_return_val_no_out"
759 c:identifier="regress_test_obj_skip_return_val_no_out"
761 <doc xml:whitespace="preserve">Check that the return value is skipped. Succeed if a is nonzero, otherwise
762 raise an error.</doc>
763 <return-value transfer-ownership="none" skip="1">
764 <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
765 <type name="gboolean" c:type="gboolean"/>
768 <parameter name="a" transfer-ownership="none">
769 <doc xml:whitespace="preserve">Parameter.</doc>
770 <type name="gint" c:type="gint"/>
774 <method name="torture_signature_0"
775 c:identifier="regress_test_obj_torture_signature_0">
776 <return-value transfer-ownership="none">
777 <type name="none" c:type="void"/>
780 <parameter name="x" transfer-ownership="none">
781 <type name="gint" c:type="int"/>
786 transfer-ownership="full">
787 <type name="gdouble" c:type="double*"/>
792 transfer-ownership="full">
793 <type name="gint" c:type="int*"/>
795 <parameter name="foo" transfer-ownership="none">
796 <type name="utf8" c:type="char*"/>
801 transfer-ownership="full">
802 <type name="gint" c:type="int*"/>
804 <parameter name="m" transfer-ownership="none">
805 <type name="guint" c:type="guint"/>
809 <method name="torture_signature_1"
810 c:identifier="regress_test_obj_torture_signature_1"
812 <doc xml:whitespace="preserve">This function throws an error if m is odd.</doc>
813 <return-value transfer-ownership="none">
814 <type name="gboolean" c:type="gboolean"/>
817 <parameter name="x" transfer-ownership="none">
818 <type name="gint" c:type="int"/>
823 transfer-ownership="full">
824 <type name="gdouble" c:type="double*"/>
829 transfer-ownership="full">
830 <type name="gint" c:type="int*"/>
832 <parameter name="foo" transfer-ownership="none">
833 <type name="utf8" c:type="char*"/>
838 transfer-ownership="full">
839 <type name="gint" c:type="int*"/>
841 <parameter name="m" transfer-ownership="none">
842 <type name="guint" c:type="guint"/>
846 <property name="bare" writable="1" transfer-ownership="none">
847 <type name="GObject.Object"/>
849 <property name="boxed" writable="1" transfer-ownership="none">
850 <type name="TestBoxed"/>
852 <property name="double" writable="1" transfer-ownership="none">
853 <type name="gdouble"/>
855 <property name="float" writable="1" transfer-ownership="none">
856 <type name="gfloat"/>
858 <property name="hash-table" writable="1" transfer-ownership="container">
859 <type name="GLib.HashTable">
864 <property name="hash-table-old"
866 transfer-ownership="container">
867 <type name="GLib.HashTable">
872 <property name="int" writable="1" transfer-ownership="none">
875 <property name="list" writable="1" transfer-ownership="none">
876 <type name="GLib.List">
880 <property name="list-old" writable="1" transfer-ownership="none">
881 <type name="GLib.List">
885 <property name="string" writable="1" transfer-ownership="none">
888 <field name="parent_instance">
889 <type name="GObject.Object" c:type="GObject"/>
892 <type name="GObject.Object" c:type="GObject*"/>
895 <type name="TestBoxed" c:type="RegressTestBoxed*"/>
897 <field name="hash_table">
898 <type name="GLib.HashTable" c:type="GHashTable*">
899 <type name="gpointer" c:type="gpointer"/>
900 <type name="gpointer" c:type="gpointer"/>
904 <type name="GLib.List" c:type="GList*">
905 <type name="gpointer" c:type="gpointer"/>
908 <field name="some_int8">
909 <type name="gint8" c:type="gint8"/>
911 <field name="some_float">
912 <type name="gfloat" c:type="float"/>
914 <field name="some_double">
915 <type name="gdouble" c:type="double"/>
917 <field name="string">
918 <type name="utf8" c:type="char*"/>
920 <glib:signal name="all"
926 <return-value transfer-ownership="none">
930 <glib:signal name="cleanup" when="cleanup">
931 <return-value transfer-ownership="none">
935 <glib:signal name="first" when="first">
936 <return-value transfer-ownership="none">
940 <glib:signal name="sig-with-array-prop" when="last">
941 <doc xml:whitespace="preserve">This test signal is like TelepathyGlib's
942 TpChannel:: group-members-changed-detailed:</doc>
943 <return-value transfer-ownership="none">
947 <parameter name="arr" transfer-ownership="none">
948 <doc xml:whitespace="preserve">numbers</doc>
949 <array name="GLib.Array">
955 <glib:signal name="sig-with-hash-prop" when="last">
956 <doc xml:whitespace="preserve">This test signal is like TelepathyGlib's
957 TpAccount::status-changed</doc>
958 <return-value transfer-ownership="none">
962 <parameter name="hash" transfer-ownership="none">
963 <type name="GLib.HashTable">
965 <type name="GObject.Value"/>
970 <glib:signal name="sig-with-obj" when="last">
971 <doc xml:whitespace="preserve">Test transfer none GObject as a param (tests refcounting).
972 Use with regress_test_obj_emit_sig_with_obj</doc>
973 <return-value transfer-ownership="none">
977 <parameter name="obj" transfer-ownership="none">
978 <doc xml:whitespace="preserve">A newly created RegressTestObj</doc>
979 <type name="GObject.Object"/>
983 <glib:signal name="sig-with-strv" when="last">
984 <doc xml:whitespace="preserve">Test GStrv as a param.</doc>
985 <return-value transfer-ownership="none">
989 <parameter name="strs" transfer-ownership="none">
990 <doc xml:whitespace="preserve">strings</doc>
997 <glib:signal name="test" when="last" no-recurse="1" no-hooks="1">
998 <return-value transfer-ownership="none">
1002 <glib:signal name="test-with-static-scope-arg"
1006 <return-value transfer-ownership="none">
1010 <parameter name="object" transfer-ownership="none">
1011 <type name="TestSimpleBoxedA"/>
1016 <record name="TestObjClass"
1017 c:type="RegressTestObjClass"
1018 glib:is-gtype-struct-for="TestObj">
1019 <field name="parent_class">
1020 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
1022 <field name="matrix">
1023 <callback name="matrix">
1024 <return-value transfer-ownership="none">
1025 <type name="gint" c:type="int"/>
1028 <parameter name="obj" transfer-ownership="none">
1029 <type name="TestObj" c:type="RegressTestObj*"/>
1031 <parameter name="somestr" transfer-ownership="none">
1032 <doc xml:whitespace="preserve">Meaningless string</doc>
1033 <type name="utf8" c:type="char*"/>
1038 <field name="test_signal">
1039 <type name="guint" c:type="guint"/>
1041 <field name="test_signal_with_static_scope_arg">
1042 <type name="guint" c:type="guint"/>
1044 <field name="_regress_reserved1" introspectable="0">
1045 <callback name="_regress_reserved1">
1046 <return-value transfer-ownership="none">
1047 <type name="none" c:type="void"/>
1051 <field name="_regress_reserved2" introspectable="0">
1052 <callback name="_regress_reserved2">
1053 <return-value transfer-ownership="none">
1054 <type name="none" c:type="void"/>
1059 <bitfield name="TestPrivateEnum" c:type="RegressTestPrivateEnum">
1060 <member name="public_enum_before"
1062 c:identifier="REGRESS_TEST_PUBLIC_ENUM_BEFORE"/>
1063 <member name="public_enum_after"
1065 c:identifier="REGRESS_TEST_PUBLIC_ENUM_AFTER"/>
1067 <record name="TestPrivateStruct" c:type="RegressTestPrivateStruct">
1068 <field name="this_is_public_before" writable="1">
1069 <type name="gint" c:type="gint"/>
1071 <field name="this_is_private" readable="0" private="1">
1072 <type name="gint" c:type="gint"/>
1074 <field name="this_is_public_after" writable="1">
1075 <type name="gint" c:type="gint"/>
1078 <record name="TestSimpleBoxedA"
1079 c:type="RegressTestSimpleBoxedA"
1080 glib:type-name="RegressTestSimpleBoxedA"
1081 glib:get-type="regress_test_simple_boxed_a_get_gtype"
1082 c:symbol-prefix="test_simple_boxed_a">
1083 <field name="some_int" writable="1">
1084 <type name="gint" c:type="gint"/>
1086 <field name="some_int8" writable="1">
1087 <type name="gint8" c:type="gint8"/>
1089 <field name="some_double" writable="1">
1090 <type name="gdouble" c:type="gdouble"/>
1092 <field name="some_enum" writable="1">
1093 <type name="TestEnum" c:type="RegressTestEnum"/>
1095 <method name="copy" c:identifier="regress_test_simple_boxed_a_copy">
1096 <return-value transfer-ownership="full">
1097 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
1100 <method name="equals" c:identifier="regress_test_simple_boxed_a_equals">
1101 <return-value transfer-ownership="none">
1102 <type name="gboolean" c:type="gboolean"/>
1105 <parameter name="other_a" transfer-ownership="none">
1106 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
1110 <function name="const_return"
1111 c:identifier="regress_test_simple_boxed_a_const_return">
1112 <return-value transfer-ownership="none">
1113 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
1117 <record name="TestSimpleBoxedB"
1118 c:type="RegressTestSimpleBoxedB"
1119 glib:type-name="RegressTestSimpleBoxedB"
1120 glib:get-type="regress_test_simple_boxed_b_get_type"
1121 c:symbol-prefix="test_simple_boxed_b">
1122 <field name="some_int8" writable="1">
1123 <type name="gint8" c:type="gint8"/>
1125 <field name="nested_a" writable="1">
1126 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA"/>
1128 <method name="copy" c:identifier="regress_test_simple_boxed_b_copy">
1129 <return-value transfer-ownership="full">
1130 <type name="TestSimpleBoxedB" c:type="RegressTestSimpleBoxedB*"/>
1134 <callback name="TestSimpleCallback" c:type="RegressTestSimpleCallback">
1135 <return-value transfer-ownership="none">
1136 <type name="none" c:type="void"/>
1139 <record name="TestStructA" c:type="RegressTestStructA">
1140 <field name="some_int" writable="1">
1141 <type name="gint" c:type="gint"/>
1143 <field name="some_int8" writable="1">
1144 <type name="gint8" c:type="gint8"/>
1146 <field name="some_double" writable="1">
1147 <type name="gdouble" c:type="gdouble"/>
1149 <field name="some_enum" writable="1">
1150 <type name="TestEnum" c:type="RegressTestEnum"/>
1152 <method name="clone" c:identifier="regress_test_struct_a_clone">
1153 <doc xml:whitespace="preserve">Make a copy of a RegressTestStructA</doc>
1154 <return-value transfer-ownership="none">
1155 <type name="none" c:type="void"/>
1158 <parameter name="a_out"
1160 caller-allocates="1"
1161 transfer-ownership="none">
1162 <doc xml:whitespace="preserve">the cloned structure</doc>
1163 <type name="TestStructA" c:type="RegressTestStructA*"/>
1168 <record name="TestStructB" c:type="RegressTestStructB">
1169 <field name="some_int8" writable="1">
1170 <type name="gint8" c:type="gint8"/>
1172 <field name="nested_a" writable="1">
1173 <type name="TestStructA" c:type="RegressTestStructA"/>
1175 <method name="clone" c:identifier="regress_test_struct_b_clone">
1176 <doc xml:whitespace="preserve">Make a copy of a RegressTestStructB</doc>
1177 <return-value transfer-ownership="none">
1178 <type name="none" c:type="void"/>
1181 <parameter name="b_out"
1183 caller-allocates="1"
1184 transfer-ownership="none">
1185 <doc xml:whitespace="preserve">the cloned structure</doc>
1186 <type name="TestStructB" c:type="RegressTestStructB*"/>
1191 <record name="TestStructC" c:type="RegressTestStructC">
1192 <field name="another_int" writable="1">
1193 <type name="gint" c:type="gint"/>
1195 <field name="obj" writable="1">
1196 <type name="GObject.Object" c:type="GObject*"/>
1199 <record name="TestStructD" c:type="RegressTestStructD">
1200 <field name="array1" writable="1">
1201 <array c:type="RegressTestStructA**">
1202 <type name="TestStructA" c:type="RegressTestStructA*"/>
1205 <field name="array2" writable="1">
1206 <array c:type="gpointer*">
1207 <type name="TestObj"/>
1210 <field name="field" writable="1">
1211 <type name="TestObj"/>
1213 <field name="list" writable="1">
1214 <type name="GLib.List" c:type="GList*">
1215 <type name="TestObj"/>
1218 <field name="garray" writable="1">
1219 <array name="GLib.PtrArray" c:type="GPtrArray*">
1220 <type name="TestObj"/>
1224 <record name="TestStructE" c:type="RegressTestStructE">
1225 <field name="some_type" writable="1">
1226 <type name="GType" c:type="GType"/>
1228 <field name="some_union" writable="1">
1229 <array zero-terminated="0" fixed-size="2">
1230 <type name="TestStructE__some_union__union"/>
1234 <union name="TestStructE__some_union__union">
1235 <field name="v_int" writable="1">
1236 <type name="gint" c:type="gint"/>
1238 <field name="v_uint" writable="1">
1239 <type name="guint" c:type="guint"/>
1241 <field name="v_long" writable="1">
1242 <type name="glong" c:type="glong"/>
1244 <field name="v_ulong" writable="1">
1245 <type name="gulong" c:type="gulong"/>
1247 <field name="v_int64" writable="1">
1248 <type name="gint64" c:type="gint64"/>
1250 <field name="v_uint64" writable="1">
1251 <type name="guint64" c:type="guint64"/>
1253 <field name="v_float" writable="1">
1254 <type name="gfloat" c:type="gfloat"/>
1256 <field name="v_double" writable="1">
1257 <type name="gdouble" c:type="gdouble"/>
1259 <field name="v_pointer" writable="1">
1260 <type name="gpointer" c:type="gpointer"/>
1263 <record name="TestStructFixedArray" c:type="RegressTestStructFixedArray">
1264 <field name="just_int" writable="1">
1265 <type name="gint" c:type="gint"/>
1267 <field name="array" writable="1">
1268 <array zero-terminated="0" c:type="gint" fixed-size="10">
1269 <type name="gint" c:type="gint"/>
1272 <method name="frob" c:identifier="regress_test_struct_fixed_array_frob">
1273 <return-value transfer-ownership="none">
1274 <type name="none" c:type="void"/>
1278 <class name="TestSubObj"
1279 c:symbol-prefix="test_sub_obj"
1280 c:type="RegressTestSubObj"
1282 glib:type-name="RegressTestSubObj"
1283 glib:get-type="regress_test_sub_obj_get_type"
1284 glib:type-struct="TestSubObjClass">
1285 <constructor name="new" c:identifier="regress_test_sub_obj_new">
1286 <return-value transfer-ownership="full">
1287 <type name="TestObj" c:type="RegressTestObj*"/>
1290 <method name="instance_method"
1291 c:identifier="regress_test_sub_obj_instance_method">
1292 <return-value transfer-ownership="none">
1293 <type name="gint" c:type="int"/>
1296 <method name="unset_bare" c:identifier="regress_test_sub_obj_unset_bare">
1297 <return-value transfer-ownership="none">
1298 <type name="none" c:type="void"/>
1301 <field name="parent_instance">
1302 <type name="TestObj" c:type="RegressTestObj"/>
1305 <record name="TestSubObjClass"
1306 c:type="RegressTestSubObjClass"
1307 glib:is-gtype-struct-for="TestSubObj">
1308 <field name="parent_class">
1309 <type name="TestObjClass" c:type="RegressTestObjClass"/>
1312 <class name="TestWi8021x"
1313 c:symbol-prefix="test_wi_802_1x"
1314 c:type="RegressTestWi8021x"
1315 parent="GObject.Object"
1316 glib:type-name="RegressTestWi8021x"
1317 glib:get-type="regress_test_wi_802_1x_get_type"
1318 glib:type-struct="TestWi8021xClass">
1319 <constructor name="new" c:identifier="regress_test_wi_802_1x_new">
1320 <return-value transfer-ownership="full">
1321 <type name="TestWi8021x" c:type="RegressTestWi8021x*"/>
1324 <function name="static_method"
1325 c:identifier="regress_test_wi_802_1x_static_method">
1326 <return-value transfer-ownership="none">
1327 <type name="gint" c:type="int"/>
1330 <parameter name="x" transfer-ownership="none">
1331 <type name="gint" c:type="int"/>
1335 <method name="get_testbool"
1336 c:identifier="regress_test_wi_802_1x_get_testbool">
1337 <return-value transfer-ownership="none">
1338 <type name="gboolean" c:type="gboolean"/>
1341 <method name="set_testbool"
1342 c:identifier="regress_test_wi_802_1x_set_testbool">
1343 <return-value transfer-ownership="none">
1344 <type name="none" c:type="void"/>
1347 <parameter name="v" transfer-ownership="none">
1348 <type name="gboolean" c:type="gboolean"/>
1352 <property name="testbool" writable="1" transfer-ownership="none">
1353 <type name="gboolean"/>
1355 <field name="parent_instance">
1356 <type name="GObject.Object" c:type="GObject"/>
1358 <field name="testbool">
1359 <type name="gboolean" c:type="gboolean"/>
1362 <record name="TestWi8021xClass"
1363 c:type="RegressTestWi8021xClass"
1364 glib:is-gtype-struct-for="TestWi8021x">
1365 <field name="parent_class">
1366 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
1369 <constant name="UTF8_CONSTANT"
1370 value="const ♥ utf8"
1371 c:type="REGRESS_UTF8_CONSTANT">
1372 <type name="utf8" c:type="gchar*"/>
1374 <function name="aliased_caller_alloc"
1375 c:identifier="regress_aliased_caller_alloc">
1376 <return-value transfer-ownership="none">
1377 <type name="none" c:type="void"/>
1380 <parameter name="boxed"
1382 caller-allocates="1"
1383 transfer-ownership="none">
1384 <type name="AliasedTestBoxed" c:type="RegressAliasedTestBoxed*"/>
1388 <function name="func_obj_null_in" c:identifier="regress_func_obj_null_in">
1389 <return-value transfer-ownership="none">
1390 <type name="none" c:type="void"/>
1393 <parameter name="obj" transfer-ownership="none" allow-none="1">
1394 <doc xml:whitespace="preserve">A #RegressTestObj</doc>
1395 <type name="TestObj" c:type="RegressTestObj*"/>
1399 <function name="global_get_flags_out"
1400 c:identifier="regress_global_get_flags_out">
1401 <return-value transfer-ownership="none">
1402 <type name="none" c:type="void"/>
1407 caller-allocates="0"
1408 transfer-ownership="full">
1409 <doc xml:whitespace="preserve">A flags value</doc>
1410 <type name="TestFlags" c:type="RegressTestFlags*"/>
1414 <function name="introspectable_via_alias"
1415 c:identifier="regress_introspectable_via_alias">
1416 <return-value transfer-ownership="none">
1417 <type name="none" c:type="void"/>
1420 <parameter name="data" transfer-ownership="none">
1421 <type name="PtrArrayAlias" c:type="RegressPtrArrayAlias*"/>
1425 <function name="not_introspectable_via_alias"
1426 c:identifier="regress_not_introspectable_via_alias"
1428 <return-value transfer-ownership="none">
1429 <type name="none" c:type="void"/>
1432 <parameter name="ok" transfer-ownership="none">
1433 <type name="VaListAlias" c:type="RegressVaListAlias"/>
1437 <function name="random_function_with_skipped_structure"
1438 c:identifier="regress_random_function_with_skipped_structure"
1440 <return-value transfer-ownership="none">
1441 <type name="none" c:type="void"/>
1444 <parameter name="x" transfer-ownership="none">
1445 <type name="gint" c:type="int"/>
1447 <parameter name="foo" transfer-ownership="none">
1448 <type name="SkippedStructure" c:type="RegressSkippedStructure*"/>
1450 <parameter name="v" transfer-ownership="none">
1451 <type name="gdouble" c:type="double"/>
1455 <function name="set_abort_on_error"
1456 c:identifier="regress_set_abort_on_error">
1457 <return-value transfer-ownership="none">
1458 <type name="none" c:type="void"/>
1461 <parameter name="abort_on_error" transfer-ownership="none">
1462 <type name="gboolean" c:type="gboolean"/>
1466 <function name="test_array_fixed_out_objects"
1467 c:identifier="regress_test_array_fixed_out_objects">
1468 <return-value transfer-ownership="none">
1469 <type name="none" c:type="void"/>
1472 <parameter name="objs"
1474 caller-allocates="0"
1475 transfer-ownership="full">
1476 <doc xml:whitespace="preserve">An array of #RegressTestObj</doc>
1477 <array zero-terminated="0" c:type="RegressTestObj***" fixed-size="2">
1478 <type name="TestObj" c:type="RegressTestObj**"/>
1483 <function name="test_array_fixed_size_int_in"
1484 c:identifier="regress_test_array_fixed_size_int_in">
1485 <return-value transfer-ownership="none">
1486 <doc xml:whitespace="preserve">the sum of the items in @ints</doc>
1487 <type name="gint" c:type="int"/>
1490 <parameter name="ints" transfer-ownership="none">
1491 <doc xml:whitespace="preserve">a list of 5 integers</doc>
1492 <array zero-terminated="0" c:type="int*" fixed-size="5">
1493 <type name="gint" c:type="int"/>
1498 <function name="test_array_fixed_size_int_out"
1499 c:identifier="regress_test_array_fixed_size_int_out">
1500 <return-value transfer-ownership="none">
1501 <type name="none" c:type="void"/>
1504 <parameter name="ints"
1506 caller-allocates="0"
1507 transfer-ownership="full">
1508 <doc xml:whitespace="preserve">a list of 5 integers ranging from 0 to 4</doc>
1509 <array zero-terminated="0" c:type="int**" fixed-size="5">
1510 <type name="gint" c:type="int*"/>
1515 <function name="test_array_fixed_size_int_return"
1516 c:identifier="regress_test_array_fixed_size_int_return">
1517 <return-value transfer-ownership="full">
1518 <doc xml:whitespace="preserve">a list of 5 integers ranging from 0 to 4</doc>
1519 <array zero-terminated="0" c:type="int*" fixed-size="5">
1520 <type name="gint" c:type="int"/>
1524 <function name="test_array_gint16_in"
1525 c:identifier="regress_test_array_gint16_in">
1526 <return-value transfer-ownership="none">
1527 <type name="gint" c:type="int"/>
1530 <parameter name="n_ints" transfer-ownership="none">
1531 <type name="gint" c:type="int"/>
1533 <parameter name="ints" transfer-ownership="none">
1534 <doc xml:whitespace="preserve">List of ints</doc>
1535 <array length="0" zero-terminated="0" c:type="gint16*">
1536 <type name="gint16" c:type="gint16"/>
1541 <function name="test_array_gint32_in"
1542 c:identifier="regress_test_array_gint32_in">
1543 <return-value transfer-ownership="none">
1544 <type name="gint32" c:type="gint32"/>
1547 <parameter name="n_ints" transfer-ownership="none">
1548 <type name="gint" c:type="int"/>
1550 <parameter name="ints" transfer-ownership="none">
1551 <doc xml:whitespace="preserve">List of ints</doc>
1552 <array length="0" zero-terminated="0" c:type="gint32*">
1553 <type name="gint32" c:type="gint32"/>
1558 <function name="test_array_gint64_in"
1559 c:identifier="regress_test_array_gint64_in">
1560 <return-value transfer-ownership="none">
1561 <type name="gint64" c:type="gint64"/>
1564 <parameter name="n_ints" transfer-ownership="none">
1565 <type name="gint" c:type="int"/>
1567 <parameter name="ints" transfer-ownership="none">
1568 <doc xml:whitespace="preserve">List of ints</doc>
1569 <array length="0" zero-terminated="0" c:type="gint64*">
1570 <type name="gint64" c:type="gint64"/>
1575 <function name="test_array_gint8_in"
1576 c:identifier="regress_test_array_gint8_in">
1577 <return-value transfer-ownership="none">
1578 <type name="gint" c:type="int"/>
1581 <parameter name="n_ints" transfer-ownership="none">
1582 <type name="gint" c:type="int"/>
1584 <parameter name="ints" transfer-ownership="none">
1585 <doc xml:whitespace="preserve">List of ints</doc>
1586 <array length="0" zero-terminated="0" c:type="gint8*">
1587 <type name="gint8" c:type="gint8"/>
1592 <function name="test_array_gtype_in"
1593 c:identifier="regress_test_array_gtype_in">
1594 <return-value transfer-ownership="full">
1595 <doc xml:whitespace="preserve">string representation of provided types</doc>
1596 <type name="utf8" c:type="char*"/>
1599 <parameter name="n_types" transfer-ownership="none">
1600 <type name="gint" c:type="int"/>
1602 <parameter name="types" transfer-ownership="none">
1603 <doc xml:whitespace="preserve">List of types</doc>
1604 <array length="0" zero-terminated="0" c:type="GType*">
1605 <type name="GType" c:type="GType"/>
1610 <function name="test_array_int_full_out"
1611 c:identifier="regress_test_array_int_full_out">
1612 <return-value transfer-ownership="full">
1613 <doc xml:whitespace="preserve">a new array of integers.</doc>
1614 <array length="0" zero-terminated="0" c:type="int*">
1615 <type name="gint" c:type="int"/>
1619 <parameter name="len"
1621 caller-allocates="0"
1622 transfer-ownership="full">
1623 <doc xml:whitespace="preserve">length of the returned array.</doc>
1624 <type name="gint" c:type="int*"/>
1628 <function name="test_array_int_in"
1629 c:identifier="regress_test_array_int_in">
1630 <return-value transfer-ownership="none">
1631 <type name="gint" c:type="int"/>
1634 <parameter name="n_ints" transfer-ownership="none">
1635 <type name="gint" c:type="int"/>
1637 <parameter name="ints" transfer-ownership="none">
1638 <doc xml:whitespace="preserve">List of ints</doc>
1639 <array length="0" zero-terminated="0" c:type="int*">
1640 <type name="gint" c:type="int"/>
1645 <function name="test_array_int_inout"
1646 c:identifier="regress_test_array_int_inout">
1647 <return-value transfer-ownership="none">
1648 <type name="none" c:type="void"/>
1651 <parameter name="n_ints"
1653 caller-allocates="0"
1654 transfer-ownership="full">
1655 <doc xml:whitespace="preserve">the length of @ints</doc>
1656 <type name="gint" c:type="int*"/>
1658 <parameter name="ints"
1660 caller-allocates="0"
1661 transfer-ownership="full">
1662 <doc xml:whitespace="preserve">a list of integers whose items will be increased by 1, except the first that will be dropped</doc>
1663 <array length="0" zero-terminated="0" c:type="int**">
1664 <type name="gint" c:type="int*"/>
1669 <function name="test_array_int_none_out"
1670 c:identifier="regress_test_array_int_none_out">
1671 <return-value transfer-ownership="none">
1672 <doc xml:whitespace="preserve">a static array of integers.</doc>
1673 <array length="0" zero-terminated="0" c:type="int*">
1674 <type name="gint" c:type="int"/>
1678 <parameter name="len"
1680 caller-allocates="0"
1681 transfer-ownership="full">
1682 <doc xml:whitespace="preserve">length of the returned array.</doc>
1683 <type name="gint" c:type="int*"/>
1687 <function name="test_array_int_null_in"
1688 c:identifier="regress_test_array_int_null_in">
1689 <return-value transfer-ownership="none">
1690 <type name="none" c:type="void"/>
1693 <parameter name="arr" transfer-ownership="none" allow-none="1">
1694 <array length="1" zero-terminated="0" c:type="int*">
1695 <type name="gint" c:type="int"/>
1698 <parameter name="len" transfer-ownership="none">
1699 <doc xml:whitespace="preserve">length</doc>
1700 <type name="gint" c:type="int"/>
1704 <function name="test_array_int_null_out"
1705 c:identifier="regress_test_array_int_null_out">
1706 <return-value transfer-ownership="none">
1707 <type name="none" c:type="void"/>
1710 <parameter name="arr"
1712 caller-allocates="0"
1713 transfer-ownership="full"
1715 <array length="1" zero-terminated="0" c:type="int**">
1716 <type name="gint" c:type="int*"/>
1719 <parameter name="len"
1721 caller-allocates="0"
1722 transfer-ownership="full">
1723 <doc xml:whitespace="preserve">length</doc>
1724 <type name="gint" c:type="int*"/>
1728 <function name="test_array_int_out"
1729 c:identifier="regress_test_array_int_out">
1730 <return-value transfer-ownership="none">
1731 <type name="none" c:type="void"/>
1734 <parameter name="n_ints"
1736 caller-allocates="0"
1737 transfer-ownership="full">
1738 <doc xml:whitespace="preserve">the length of @ints</doc>
1739 <type name="gint" c:type="int*"/>
1741 <parameter name="ints"
1743 caller-allocates="0"
1744 transfer-ownership="full">
1745 <doc xml:whitespace="preserve">a list of 5 integers, from 0 to 4 in consecutive order</doc>
1746 <array length="0" zero-terminated="0" c:type="int**">
1747 <type name="gint" c:type="int*"/>
1752 <function name="test_async_ready_callback"
1753 c:identifier="regress_test_async_ready_callback">
1754 <return-value transfer-ownership="none">
1755 <type name="none" c:type="void"/>
1758 <parameter name="callback"
1759 transfer-ownership="none"
1762 <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
1766 <function name="test_boolean" c:identifier="regress_test_boolean">
1767 <return-value transfer-ownership="none">
1768 <type name="gboolean" c:type="gboolean"/>
1771 <parameter name="in" transfer-ownership="none">
1772 <type name="gboolean" c:type="gboolean"/>
1776 <function name="test_boolean_false"
1777 c:identifier="regress_test_boolean_false">
1778 <return-value transfer-ownership="none">
1779 <type name="gboolean" c:type="gboolean"/>
1782 <parameter name="in" transfer-ownership="none">
1783 <type name="gboolean" c:type="gboolean"/>
1787 <function name="test_boolean_true"
1788 c:identifier="regress_test_boolean_true">
1789 <return-value transfer-ownership="none">
1790 <type name="gboolean" c:type="gboolean"/>
1793 <parameter name="in" transfer-ownership="none">
1794 <type name="gboolean" c:type="gboolean"/>
1798 <function name="test_cairo_context_full_return"
1799 c:identifier="regress_test_cairo_context_full_return">
1800 <return-value transfer-ownership="full">
1801 <type name="cairo.Context" c:type="cairo_t*"/>
1804 <function name="test_cairo_context_none_in"
1805 c:identifier="regress_test_cairo_context_none_in">
1806 <return-value transfer-ownership="none">
1807 <type name="none" c:type="void"/>
1810 <parameter name="context" transfer-ownership="none">
1811 <type name="cairo.Context" c:type="cairo_t*"/>
1815 <function name="test_cairo_surface_full_out"
1816 c:identifier="regress_test_cairo_surface_full_out">
1817 <return-value transfer-ownership="none">
1818 <type name="none" c:type="void"/>
1821 <parameter name="surface"
1823 caller-allocates="0"
1824 transfer-ownership="full">
1825 <type name="cairo.Surface" c:type="cairo_surface_t**"/>
1829 <function name="test_cairo_surface_full_return"
1830 c:identifier="regress_test_cairo_surface_full_return">
1831 <return-value transfer-ownership="full">
1832 <type name="cairo.Surface" c:type="cairo_surface_t*"/>
1835 <function name="test_cairo_surface_none_in"
1836 c:identifier="regress_test_cairo_surface_none_in">
1837 <return-value transfer-ownership="none">
1838 <type name="none" c:type="void"/>
1841 <parameter name="surface" transfer-ownership="none">
1842 <type name="cairo.Surface" c:type="cairo_surface_t*"/>
1846 <function name="test_cairo_surface_none_return"
1847 c:identifier="regress_test_cairo_surface_none_return">
1848 <return-value transfer-ownership="none">
1849 <type name="cairo.Surface" c:type="cairo_surface_t*"/>
1852 <function name="test_callback" c:identifier="regress_test_callback">
1853 <return-value transfer-ownership="none">
1854 <type name="gint" c:type="int"/>
1857 <parameter name="callback"
1858 transfer-ownership="none"
1861 <type name="TestCallback" c:type="RegressTestCallback"/>
1865 <function name="test_callback_async"
1866 c:identifier="regress_test_callback_async">
1867 <return-value transfer-ownership="none">
1868 <type name="none" c:type="void"/>
1871 <parameter name="callback"
1872 transfer-ownership="none"
1875 <type name="TestCallbackUserData"
1876 c:type="RegressTestCallbackUserData"/>
1878 <parameter name="user_data" transfer-ownership="none">
1879 <type name="gpointer" c:type="gpointer"/>
1883 <function name="test_callback_destroy_notify"
1884 c:identifier="regress_test_callback_destroy_notify">
1885 <doc xml:whitespace="preserve">Notified - callback persists until a DestroyNotify delegate
1887 <return-value transfer-ownership="none">
1888 <type name="gint" c:type="int"/>
1891 <parameter name="callback"
1892 transfer-ownership="none"
1896 <type name="TestCallbackUserData"
1897 c:type="RegressTestCallbackUserData"/>
1899 <parameter name="user_data" transfer-ownership="none">
1900 <type name="gpointer" c:type="gpointer"/>
1902 <parameter name="notify" transfer-ownership="none" scope="async">
1903 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
1907 <function name="test_callback_thaw_async"
1908 c:identifier="regress_test_callback_thaw_async">
1909 <return-value transfer-ownership="none">
1910 <type name="gint" c:type="int"/>
1913 <function name="test_callback_thaw_notifications"
1914 c:identifier="regress_test_callback_thaw_notifications">
1915 <doc xml:whitespace="preserve">Invokes all callbacks installed by #test_callback_destroy_notify(),
1916 adding up their return values, and removes them, invoking the
1917 corresponding destroy notfications.</doc>
1918 <return-value transfer-ownership="none">
1919 <doc xml:whitespace="preserve">Sum of the return values of the invoked callbacks.</doc>
1920 <type name="gint" c:type="int"/>
1923 <function name="test_callback_user_data"
1924 c:identifier="regress_test_callback_user_data">
1925 <doc xml:whitespace="preserve">Call - callback parameter persists for the duration of the method
1926 call and can be released on return.</doc>
1927 <return-value transfer-ownership="none">
1928 <type name="gint" c:type="int"/>
1931 <parameter name="callback"
1932 transfer-ownership="none"
1935 <type name="TestCallbackUserData"
1936 c:type="RegressTestCallbackUserData"/>
1938 <parameter name="user_data" transfer-ownership="none">
1939 <type name="gpointer" c:type="gpointer"/>
1943 <function name="test_closure" c:identifier="regress_test_closure">
1944 <return-value transfer-ownership="none">
1945 <type name="gint" c:type="int"/>
1948 <parameter name="closure" transfer-ownership="none">
1949 <type name="GObject.Closure" c:type="GClosure*"/>
1953 <function name="test_closure_one_arg"
1954 c:identifier="regress_test_closure_one_arg">
1955 <return-value transfer-ownership="none">
1956 <type name="gint" c:type="int"/>
1959 <parameter name="closure" transfer-ownership="none">
1960 <type name="GObject.Closure" c:type="GClosure*"/>
1962 <parameter name="arg" transfer-ownership="none">
1963 <type name="gint" c:type="int"/>
1967 <function name="test_closure_variant"
1968 c:identifier="regress_test_closure_variant">
1969 <return-value transfer-ownership="full">
1970 <doc xml:whitespace="preserve">the return value of @closure</doc>
1971 <type name="GLib.Variant" c:type="GVariant*"/>
1974 <parameter name="closure" transfer-ownership="none">
1975 <doc xml:whitespace="preserve">GClosure which takes one GVariant and returns a GVariant</doc>
1976 <type name="GObject.Closure" c:type="GClosure*"/>
1978 <parameter name="arg" transfer-ownership="none">
1979 <doc xml:whitespace="preserve">a GVariant passed as argument to @closure</doc>
1980 <type name="GLib.Variant" c:type="GVariant*"/>
1984 <function name="test_date_in_gvalue"
1985 c:identifier="regress_test_date_in_gvalue">
1986 <return-value transfer-ownership="full">
1987 <type name="GObject.Value" c:type="GValue*"/>
1990 <function name="test_double" c:identifier="regress_test_double">
1991 <return-value transfer-ownership="none">
1992 <type name="gdouble" c:type="gdouble"/>
1995 <parameter name="in" transfer-ownership="none">
1996 <type name="gdouble" c:type="gdouble"/>
2000 <function name="test_enum_param"
2001 c:identifier="regress_test_enum_param"
2002 moved-to="TestEnum.param">
2003 <return-value transfer-ownership="none">
2004 <type name="utf8" c:type="gchar*"/>
2007 <parameter name="e" transfer-ownership="none">
2008 <type name="TestEnum" c:type="RegressTestEnum"/>
2012 <function name="test_filename_return"
2013 c:identifier="regress_test_filename_return">
2014 <return-value transfer-ownership="full">
2015 <doc xml:whitespace="preserve">list of strings</doc>
2016 <type name="GLib.SList" c:type="GSList*">
2017 <type name="filename"/>
2021 <function name="test_float" c:identifier="regress_test_float">
2022 <return-value transfer-ownership="none">
2023 <type name="gfloat" c:type="gfloat"/>
2026 <parameter name="in" transfer-ownership="none">
2027 <type name="gfloat" c:type="gfloat"/>
2031 <function name="test_garray_container_return"
2032 c:identifier="regress_test_garray_container_return">
2033 <return-value transfer-ownership="container">
2034 <array name="GLib.PtrArray" c:type="GPtrArray*">
2039 <function name="test_ghash_container_return"
2040 c:identifier="regress_test_ghash_container_return">
2041 <return-value transfer-ownership="container">
2042 <type name="GLib.HashTable" c:type="GHashTable*">
2048 <function name="test_ghash_everything_return"
2049 c:identifier="regress_test_ghash_everything_return">
2050 <return-value transfer-ownership="full">
2051 <type name="GLib.HashTable" c:type="GHashTable*">
2057 <function name="test_ghash_nested_everything_return"
2058 c:identifier="regress_test_ghash_nested_everything_return">
2059 <doc xml:whitespace="preserve">Specify nested parameterized types directly with the (type ) annotation.</doc>
2060 <return-value transfer-ownership="full">
2061 <type name="GLib.HashTable" c:type="GHashTable*">
2063 <type name="GLib.HashTable">
2070 <function name="test_ghash_nested_everything_return2"
2071 c:identifier="regress_test_ghash_nested_everything_return2">
2072 <doc xml:whitespace="preserve">Another way of specifying nested parameterized types: using the
2073 element-type annotation.</doc>
2074 <return-value transfer-ownership="full">
2075 <type name="GLib.HashTable" c:type="GHashTable*">
2077 <type name="GLib.HashTable">
2084 <function name="test_ghash_nothing_in"
2085 c:identifier="regress_test_ghash_nothing_in">
2086 <return-value transfer-ownership="none">
2087 <type name="none" c:type="void"/>
2090 <parameter name="in" transfer-ownership="none">
2091 <type name="GLib.HashTable" c:type="GHashTable*">
2098 <function name="test_ghash_nothing_in2"
2099 c:identifier="regress_test_ghash_nothing_in2">
2100 <return-value transfer-ownership="none">
2101 <type name="none" c:type="void"/>
2104 <parameter name="in" transfer-ownership="none">
2105 <type name="GLib.HashTable" c:type="GHashTable*">
2112 <function name="test_ghash_nothing_return"
2113 c:identifier="regress_test_ghash_nothing_return">
2114 <return-value transfer-ownership="none">
2115 <type name="GLib.HashTable" c:type="GHashTable*">
2121 <function name="test_ghash_nothing_return2"
2122 c:identifier="regress_test_ghash_nothing_return2">
2123 <return-value transfer-ownership="none">
2124 <type name="GLib.HashTable" c:type="GHashTable*">
2130 <function name="test_ghash_null_in"
2131 c:identifier="regress_test_ghash_null_in">
2132 <return-value transfer-ownership="none">
2133 <type name="none" c:type="void"/>
2136 <parameter name="in" transfer-ownership="none" allow-none="1">
2137 <type name="GLib.HashTable" c:type="GHashTable*">
2144 <function name="test_ghash_null_out"
2145 c:identifier="regress_test_ghash_null_out">
2146 <return-value transfer-ownership="none">
2147 <type name="none" c:type="void"/>
2150 <parameter name="out"
2152 caller-allocates="0"
2153 transfer-ownership="full"
2155 <type name="GLib.HashTable" c:type="GHashTable**">
2162 <function name="test_ghash_null_return"
2163 c:identifier="regress_test_ghash_null_return">
2164 <return-value transfer-ownership="none">
2165 <type name="GLib.HashTable" c:type="GHashTable*">
2171 <function name="test_glist_container_return"
2172 c:identifier="regress_test_glist_container_return">
2173 <return-value transfer-ownership="container">
2174 <type name="GLib.List" c:type="GList*">
2179 <function name="test_glist_everything_return"
2180 c:identifier="regress_test_glist_everything_return">
2181 <return-value transfer-ownership="full">
2182 <type name="GLib.List" c:type="GList*">
2187 <function name="test_glist_nothing_in"
2188 c:identifier="regress_test_glist_nothing_in">
2189 <return-value transfer-ownership="none">
2190 <type name="none" c:type="void"/>
2193 <parameter name="in" transfer-ownership="none">
2194 <type name="GLib.List" c:type="GList*">
2200 <function name="test_glist_nothing_in2"
2201 c:identifier="regress_test_glist_nothing_in2">
2202 <return-value transfer-ownership="none">
2203 <type name="none" c:type="void"/>
2206 <parameter name="in" transfer-ownership="none">
2207 <type name="GLib.List" c:type="GList*">
2213 <function name="test_glist_nothing_return"
2214 c:identifier="regress_test_glist_nothing_return">
2215 <return-value transfer-ownership="none">
2216 <type name="GLib.List" c:type="GList*">
2221 <function name="test_glist_nothing_return2"
2222 c:identifier="regress_test_glist_nothing_return2">
2223 <return-value transfer-ownership="none">
2224 <type name="GLib.List" c:type="GList*">
2229 <function name="test_glist_null_in"
2230 c:identifier="regress_test_glist_null_in">
2231 <return-value transfer-ownership="none">
2232 <type name="none" c:type="void"/>
2235 <parameter name="in" transfer-ownership="none" allow-none="1">
2236 <type name="GLib.SList" c:type="GSList*">
2242 <function name="test_glist_null_out"
2243 c:identifier="regress_test_glist_null_out">
2244 <return-value transfer-ownership="none">
2245 <type name="none" c:type="void"/>
2248 <parameter name="out_list"
2250 caller-allocates="0"
2251 transfer-ownership="full"
2253 <type name="GLib.SList" c:type="GSList**">
2259 <function name="test_gslist_container_return"
2260 c:identifier="regress_test_gslist_container_return">
2261 <return-value transfer-ownership="container">
2262 <type name="GLib.SList" c:type="GSList*">
2267 <function name="test_gslist_everything_return"
2268 c:identifier="regress_test_gslist_everything_return">
2269 <return-value transfer-ownership="full">
2270 <type name="GLib.SList" c:type="GSList*">
2275 <function name="test_gslist_nothing_in"
2276 c:identifier="regress_test_gslist_nothing_in">
2277 <return-value transfer-ownership="none">
2278 <type name="none" c:type="void"/>
2281 <parameter name="in" transfer-ownership="none">
2282 <type name="GLib.SList" c:type="GSList*">
2288 <function name="test_gslist_nothing_in2"
2289 c:identifier="regress_test_gslist_nothing_in2">
2290 <return-value transfer-ownership="none">
2291 <type name="none" c:type="void"/>
2294 <parameter name="in" transfer-ownership="none">
2295 <type name="GLib.SList" c:type="GSList*">
2301 <function name="test_gslist_nothing_return"
2302 c:identifier="regress_test_gslist_nothing_return">
2303 <return-value transfer-ownership="none">
2304 <type name="GLib.SList" c:type="GSList*">
2309 <function name="test_gslist_nothing_return2"
2310 c:identifier="regress_test_gslist_nothing_return2">
2311 <return-value transfer-ownership="none">
2312 <type name="GLib.SList" c:type="GSList*">
2317 <function name="test_gslist_null_in"
2318 c:identifier="regress_test_gslist_null_in">
2319 <return-value transfer-ownership="none">
2320 <type name="none" c:type="void"/>
2323 <parameter name="in" transfer-ownership="none" allow-none="1">
2324 <type name="GLib.SList" c:type="GSList*">
2330 <function name="test_gslist_null_out"
2331 c:identifier="regress_test_gslist_null_out">
2332 <return-value transfer-ownership="none">
2333 <type name="none" c:type="void"/>
2336 <parameter name="out_list"
2338 caller-allocates="0"
2339 transfer-ownership="full"
2341 <type name="GLib.SList" c:type="GSList**">
2347 <function name="test_gtype" c:identifier="regress_test_gtype">
2348 <return-value transfer-ownership="none">
2349 <type name="GType" c:type="GType"/>
2352 <parameter name="in" transfer-ownership="none">
2353 <type name="GType" c:type="GType"/>
2357 <function name="test_gvariant_as" c:identifier="regress_test_gvariant_as">
2358 <return-value transfer-ownership="none">
2359 <doc xml:whitespace="preserve">New variant</doc>
2360 <type name="GLib.Variant" c:type="GVariant*"/>
2363 <function name="test_gvariant_asv"
2364 c:identifier="regress_test_gvariant_asv">
2365 <return-value transfer-ownership="none">
2366 <doc xml:whitespace="preserve">New variant</doc>
2367 <type name="GLib.Variant" c:type="GVariant*"/>
2370 <function name="test_gvariant_i" c:identifier="regress_test_gvariant_i">
2371 <return-value transfer-ownership="none">
2372 <doc xml:whitespace="preserve">New variant</doc>
2373 <type name="GLib.Variant" c:type="GVariant*"/>
2376 <function name="test_gvariant_s" c:identifier="regress_test_gvariant_s">
2377 <return-value transfer-ownership="none">
2378 <doc xml:whitespace="preserve">New variant</doc>
2379 <type name="GLib.Variant" c:type="GVariant*"/>
2382 <function name="test_gvariant_v" c:identifier="regress_test_gvariant_v">
2383 <return-value transfer-ownership="none">
2384 <doc xml:whitespace="preserve">New variant</doc>
2385 <type name="GLib.Variant" c:type="GVariant*"/>
2388 <function name="test_int" c:identifier="regress_test_int">
2389 <return-value transfer-ownership="none">
2390 <type name="gint" c:type="gint"/>
2393 <parameter name="in" transfer-ownership="none">
2394 <type name="gint" c:type="gint"/>
2398 <function name="test_int16" c:identifier="regress_test_int16">
2399 <return-value transfer-ownership="none">
2400 <type name="gint16" c:type="gint16"/>
2403 <parameter name="in" transfer-ownership="none">
2404 <type name="gint16" c:type="gint16"/>
2408 <function name="test_int32" c:identifier="regress_test_int32">
2409 <return-value transfer-ownership="none">
2410 <type name="gint32" c:type="gint32"/>
2413 <parameter name="in" transfer-ownership="none">
2414 <type name="gint32" c:type="gint32"/>
2418 <function name="test_int64" c:identifier="regress_test_int64">
2419 <return-value transfer-ownership="none">
2420 <type name="gint64" c:type="gint64"/>
2423 <parameter name="in" transfer-ownership="none">
2424 <type name="gint64" c:type="gint64"/>
2428 <function name="test_int8" c:identifier="regress_test_int8">
2429 <return-value transfer-ownership="none">
2430 <type name="gint8" c:type="gint8"/>
2433 <parameter name="in" transfer-ownership="none">
2434 <type name="gint8" c:type="gint8"/>
2438 <function name="test_int_out_utf8"
2439 c:identifier="regress_test_int_out_utf8">
2440 <return-value transfer-ownership="none">
2441 <type name="none" c:type="void"/>
2444 <parameter name="length"
2446 caller-allocates="0"
2447 transfer-ownership="full">
2448 <type name="gint" c:type="int*"/>
2450 <parameter name="in" transfer-ownership="none">
2451 <type name="utf8" c:type="char*"/>
2455 <function name="test_int_value_arg"
2456 c:identifier="regress_test_int_value_arg">
2457 <return-value transfer-ownership="none">
2458 <type name="gint" c:type="int"/>
2461 <parameter name="v" transfer-ownership="none">
2462 <type name="GObject.Value" c:type="GValue*"/>
2466 <function name="test_long" c:identifier="regress_test_long">
2467 <return-value transfer-ownership="none">
2468 <type name="glong" c:type="glong"/>
2471 <parameter name="in" transfer-ownership="none">
2472 <type name="glong" c:type="glong"/>
2476 <function name="test_multi_callback"
2477 c:identifier="regress_test_multi_callback">
2478 <return-value transfer-ownership="none">
2479 <type name="gint" c:type="int"/>
2482 <parameter name="callback"
2483 transfer-ownership="none"
2486 <type name="TestCallback" c:type="RegressTestCallback"/>
2490 <function name="test_multi_double_args"
2491 c:identifier="regress_test_multi_double_args">
2492 <return-value transfer-ownership="none">
2493 <type name="none" c:type="void"/>
2496 <parameter name="in" transfer-ownership="none">
2497 <type name="gdouble" c:type="gdouble"/>
2499 <parameter name="one"
2501 caller-allocates="0"
2502 transfer-ownership="full">
2503 <type name="gdouble" c:type="gdouble*"/>
2505 <parameter name="two"
2507 caller-allocates="0"
2508 transfer-ownership="full">
2509 <type name="gdouble" c:type="gdouble*"/>
2513 <function name="test_multiline_doc_comments"
2514 c:identifier="regress_test_multiline_doc_comments">
2515 <doc xml:whitespace="preserve">This is a function.
2517 It has multiple lines in the documentation.
2521 You will give me your credit card number.</doc>
2522 <return-value transfer-ownership="none">
2523 <type name="none" c:type="void"/>
2526 <function name="test_nested_parameter"
2527 c:identifier="regress_test_nested_parameter">
2528 <doc xml:whitespace="preserve"><informaltable>
2529 <tgroup cols="3">
2532 <entry>Syntax</entry>
2533 <entry>Explanation</entry>
2534 <entry>Examples</entry>
2539 <entry>rgb(@r, @g, @b)</entry>
2540 <entry>An opaque color; @r, @g, @b can be either integers between
2541 0 and 255 or percentages</entry>
2542 <entry><literallayout>rgb(128, 10, 54)
2543 rgb(20%, 30%, 0%)</literallayout></entry>
2546 <entry>rgba(@r, @g, @b, @a)</entry>
2547 <entry>A translucent color; @r, @g, @b are as in the previous row,
2548 @a is a floating point number between 0 and 1</entry>
2549 <entry><literallayout>rgba(255, 255, 0, 0.5)</literallayout></entry>
2553 </informaltable>
2555 What we're testing here is that the scanner ignores the @a nested inside XML.</doc>
2556 <return-value transfer-ownership="none">
2557 <type name="none" c:type="void"/>
2560 <parameter name="a" transfer-ownership="none">
2561 <doc xml:whitespace="preserve">An integer</doc>
2562 <type name="gint" c:type="int"/>
2566 <function name="test_short" c:identifier="regress_test_short">
2567 <return-value transfer-ownership="none">
2568 <type name="gshort" c:type="gshort"/>
2571 <parameter name="in" transfer-ownership="none">
2572 <type name="gshort" c:type="gshort"/>
2576 <function name="test_simple_boxed_a_const_return"
2577 c:identifier="regress_test_simple_boxed_a_const_return"
2578 moved-to="TestSimpleBoxedA.const_return">
2579 <return-value transfer-ownership="none">
2580 <type name="TestSimpleBoxedA" c:type="RegressTestSimpleBoxedA*"/>
2583 <function name="test_simple_callback"
2584 c:identifier="regress_test_simple_callback">
2585 <return-value transfer-ownership="none">
2586 <type name="none" c:type="void"/>
2589 <parameter name="callback"
2590 transfer-ownership="none"
2593 <type name="TestSimpleCallback" c:type="RegressTestSimpleCallback"/>
2597 <function name="test_size" c:identifier="regress_test_size">
2598 <return-value transfer-ownership="none">
2599 <type name="gsize" c:type="gsize"/>
2602 <parameter name="in" transfer-ownership="none">
2603 <type name="gsize" c:type="gsize"/>
2607 <function name="test_ssize" c:identifier="regress_test_ssize">
2608 <return-value transfer-ownership="none">
2609 <type name="gssize" c:type="gssize"/>
2612 <parameter name="in" transfer-ownership="none">
2613 <type name="gssize" c:type="gssize"/>
2617 <function name="test_strv_in" c:identifier="regress_test_strv_in">
2618 <return-value transfer-ownership="none">
2619 <type name="gboolean" c:type="gboolean"/>
2622 <parameter name="arr" transfer-ownership="none">
2623 <array c:type="char**">
2624 <type name="utf8" c:type="char*"/>
2629 <function name="test_strv_in_gvalue"
2630 c:identifier="regress_test_strv_in_gvalue">
2631 <return-value transfer-ownership="full">
2632 <type name="GObject.Value" c:type="GValue*"/>
2635 <function name="test_strv_out" c:identifier="regress_test_strv_out">
2636 <return-value transfer-ownership="full">
2637 <array c:type="char**">
2642 <function name="test_strv_out_c" c:identifier="regress_test_strv_out_c">
2643 <return-value transfer-ownership="none">
2644 <array c:type="char**">
2649 <function name="test_strv_out_container"
2650 c:identifier="regress_test_strv_out_container">
2651 <return-value transfer-ownership="container">
2652 <array c:type="char**">
2657 <function name="test_strv_outarg" c:identifier="regress_test_strv_outarg">
2658 <return-value transfer-ownership="none">
2659 <type name="none" c:type="void"/>
2662 <parameter name="retp"
2664 caller-allocates="0"
2665 transfer-ownership="container">
2666 <array c:type="char***">
2667 <type name="utf8" c:type="char**"/>
2672 <function name="test_timet" c:identifier="regress_test_timet">
2673 <return-value transfer-ownership="none">
2674 <type name="glong" c:type="time_t"/>
2677 <parameter name="in" transfer-ownership="none">
2678 <type name="glong" c:type="time_t"/>
2682 <function name="test_torture_signature_0"
2683 c:identifier="regress_test_torture_signature_0">
2684 <return-value transfer-ownership="none">
2685 <type name="none" c:type="void"/>
2688 <parameter name="x" transfer-ownership="none">
2689 <type name="gint" c:type="int"/>
2693 caller-allocates="0"
2694 transfer-ownership="full">
2695 <type name="gdouble" c:type="double*"/>
2699 caller-allocates="0"
2700 transfer-ownership="full">
2701 <type name="gint" c:type="int*"/>
2703 <parameter name="foo" transfer-ownership="none">
2704 <type name="utf8" c:type="char*"/>
2708 caller-allocates="0"
2709 transfer-ownership="full">
2710 <type name="gint" c:type="int*"/>
2712 <parameter name="m" transfer-ownership="none">
2713 <type name="guint" c:type="guint"/>
2717 <function name="test_torture_signature_1"
2718 c:identifier="regress_test_torture_signature_1"
2720 <doc xml:whitespace="preserve">This function throws an error if m is odd.</doc>
2721 <return-value transfer-ownership="none">
2722 <type name="gboolean" c:type="gboolean"/>
2725 <parameter name="x" transfer-ownership="none">
2726 <type name="gint" c:type="int"/>
2730 caller-allocates="0"
2731 transfer-ownership="full">
2732 <type name="gdouble" c:type="double*"/>
2736 caller-allocates="0"
2737 transfer-ownership="full">
2738 <type name="gint" c:type="int*"/>
2740 <parameter name="foo" transfer-ownership="none">
2741 <type name="utf8" c:type="char*"/>
2745 caller-allocates="0"
2746 transfer-ownership="full">
2747 <type name="gint" c:type="int*"/>
2749 <parameter name="m" transfer-ownership="none">
2750 <type name="guint" c:type="guint"/>
2754 <function name="test_torture_signature_2"
2755 c:identifier="regress_test_torture_signature_2">
2756 <return-value transfer-ownership="none">
2757 <type name="none" c:type="void"/>
2760 <parameter name="x" transfer-ownership="none">
2761 <type name="gint" c:type="int"/>
2763 <parameter name="callback"
2764 transfer-ownership="none"
2768 <type name="TestCallbackUserData"
2769 c:type="RegressTestCallbackUserData"/>
2771 <parameter name="user_data" transfer-ownership="none">
2772 <type name="gpointer" c:type="gpointer"/>
2774 <parameter name="notify" transfer-ownership="none" scope="async">
2775 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
2779 caller-allocates="0"
2780 transfer-ownership="full">
2781 <type name="gdouble" c:type="double*"/>
2785 caller-allocates="0"
2786 transfer-ownership="full">
2787 <type name="gint" c:type="int*"/>
2789 <parameter name="foo" transfer-ownership="none">
2790 <type name="utf8" c:type="char*"/>
2794 caller-allocates="0"
2795 transfer-ownership="full">
2796 <type name="gint" c:type="int*"/>
2798 <parameter name="m" transfer-ownership="none">
2799 <type name="guint" c:type="guint"/>
2803 <function name="test_uint" c:identifier="regress_test_uint">
2804 <return-value transfer-ownership="none">
2805 <type name="guint" c:type="guint"/>
2808 <parameter name="in" transfer-ownership="none">
2809 <type name="guint" c:type="guint"/>
2813 <function name="test_uint16" c:identifier="regress_test_uint16">
2814 <return-value transfer-ownership="none">
2815 <type name="guint16" c:type="guint16"/>
2818 <parameter name="in" transfer-ownership="none">
2819 <type name="guint16" c:type="guint16"/>
2823 <function name="test_uint32" c:identifier="regress_test_uint32">
2824 <return-value transfer-ownership="none">
2825 <type name="guint32" c:type="guint32"/>
2828 <parameter name="in" transfer-ownership="none">
2829 <type name="guint32" c:type="guint32"/>
2833 <function name="test_uint64" c:identifier="regress_test_uint64">
2834 <return-value transfer-ownership="none">
2835 <type name="guint64" c:type="guint64"/>
2838 <parameter name="in" transfer-ownership="none">
2839 <type name="guint64" c:type="guint64"/>
2843 <function name="test_uint8" c:identifier="regress_test_uint8">
2844 <return-value transfer-ownership="none">
2845 <type name="guint8" c:type="guint8"/>
2848 <parameter name="in" transfer-ownership="none">
2849 <type name="guint8" c:type="guint8"/>
2853 <function name="test_ulong" c:identifier="regress_test_ulong">
2854 <return-value transfer-ownership="none">
2855 <type name="gulong" c:type="gulong"/>
2858 <parameter name="in" transfer-ownership="none">
2859 <type name="gulong" c:type="gulong"/>
2863 <function name="test_unichar" c:identifier="regress_test_unichar">
2864 <return-value transfer-ownership="none">
2865 <type name="gunichar" c:type="gunichar"/>
2868 <parameter name="in" transfer-ownership="none">
2869 <type name="gunichar" c:type="gunichar"/>
2873 <function name="test_unsigned_enum_param"
2874 c:identifier="regress_test_unsigned_enum_param">
2875 <return-value transfer-ownership="none">
2876 <type name="utf8" c:type="gchar*"/>
2879 <parameter name="e" transfer-ownership="none">
2880 <type name="TestEnumUnsigned" c:type="RegressTestEnumUnsigned"/>
2884 <function name="test_ushort" c:identifier="regress_test_ushort">
2885 <return-value transfer-ownership="none">
2886 <type name="gushort" c:type="gushort"/>
2889 <parameter name="in" transfer-ownership="none">
2890 <type name="gushort" c:type="gushort"/>
2894 <function name="test_utf8_const_in"
2895 c:identifier="regress_test_utf8_const_in">
2896 <return-value transfer-ownership="none">
2897 <type name="none" c:type="void"/>
2900 <parameter name="in" transfer-ownership="none">
2901 <type name="utf8" c:type="char*"/>
2905 <function name="test_utf8_const_return"
2906 c:identifier="regress_test_utf8_const_return">
2907 <return-value transfer-ownership="none">
2908 <doc xml:whitespace="preserve">UTF-8 string</doc>
2909 <type name="utf8" c:type="char*"/>
2912 <function name="test_utf8_inout" c:identifier="regress_test_utf8_inout">
2913 <return-value transfer-ownership="none">
2914 <type name="none" c:type="void"/>
2917 <parameter name="inout"
2919 caller-allocates="0"
2920 transfer-ownership="full">
2921 <type name="utf8" c:type="char**"/>
2925 <function name="test_utf8_nonconst_return"
2926 c:identifier="regress_test_utf8_nonconst_return">
2927 <return-value transfer-ownership="full">
2928 <doc xml:whitespace="preserve">UTF-8 string</doc>
2929 <type name="utf8" c:type="char*"/>
2932 <function name="test_utf8_null_in"
2933 c:identifier="regress_test_utf8_null_in">
2934 <return-value transfer-ownership="none">
2935 <type name="none" c:type="void"/>
2938 <parameter name="in" transfer-ownership="none" allow-none="1">
2939 <type name="utf8" c:type="char*"/>
2943 <function name="test_utf8_null_out"
2944 c:identifier="regress_test_utf8_null_out">
2945 <return-value transfer-ownership="none">
2946 <type name="none" c:type="void"/>
2949 <parameter name="char_out"
2951 caller-allocates="0"
2952 transfer-ownership="full"
2954 <type name="utf8" c:type="char**"/>
2958 <function name="test_utf8_out" c:identifier="regress_test_utf8_out">
2959 <return-value transfer-ownership="none">
2960 <type name="none" c:type="void"/>
2963 <parameter name="out"
2965 caller-allocates="0"
2966 transfer-ownership="full">
2967 <type name="utf8" c:type="char**"/>
2971 <function name="test_utf8_out_nonconst_return"
2972 c:identifier="regress_test_utf8_out_nonconst_return">
2973 <return-value transfer-ownership="full">
2974 <doc xml:whitespace="preserve">a copy of "first"</doc>
2975 <type name="utf8" c:type="char*"/>
2978 <parameter name="out"
2980 caller-allocates="0"
2981 transfer-ownership="full">
2982 <doc xml:whitespace="preserve">a copy of "second"</doc>
2983 <type name="utf8" c:type="char**"/>
2987 <function name="test_utf8_out_out"
2988 c:identifier="regress_test_utf8_out_out">
2989 <return-value transfer-ownership="none">
2990 <type name="none" c:type="void"/>
2993 <parameter name="out0"
2995 caller-allocates="0"
2996 transfer-ownership="full">
2997 <doc xml:whitespace="preserve">a copy of "first"</doc>
2998 <type name="utf8" c:type="char**"/>
3000 <parameter name="out1"
3002 caller-allocates="0"
3003 transfer-ownership="full">
3004 <doc xml:whitespace="preserve">a copy of "second"</doc>
3005 <type name="utf8" c:type="char**"/>
3009 <function name="test_value_get_fundamental_object"
3010 c:identifier="regress_test_value_get_fundamental_object"
3013 <type name="TestFundamentalObject"
3014 c:type="RegressTestFundamentalObject*"/>
3017 <parameter name="value" transfer-ownership="none">
3018 <type name="GObject.Value" c:type="GValue*"/>
3022 <function name="test_value_return"
3023 c:identifier="regress_test_value_return">
3024 <return-value transfer-ownership="none">
3025 <doc xml:whitespace="preserve">the int wrapped in a GValue.</doc>
3026 <type name="GObject.Value" c:type="GValue*"/>
3029 <parameter name="i" transfer-ownership="none">
3030 <doc xml:whitespace="preserve">an int</doc>
3031 <type name="gint" c:type="int"/>
3035 <function name="test_value_set_fundamental_object"
3036 c:identifier="regress_test_value_set_fundamental_object"
3038 <return-value transfer-ownership="none">
3039 <type name="none" c:type="void"/>
3042 <parameter name="value" transfer-ownership="none">
3043 <type name="GObject.Value" c:type="GValue*"/>
3045 <parameter name="fundamental_object" transfer-ownership="none">
3046 <type name="TestFundamentalObject"
3047 c:type="RegressTestFundamentalObject*"/>