gobject-introspection 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +7 -7
  3. data/ext/gobject-introspection/rb-gi-argument.c +28 -3
  4. data/ext/gobject-introspection/rb-gi-constructor-info.c +6 -1
  5. data/ext/gobject-introspection/rb-gi-function-info.c +29 -4
  6. data/ext/gobject-introspection/rb-gi-loader.c +19 -3
  7. data/ext/gobject-introspection/rb-gi-struct-info.c +28 -16
  8. data/lib/2.0/gobject_introspection.so +0 -0
  9. data/lib/gobject-introspection/callable-info.rb +16 -7
  10. data/lib/gobject-introspection/loader.rb +47 -19
  11. data/test/test-object-info.rb +1 -1
  12. data/test/test-signal-info.rb +2 -2
  13. data/test/test-struct-info.rb +1 -1
  14. data/vendor/local/bin/g-ir-compiler.exe +0 -0
  15. data/vendor/local/bin/g-ir-generate.exe +0 -0
  16. data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
  17. data/vendor/local/include/gobject-introspection-1.0/giarginfo.h +30 -0
  18. data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +31 -0
  19. data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +36 -0
  20. data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +12 -0
  21. data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +26 -0
  22. data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +19 -0
  23. data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +23 -0
  24. data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +38 -0
  25. data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +72 -2
  26. data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +12 -0
  27. data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +11 -0
  28. data/vendor/local/include/gobject-introspection-1.0/girepository.h +68 -8
  29. data/vendor/local/include/gobject-introspection-1.0/girffi.h +25 -1
  30. data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +12 -0
  31. data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +24 -0
  32. data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +31 -0
  33. data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +25 -0
  34. data/vendor/local/include/gobject-introspection-1.0/gitypes.h +84 -13
  35. data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +27 -0
  36. data/vendor/local/include/gobject-introspection-1.0/giversionmacros.h +128 -0
  37. data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +17 -0
  38. data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
  39. data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
  40. data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
  41. data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
  42. data/vendor/local/lib/girepository-1.0/libxml2-2.0.typelib +0 -0
  43. data/vendor/local/lib/girepository-1.0/win32-1.0.typelib +0 -0
  44. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
  45. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
  46. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.py +5 -4
  47. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
  48. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
  49. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.py +1865 -913
  50. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
  51. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
  52. data/vendor/local/lib/gobject-introspection/giscanner/ast.py +49 -16
  53. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
  54. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
  55. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.py +10 -4
  56. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
  57. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
  58. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.py +202 -0
  59. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
  60. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
  61. data/vendor/local/lib/gobject-introspection/giscanner/codegen.py +32 -1
  62. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
  63. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
  64. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.py +1 -0
  65. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
  66. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
  67. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.py +305 -0
  68. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
  69. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
  70. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
  71. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
  72. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
  73. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
  74. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/callback.tmpl +4 -0
  75. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/field.tmpl +1 -0
  76. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +8 -9
  77. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/interface.tmpl +2 -0
  78. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/callback.tmpl +27 -0
  79. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl +17 -5
  80. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +8 -0
  81. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/field.tmpl +9 -0
  82. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +12 -13
  83. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/interface.tmpl +17 -0
  84. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +3 -4
  85. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +10 -9
  86. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +7 -7
  87. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl +27 -0
  88. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +5 -4
  89. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/field.tmpl +1 -0
  90. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +8 -14
  91. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/interface.tmpl +16 -0
  92. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +2 -3
  93. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +6 -7
  94. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +7 -13
  95. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +10 -19
  96. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +24 -3
  97. data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +4 -7
  98. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +375 -61
  99. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
  100. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
  101. data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +43 -75
  102. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
  103. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
  104. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.py +1 -20
  105. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
  106. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
  107. data/vendor/local/lib/gobject-introspection/giscanner/girparser.py +33 -15
  108. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
  109. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
  110. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.py +51 -22
  111. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
  112. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
  113. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
  114. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
  115. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
  116. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
  117. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.py +285 -254
  118. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
  119. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
  120. data/vendor/local/lib/gobject-introspection/giscanner/message.py +41 -25
  121. data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
  122. data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
  123. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +67 -15
  124. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
  125. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
  126. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
  127. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
  128. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.py +10 -6
  129. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
  130. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
  131. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.py +14 -8
  132. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
  133. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
  134. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.py +16 -2
  135. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
  136. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
  137. data/vendor/local/lib/gobject-introspection/giscanner/transformer.py +150 -169
  138. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
  139. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
  140. data/vendor/local/lib/gobject-introspection/giscanner/utils.py +64 -3
  141. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
  142. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
  143. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.py +5 -44
  144. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
  145. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
  146. data/vendor/local/lib/libgirepository-1.0.a +0 -0
  147. data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
  148. data/vendor/local/lib/libgirepository-1.0.la +1 -1
  149. data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +4 -4
  150. data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +5 -5
  151. data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +352 -143
  152. data/vendor/local/share/gir-1.0/GLib-2.0.gir +6402 -3872
  153. data/vendor/local/share/gir-1.0/GModule-2.0.gir +42 -24
  154. data/vendor/local/share/gir-1.0/GObject-2.0.gir +1543 -887
  155. data/vendor/local/share/gir-1.0/Gio-2.0.gir +10859 -3705
  156. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +10 -14
  157. data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +112 -9
  158. data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +2 -0
  159. data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +11 -0
  160. data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +106 -0
  161. data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +107 -0
  162. data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +3 -3
  163. data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +145 -0
  164. data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +166 -10
  165. data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +790 -0
  166. data/vendor/local/share/gobject-introspection-1.0/tests/gitestmacros.h +10 -0
  167. data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +79 -28
  168. data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +462 -0
  169. data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +2 -0
  170. data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +7 -0
  171. data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +14 -0
  172. data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +10 -0
  173. data/vendor/local/share/man/man1/g-ir-compiler.1 +1 -10
  174. metadata +38 -23
  175. data/lib/1.9/gobject_introspection.so +0 -0
  176. data/lib/2.1/gobject_introspection.so +0 -0
@@ -4,6 +4,8 @@
4
4
 
5
5
  #include <glib-object.h>
6
6
 
7
+ #include "gitestmacros.h"
8
+
7
9
  #ifndef __GI_MARSHALLING_TESTS_H__
8
10
  #define __GI_MARSHALLING_TESTS_H__
9
11
 
@@ -18,255 +20,512 @@ typedef struct _GIMarshallingTestsBoxedStruct GIMarshallingTestsBoxedStruct;
18
20
 
19
21
  /* Booleans */
20
22
 
23
+ _GI_TEST_EXTERN
21
24
  gboolean gi_marshalling_tests_boolean_return_true (void);
25
+
26
+ _GI_TEST_EXTERN
22
27
  gboolean gi_marshalling_tests_boolean_return_false (void);
23
28
 
29
+
30
+ _GI_TEST_EXTERN
24
31
  void gi_marshalling_tests_boolean_in_true (gboolean v);
32
+
33
+ _GI_TEST_EXTERN
25
34
  void gi_marshalling_tests_boolean_in_false (gboolean v);
26
35
 
36
+
37
+ _GI_TEST_EXTERN
27
38
  void gi_marshalling_tests_boolean_out_true (gboolean *v);
39
+
40
+ _GI_TEST_EXTERN
28
41
  void gi_marshalling_tests_boolean_out_false (gboolean *v);
29
42
 
43
+
44
+ _GI_TEST_EXTERN
30
45
  void gi_marshalling_tests_boolean_inout_true_false (gboolean *v);
46
+
47
+ _GI_TEST_EXTERN
31
48
  void gi_marshalling_tests_boolean_inout_false_true (gboolean *v);
32
49
 
33
50
 
34
51
  /* Integers */
35
52
 
53
+ _GI_TEST_EXTERN
36
54
  gint8 gi_marshalling_tests_int8_return_max (void);
55
+
56
+ _GI_TEST_EXTERN
37
57
  gint8 gi_marshalling_tests_int8_return_min (void);
38
58
 
59
+
60
+ _GI_TEST_EXTERN
39
61
  void gi_marshalling_tests_int8_in_max (gint8 v);
62
+
63
+ _GI_TEST_EXTERN
40
64
  void gi_marshalling_tests_int8_in_min (gint8 v);
41
65
 
66
+
67
+ _GI_TEST_EXTERN
42
68
  void gi_marshalling_tests_int8_out_max (gint8 *v);
69
+
70
+ _GI_TEST_EXTERN
43
71
  void gi_marshalling_tests_int8_out_min (gint8 *v);
44
72
 
73
+
74
+ _GI_TEST_EXTERN
45
75
  void gi_marshalling_tests_int8_inout_max_min (gint8 *v);
76
+
77
+ _GI_TEST_EXTERN
46
78
  void gi_marshalling_tests_int8_inout_min_max (gint8 *v);
47
79
 
48
80
 
81
+
82
+ _GI_TEST_EXTERN
49
83
  guint8 gi_marshalling_tests_uint8_return (void);
50
84
 
85
+
86
+ _GI_TEST_EXTERN
51
87
  void gi_marshalling_tests_uint8_in (guint8 v);
52
88
 
89
+
90
+ _GI_TEST_EXTERN
53
91
  void gi_marshalling_tests_uint8_out (guint8 *v);
92
+
93
+ _GI_TEST_EXTERN
54
94
  void gi_marshalling_tests_uint8_inout (guint8 *v);
55
95
 
56
96
 
97
+ _GI_TEST_EXTERN
57
98
  gint16 gi_marshalling_tests_int16_return_max (void);
99
+
100
+ _GI_TEST_EXTERN
58
101
  gint16 gi_marshalling_tests_int16_return_min (void);
59
102
 
103
+
104
+ _GI_TEST_EXTERN
60
105
  void gi_marshalling_tests_int16_in_max (gint16 v);
106
+
107
+ _GI_TEST_EXTERN
61
108
  void gi_marshalling_tests_int16_in_min (gint16 v);
62
109
 
110
+
111
+ _GI_TEST_EXTERN
63
112
  void gi_marshalling_tests_int16_out_max (gint16 *v);
113
+
114
+ _GI_TEST_EXTERN
64
115
  void gi_marshalling_tests_int16_out_min (gint16 *v);
65
116
 
117
+
118
+ _GI_TEST_EXTERN
66
119
  void gi_marshalling_tests_int16_inout_max_min (gint16 *v);
120
+
121
+ _GI_TEST_EXTERN
67
122
  void gi_marshalling_tests_int16_inout_min_max (gint16 *v);
68
123
 
69
124
 
125
+
126
+ _GI_TEST_EXTERN
70
127
  guint16 gi_marshalling_tests_uint16_return (void);
71
128
 
129
+
130
+ _GI_TEST_EXTERN
72
131
  void gi_marshalling_tests_uint16_in (guint16 v);
73
132
 
133
+
134
+ _GI_TEST_EXTERN
74
135
  void gi_marshalling_tests_uint16_out (guint16 *v);
136
+
137
+ _GI_TEST_EXTERN
75
138
  void gi_marshalling_tests_uint16_inout (guint16 *v);
76
139
 
77
140
 
141
+
142
+ _GI_TEST_EXTERN
78
143
  gint32 gi_marshalling_tests_int32_return_max (void);
144
+
145
+ _GI_TEST_EXTERN
79
146
  gint32 gi_marshalling_tests_int32_return_min (void);
80
147
 
148
+
149
+ _GI_TEST_EXTERN
81
150
  void gi_marshalling_tests_int32_in_max (gint32 v);
151
+
152
+ _GI_TEST_EXTERN
82
153
  void gi_marshalling_tests_int32_in_min (gint32 v);
83
154
 
155
+
156
+ _GI_TEST_EXTERN
84
157
  void gi_marshalling_tests_int32_out_max (gint32 *v);
158
+
159
+ _GI_TEST_EXTERN
85
160
  void gi_marshalling_tests_int32_out_min (gint32 *v);
86
161
 
162
+
163
+ _GI_TEST_EXTERN
87
164
  void gi_marshalling_tests_int32_inout_max_min (gint32 *v);
165
+
166
+ _GI_TEST_EXTERN
88
167
  void gi_marshalling_tests_int32_inout_min_max (gint32 *v);
89
168
 
90
169
 
170
+
171
+ _GI_TEST_EXTERN
91
172
  guint32 gi_marshalling_tests_uint32_return (void);
92
173
 
174
+
175
+ _GI_TEST_EXTERN
93
176
  void gi_marshalling_tests_uint32_in (guint32 v);
94
177
 
178
+
179
+ _GI_TEST_EXTERN
95
180
  void gi_marshalling_tests_uint32_out (guint32 *v);
181
+
182
+ _GI_TEST_EXTERN
96
183
  void gi_marshalling_tests_uint32_inout (guint32 *v);
97
184
 
98
185
 
186
+
187
+ _GI_TEST_EXTERN
99
188
  gint64 gi_marshalling_tests_int64_return_max (void);
189
+
190
+ _GI_TEST_EXTERN
100
191
  gint64 gi_marshalling_tests_int64_return_min (void);
101
192
 
193
+
194
+ _GI_TEST_EXTERN
102
195
  void gi_marshalling_tests_int64_in_max (gint64 v);
196
+
197
+ _GI_TEST_EXTERN
103
198
  void gi_marshalling_tests_int64_in_min (gint64 v);
104
199
 
200
+
201
+ _GI_TEST_EXTERN
105
202
  void gi_marshalling_tests_int64_out_max (gint64 *v);
203
+
204
+ _GI_TEST_EXTERN
106
205
  void gi_marshalling_tests_int64_out_min (gint64 *v);
107
206
 
207
+
208
+ _GI_TEST_EXTERN
108
209
  void gi_marshalling_tests_int64_inout_max_min (gint64 *v);
210
+
211
+ _GI_TEST_EXTERN
109
212
  void gi_marshalling_tests_int64_inout_min_max (gint64 *v);
110
213
 
111
214
 
215
+
216
+ _GI_TEST_EXTERN
112
217
  guint64 gi_marshalling_tests_uint64_return (void);
113
218
 
219
+
220
+ _GI_TEST_EXTERN
114
221
  void gi_marshalling_tests_uint64_in (guint64 v);
115
222
 
223
+
224
+ _GI_TEST_EXTERN
116
225
  void gi_marshalling_tests_uint64_out (guint64 *v);
226
+
227
+ _GI_TEST_EXTERN
117
228
  void gi_marshalling_tests_uint64_inout (guint64 *v);
118
229
 
119
230
 
231
+
232
+ _GI_TEST_EXTERN
120
233
  gshort gi_marshalling_tests_short_return_max (void);
234
+
235
+ _GI_TEST_EXTERN
121
236
  gshort gi_marshalling_tests_short_return_min (void);
122
237
 
238
+
239
+ _GI_TEST_EXTERN
123
240
  void gi_marshalling_tests_short_in_max (gshort short_);
241
+
242
+ _GI_TEST_EXTERN
124
243
  void gi_marshalling_tests_short_in_min (gshort short_);
125
244
 
245
+
246
+ _GI_TEST_EXTERN
126
247
  void gi_marshalling_tests_short_out_max (gshort *short_);
248
+
249
+ _GI_TEST_EXTERN
127
250
  void gi_marshalling_tests_short_out_min (gshort *short_);
128
251
 
252
+
253
+ _GI_TEST_EXTERN
129
254
  void gi_marshalling_tests_short_inout_max_min (gshort *short_);
255
+
256
+ _GI_TEST_EXTERN
130
257
  void gi_marshalling_tests_short_inout_min_max (gshort *short_);
131
258
 
132
259
 
260
+
261
+ _GI_TEST_EXTERN
133
262
  gushort gi_marshalling_tests_ushort_return (void);
134
263
 
264
+
265
+ _GI_TEST_EXTERN
135
266
  void gi_marshalling_tests_ushort_in (gushort ushort_);
136
267
 
268
+
269
+ _GI_TEST_EXTERN
137
270
  void gi_marshalling_tests_ushort_out (gushort *ushort_);
271
+
272
+ _GI_TEST_EXTERN
138
273
  void gi_marshalling_tests_ushort_inout (gushort *ushort_);
139
274
 
140
275
 
276
+
277
+ _GI_TEST_EXTERN
141
278
  gint gi_marshalling_tests_int_return_max (void);
279
+
280
+ _GI_TEST_EXTERN
142
281
  gint gi_marshalling_tests_int_return_min (void);
143
282
 
283
+
284
+ _GI_TEST_EXTERN
144
285
  void gi_marshalling_tests_int_in_max (gint int_);
286
+
287
+ _GI_TEST_EXTERN
145
288
  void gi_marshalling_tests_int_in_min (gint int_);
146
289
 
290
+
291
+ _GI_TEST_EXTERN
147
292
  void gi_marshalling_tests_int_out_max (gint *int_);
293
+
294
+ _GI_TEST_EXTERN
148
295
  void gi_marshalling_tests_int_out_min (gint *int_);
149
296
 
297
+
298
+ _GI_TEST_EXTERN
150
299
  void gi_marshalling_tests_int_inout_max_min (gint *int_);
300
+
301
+ _GI_TEST_EXTERN
151
302
  void gi_marshalling_tests_int_inout_min_max (gint *int_);
152
303
 
153
304
 
305
+ _GI_TEST_EXTERN
154
306
  guint gi_marshalling_tests_uint_return (void);
155
307
 
308
+
309
+ _GI_TEST_EXTERN
156
310
  void gi_marshalling_tests_uint_in (guint uint_);
157
311
 
312
+
313
+ _GI_TEST_EXTERN
158
314
  void gi_marshalling_tests_uint_out (guint *uint_);
315
+
316
+ _GI_TEST_EXTERN
159
317
  void gi_marshalling_tests_uint_inout (guint *uint_);
160
318
 
161
319
 
320
+ _GI_TEST_EXTERN
162
321
  glong gi_marshalling_tests_long_return_max (void);
322
+
323
+ _GI_TEST_EXTERN
163
324
  glong gi_marshalling_tests_long_return_min (void);
164
325
 
326
+
327
+ _GI_TEST_EXTERN
165
328
  void gi_marshalling_tests_long_in_max (glong long_);
329
+
330
+ _GI_TEST_EXTERN
166
331
  void gi_marshalling_tests_long_in_min (glong long_);
167
332
 
333
+
334
+ _GI_TEST_EXTERN
168
335
  void gi_marshalling_tests_long_out_max (glong *long_);
336
+
337
+ _GI_TEST_EXTERN
169
338
  void gi_marshalling_tests_long_out_min (glong *long_);
170
339
 
340
+
341
+ _GI_TEST_EXTERN
171
342
  void gi_marshalling_tests_long_inout_max_min (glong *long_);
343
+
344
+ _GI_TEST_EXTERN
172
345
  void gi_marshalling_tests_long_inout_min_max (glong *long_);
173
346
 
174
347
 
348
+ _GI_TEST_EXTERN
175
349
  gulong gi_marshalling_tests_ulong_return (void);
176
350
 
351
+
352
+ _GI_TEST_EXTERN
177
353
  void gi_marshalling_tests_ulong_in (gulong ulong_);
178
354
 
355
+
356
+ _GI_TEST_EXTERN
179
357
  void gi_marshalling_tests_ulong_out (gulong *ulong_);
358
+
359
+ _GI_TEST_EXTERN
180
360
  void gi_marshalling_tests_ulong_inout (gulong *ulong_);
181
361
 
182
362
 
363
+ _GI_TEST_EXTERN
183
364
  gssize gi_marshalling_tests_ssize_return_max (void);
365
+
366
+ _GI_TEST_EXTERN
184
367
  gssize gi_marshalling_tests_ssize_return_min (void);
185
368
 
369
+
370
+ _GI_TEST_EXTERN
186
371
  void gi_marshalling_tests_ssize_in_max (gssize ssize);
372
+
373
+ _GI_TEST_EXTERN
187
374
  void gi_marshalling_tests_ssize_in_min (gssize ssize);
188
375
 
376
+
377
+ _GI_TEST_EXTERN
189
378
  void gi_marshalling_tests_ssize_out_max (gssize *ssize);
379
+
380
+ _GI_TEST_EXTERN
190
381
  void gi_marshalling_tests_ssize_out_min (gssize *ssize);
191
382
 
383
+
384
+ _GI_TEST_EXTERN
192
385
  void gi_marshalling_tests_ssize_inout_max_min (gssize *ssize);
386
+
387
+ _GI_TEST_EXTERN
193
388
  void gi_marshalling_tests_ssize_inout_min_max (gssize *ssize);
194
389
 
195
390
 
391
+
392
+ _GI_TEST_EXTERN
196
393
  gsize gi_marshalling_tests_size_return (void);
197
394
 
395
+
396
+ _GI_TEST_EXTERN
198
397
  void gi_marshalling_tests_size_in (gsize size);
199
398
 
399
+
400
+ _GI_TEST_EXTERN
200
401
  void gi_marshalling_tests_size_out (gsize *size);
402
+
403
+ _GI_TEST_EXTERN
201
404
  void gi_marshalling_tests_size_inout (gsize *size);
202
405
 
203
406
 
204
407
  /* Floating-point */
205
408
 
409
+ _GI_TEST_EXTERN
206
410
  gfloat gi_marshalling_tests_float_return (void);
207
411
 
412
+
413
+ _GI_TEST_EXTERN
208
414
  void gi_marshalling_tests_float_in (gfloat v);
209
415
 
416
+
417
+ _GI_TEST_EXTERN
210
418
  void gi_marshalling_tests_float_out (gfloat *v);
211
419
 
420
+
421
+ _GI_TEST_EXTERN
212
422
  void gi_marshalling_tests_float_inout (gfloat *v);
213
423
 
214
424
 
425
+
426
+ _GI_TEST_EXTERN
215
427
  gdouble gi_marshalling_tests_double_return (void);
216
428
 
429
+
430
+ _GI_TEST_EXTERN
217
431
  void gi_marshalling_tests_double_in (gdouble v);
218
432
 
433
+
434
+ _GI_TEST_EXTERN
219
435
  void gi_marshalling_tests_double_out (gdouble *v);
220
436
 
437
+
438
+ _GI_TEST_EXTERN
221
439
  void gi_marshalling_tests_double_inout (gdouble *v);
222
440
 
223
441
 
224
442
  /* Timestamps */
225
443
 
444
+ _GI_TEST_EXTERN
226
445
  time_t gi_marshalling_tests_time_t_return (void);
227
446
 
447
+
448
+ _GI_TEST_EXTERN
228
449
  void gi_marshalling_tests_time_t_in (time_t v);
229
450
 
451
+
452
+ _GI_TEST_EXTERN
230
453
  void gi_marshalling_tests_time_t_out (time_t *v);
231
454
 
455
+
456
+ _GI_TEST_EXTERN
232
457
  void gi_marshalling_tests_time_t_inout (time_t *v);
233
458
 
234
459
 
235
460
  /* GType */
236
461
 
462
+ _GI_TEST_EXTERN
237
463
  GType gi_marshalling_tests_gtype_return (void);
238
464
 
465
+
466
+ _GI_TEST_EXTERN
239
467
  GType gi_marshalling_tests_gtype_string_return (void);
240
468
 
469
+
470
+ _GI_TEST_EXTERN
241
471
  void gi_marshalling_tests_gtype_in (GType gtype);
242
472
 
473
+
474
+ _GI_TEST_EXTERN
243
475
  void gi_marshalling_tests_gtype_string_in (GType gtype);
244
476
 
477
+
478
+ _GI_TEST_EXTERN
245
479
  void gi_marshalling_tests_gtype_out (GType *gtype);
246
480
 
481
+
482
+ _GI_TEST_EXTERN
247
483
  void gi_marshalling_tests_gtype_string_out (GType *gtype);
248
484
 
485
+
486
+ _GI_TEST_EXTERN
249
487
  void gi_marshalling_tests_gtype_inout (GType *gtype);
250
488
 
251
489
 
252
490
  /* UTF-8 */
253
491
 
492
+ _GI_TEST_EXTERN
254
493
  const gchar *gi_marshalling_tests_utf8_none_return (void);
494
+
495
+ _GI_TEST_EXTERN
255
496
  gchar *gi_marshalling_tests_utf8_full_return (void);
256
497
 
498
+
499
+ _GI_TEST_EXTERN
257
500
  void gi_marshalling_tests_utf8_none_in (const gchar *utf8);
501
+
502
+ _GI_TEST_EXTERN
258
503
  void gi_marshalling_tests_utf8_full_in (gchar *utf8);
259
504
 
505
+
506
+ _GI_TEST_EXTERN
260
507
  void gi_marshalling_tests_utf8_none_out (gchar **utf8);
508
+
509
+ _GI_TEST_EXTERN
261
510
  void gi_marshalling_tests_utf8_full_out (gchar **utf8);
262
511
 
512
+
513
+ _GI_TEST_EXTERN
263
514
  void gi_marshalling_tests_utf8_dangling_out (gchar **utf8);
264
515
 
516
+
517
+ _GI_TEST_EXTERN
265
518
  void gi_marshalling_tests_utf8_none_inout (gchar **utf8);
519
+
520
+ _GI_TEST_EXTERN
266
521
  void gi_marshalling_tests_utf8_full_inout (gchar **utf8);
267
522
 
523
+
524
+ _GI_TEST_EXTERN
268
525
  GSList *gi_marshalling_tests_filename_list_return (void);
269
526
 
527
+
528
+ _GI_TEST_EXTERN
270
529
  void gi_marshalling_tests_utf8_as_uint8array_in (const guint8 *array,
271
530
  gsize len);
272
531
 
@@ -286,12 +545,20 @@ typedef enum
286
545
  GI_MARSHALLING_TESTS_SECOND_ENUM_SECONDVALUE2,
287
546
  } GIMarshallingTestsSecondEnum;
288
547
 
548
+
549
+ _GI_TEST_EXTERN
289
550
  GIMarshallingTestsEnum gi_marshalling_tests_enum_returnv (void);
290
551
 
552
+
553
+ _GI_TEST_EXTERN
291
554
  void gi_marshalling_tests_enum_in (GIMarshallingTestsEnum v);
292
555
 
556
+
557
+ _GI_TEST_EXTERN
293
558
  void gi_marshalling_tests_enum_out (GIMarshallingTestsEnum *v);
294
559
 
560
+
561
+ _GI_TEST_EXTERN
295
562
  void gi_marshalling_tests_enum_inout (GIMarshallingTestsEnum *v);
296
563
 
297
564
 
@@ -304,15 +571,24 @@ typedef enum
304
571
  GI_MARSHALLING_TESTS_GENUM_VALUE3 = 42
305
572
  } GIMarshallingTestsGEnum;
306
573
 
574
+ _GI_TEST_EXTERN
307
575
  GType gi_marshalling_tests_genum_get_type (void) G_GNUC_CONST;
308
576
  #define GI_MARSHALLING_TESTS_TYPE_GENUM (gi_marshalling_tests_genum_get_type ())
309
577
 
578
+
579
+ _GI_TEST_EXTERN
310
580
  GIMarshallingTestsGEnum gi_marshalling_tests_genum_returnv (void);
311
581
 
582
+
583
+ _GI_TEST_EXTERN
312
584
  void gi_marshalling_tests_genum_in (GIMarshallingTestsGEnum v);
313
585
 
586
+
587
+ _GI_TEST_EXTERN
314
588
  void gi_marshalling_tests_genum_out (GIMarshallingTestsGEnum *v);
315
589
 
590
+
591
+ _GI_TEST_EXTERN
316
592
  void gi_marshalling_tests_genum_inout (GIMarshallingTestsGEnum *v);
317
593
 
318
594
 
@@ -328,16 +604,27 @@ typedef enum
328
604
  GI_MARSHALLING_TESTS_FLAGS_MASK2 = GI_MARSHALLING_TESTS_FLAGS_MASK
329
605
  } GIMarshallingTestsFlags;
330
606
 
607
+ _GI_TEST_EXTERN
331
608
  GType gi_marshalling_tests_flags_get_type (void) G_GNUC_CONST;
332
609
  #define GI_MARSHALLING_TESTS_TYPE_FLAGS (gi_marshalling_tests_flags_get_type ())
333
610
 
611
+
612
+ _GI_TEST_EXTERN
334
613
  GIMarshallingTestsFlags gi_marshalling_tests_flags_returnv (void);
335
614
 
615
+
616
+ _GI_TEST_EXTERN
336
617
  void gi_marshalling_tests_flags_in (GIMarshallingTestsFlags v);
618
+
619
+ _GI_TEST_EXTERN
337
620
  void gi_marshalling_tests_flags_in_zero (GIMarshallingTestsFlags v);
338
621
 
622
+
623
+ _GI_TEST_EXTERN
339
624
  void gi_marshalling_tests_flags_out (GIMarshallingTestsFlags *v);
340
625
 
626
+
627
+ _GI_TEST_EXTERN
341
628
  void gi_marshalling_tests_flags_inout (GIMarshallingTestsFlags *v);
342
629
 
343
630
  /* Flags with no GType */
@@ -352,221 +639,472 @@ typedef enum
352
639
  GI_MARSHALLING_TESTS_NO_TYPE_FLAGS_MASK2 = GI_MARSHALLING_TESTS_FLAGS_MASK
353
640
  } GIMarshallingTestsNoTypeFlags;
354
641
 
642
+
643
+ _GI_TEST_EXTERN
355
644
  GIMarshallingTestsNoTypeFlags gi_marshalling_tests_no_type_flags_returnv (void);
356
645
 
646
+
647
+ _GI_TEST_EXTERN
357
648
  void gi_marshalling_tests_no_type_flags_in (GIMarshallingTestsNoTypeFlags v);
649
+
650
+ _GI_TEST_EXTERN
358
651
  void gi_marshalling_tests_no_type_flags_in_zero (GIMarshallingTestsNoTypeFlags v);
359
652
 
653
+
654
+ _GI_TEST_EXTERN
360
655
  void gi_marshalling_tests_no_type_flags_out (GIMarshallingTestsNoTypeFlags *v);
361
656
 
657
+
658
+ _GI_TEST_EXTERN
362
659
  void gi_marshalling_tests_no_type_flags_inout (GIMarshallingTestsNoTypeFlags *v);
363
660
 
364
661
  /* Arrays */
365
662
 
663
+
664
+ _GI_TEST_EXTERN
366
665
  gboolean gi_marshalling_tests_init_function (gint *n_args, char ***argv);
367
666
 
368
667
  /* Fixed-size */
668
+
669
+ _GI_TEST_EXTERN
369
670
  const gint *gi_marshalling_tests_array_fixed_int_return (void);
671
+
672
+ _GI_TEST_EXTERN
370
673
  const gshort *gi_marshalling_tests_array_fixed_short_return (void);
371
674
 
675
+
676
+ _GI_TEST_EXTERN
372
677
  void gi_marshalling_tests_array_fixed_int_in (const gint *ints);
678
+
679
+ _GI_TEST_EXTERN
373
680
  void gi_marshalling_tests_array_fixed_short_in (const gshort *shorts);
374
681
 
682
+
683
+ _GI_TEST_EXTERN
375
684
  void gi_marshalling_tests_array_fixed_out (gint **ints);
376
685
 
686
+
687
+ _GI_TEST_EXTERN
377
688
  void gi_marshalling_tests_array_fixed_out_struct (GIMarshallingTestsSimpleStruct **structs);
378
689
 
690
+
691
+ _GI_TEST_EXTERN
379
692
  void gi_marshalling_tests_array_fixed_inout (gint **ints);
380
693
 
381
694
  /* Variable-size */
382
695
 
696
+
697
+ _GI_TEST_EXTERN
383
698
  const gint *gi_marshalling_tests_array_return (gint *length);
699
+
700
+ _GI_TEST_EXTERN
384
701
  const gint *gi_marshalling_tests_array_return_etc (gint first, gint *length, gint last, gint *sum);
385
702
 
703
+
704
+ _GI_TEST_EXTERN
386
705
  void gi_marshalling_tests_array_in (const gint *ints, gint length);
706
+
707
+ _GI_TEST_EXTERN
387
708
  void gi_marshalling_tests_array_in_len_before (gint length, const gint *ints);
709
+
710
+ _GI_TEST_EXTERN
388
711
  void gi_marshalling_tests_array_in_len_zero_terminated (const gint *ints, gint length);
712
+
713
+ _GI_TEST_EXTERN
389
714
  void gi_marshalling_tests_array_string_in (const gchar **strings, gint length);
715
+
716
+ _GI_TEST_EXTERN
390
717
  void gi_marshalling_tests_array_uint8_in (const guint8 *chars, gint length);
718
+
719
+ _GI_TEST_EXTERN
391
720
  void gi_marshalling_tests_array_struct_in (GIMarshallingTestsBoxedStruct **structs, gint length);
721
+
722
+ _GI_TEST_EXTERN
392
723
  void gi_marshalling_tests_array_struct_value_in (GIMarshallingTestsBoxedStruct *structs, gint length);
724
+
725
+ _GI_TEST_EXTERN
393
726
  void gi_marshalling_tests_array_struct_take_in (GIMarshallingTestsBoxedStruct **structs, gint length);
727
+
728
+ _GI_TEST_EXTERN
394
729
  void gi_marshalling_tests_array_simple_struct_in (GIMarshallingTestsSimpleStruct *structs, gint length);
730
+
731
+ _GI_TEST_EXTERN
395
732
  void gi_marshalling_tests_multi_array_key_value_in (gint length, const gchar **keys, const GValue *values);
733
+
734
+ _GI_TEST_EXTERN
396
735
  void gi_marshalling_tests_array_enum_in (GIMarshallingTestsEnum *_enum, gint length);
736
+
737
+ _GI_TEST_EXTERN
397
738
  void gi_marshalling_tests_array_in_guint64_len (const gint *ints, guint64 length);
739
+
740
+ _GI_TEST_EXTERN
398
741
  void gi_marshalling_tests_array_in_guint8_len (const gint *ints, guint8 length);
399
742
 
743
+
744
+ _GI_TEST_EXTERN
400
745
  void gi_marshalling_tests_array_out (gint **ints, gint *length);
746
+
747
+ _GI_TEST_EXTERN
401
748
  void gi_marshalling_tests_array_out_etc (gint first, gint **ints, gint *length, gint last, gint *sum);
402
749
 
750
+
751
+ _GI_TEST_EXTERN
403
752
  void gi_marshalling_tests_array_inout (gint **ints, gint *length);
753
+
754
+ _GI_TEST_EXTERN
404
755
  void gi_marshalling_tests_array_inout_etc (gint first, gint **ints, gint *length, gint last, gint *sum);
405
756
 
757
+
758
+ _GI_TEST_EXTERN
406
759
  void gi_marshalling_tests_array_in_nonzero_nonlen (gint first, const guint8 *chars);
407
760
 
408
761
  /* Zero-terminated */
409
762
 
763
+
764
+ _GI_TEST_EXTERN
410
765
  gchar **gi_marshalling_tests_array_zero_terminated_return (void);
766
+
767
+ _GI_TEST_EXTERN
411
768
  gchar **gi_marshalling_tests_array_zero_terminated_return_null (void);
769
+
770
+ _GI_TEST_EXTERN
412
771
  GIMarshallingTestsBoxedStruct **gi_marshalling_tests_array_zero_terminated_return_struct (void);
413
772
 
773
+
774
+ _GI_TEST_EXTERN
414
775
  void gi_marshalling_tests_array_zero_terminated_in (gchar **utf8s);
415
776
 
777
+
778
+ _GI_TEST_EXTERN
416
779
  void gi_marshalling_tests_array_zero_terminated_out (gchar ***utf8s);
417
780
 
781
+
782
+ _GI_TEST_EXTERN
418
783
  void gi_marshalling_tests_array_zero_terminated_inout (gchar ***utf8s);
419
784
 
785
+
786
+ _GI_TEST_EXTERN
420
787
  GVariant **gi_marshalling_tests_array_gvariant_none_in (GVariant **variants);
421
788
 
789
+
790
+ _GI_TEST_EXTERN
422
791
  GVariant **gi_marshalling_tests_array_gvariant_container_in (GVariant **variants);
423
792
 
793
+
794
+ _GI_TEST_EXTERN
424
795
  GVariant **gi_marshalling_tests_array_gvariant_full_in (GVariant **variants);
425
796
 
426
797
 
427
798
  /* GArray */
428
799
 
800
+ _GI_TEST_EXTERN
429
801
  GArray *gi_marshalling_tests_garray_int_none_return (void);
802
+
803
+ _GI_TEST_EXTERN
430
804
  GArray *gi_marshalling_tests_garray_uint64_none_return (void);
805
+
806
+ _GI_TEST_EXTERN
431
807
  GArray *gi_marshalling_tests_garray_utf8_none_return (void);
808
+
809
+ _GI_TEST_EXTERN
432
810
  GArray *gi_marshalling_tests_garray_utf8_container_return (void);
811
+
812
+ _GI_TEST_EXTERN
433
813
  GArray *gi_marshalling_tests_garray_utf8_full_return (void);
434
814
 
815
+
816
+ _GI_TEST_EXTERN
435
817
  void gi_marshalling_tests_garray_int_none_in (GArray *array_);
818
+
819
+ _GI_TEST_EXTERN
436
820
  void gi_marshalling_tests_garray_uint64_none_in (GArray *array_);
821
+
822
+ _GI_TEST_EXTERN
437
823
  void gi_marshalling_tests_garray_utf8_none_in (GArray *array_);
438
824
 
825
+
826
+ _GI_TEST_EXTERN
439
827
  void gi_marshalling_tests_garray_utf8_none_out (GArray **array_);
828
+
829
+ _GI_TEST_EXTERN
440
830
  void gi_marshalling_tests_garray_utf8_container_out (GArray **array_);
831
+
832
+ _GI_TEST_EXTERN
441
833
  void gi_marshalling_tests_garray_utf8_full_out (GArray **array_);
834
+
835
+ _GI_TEST_EXTERN
442
836
  void gi_marshalling_tests_garray_utf8_full_out_caller_allocated (GArray *array_);
443
837
 
838
+
839
+ _GI_TEST_EXTERN
444
840
  void gi_marshalling_tests_garray_utf8_none_inout (GArray **array_);
841
+
842
+ _GI_TEST_EXTERN
445
843
  void gi_marshalling_tests_garray_utf8_container_inout (GArray **array_);
844
+
845
+ _GI_TEST_EXTERN
446
846
  void gi_marshalling_tests_garray_utf8_full_inout (GArray **array_);
447
847
 
448
848
  /* GPtrArray */
849
+
850
+ _GI_TEST_EXTERN
449
851
  GPtrArray *gi_marshalling_tests_gptrarray_utf8_none_return (void);
852
+
853
+ _GI_TEST_EXTERN
450
854
  GPtrArray *gi_marshalling_tests_gptrarray_utf8_container_return (void);
855
+
856
+ _GI_TEST_EXTERN
451
857
  GPtrArray *gi_marshalling_tests_gptrarray_utf8_full_return (void);
452
858
 
859
+
860
+ _GI_TEST_EXTERN
453
861
  void gi_marshalling_tests_gptrarray_utf8_none_in (GPtrArray *parray_);
454
862
 
863
+
864
+ _GI_TEST_EXTERN
455
865
  void gi_marshalling_tests_gptrarray_utf8_none_out (GPtrArray **parray_);
866
+
867
+ _GI_TEST_EXTERN
456
868
  void gi_marshalling_tests_gptrarray_utf8_container_out (GPtrArray **parray_);
869
+
870
+ _GI_TEST_EXTERN
457
871
  void gi_marshalling_tests_gptrarray_utf8_full_out (GPtrArray **parray_);
458
872
 
873
+
874
+ _GI_TEST_EXTERN
459
875
  void gi_marshalling_tests_gptrarray_utf8_none_inout (GPtrArray **parray_);
876
+
877
+ _GI_TEST_EXTERN
460
878
  void gi_marshalling_tests_gptrarray_utf8_container_inout (GPtrArray **parray_);
879
+
880
+ _GI_TEST_EXTERN
461
881
  void gi_marshalling_tests_gptrarray_utf8_full_inout (GPtrArray **parray_);
462
882
 
463
883
  /* GByteArray */
464
884
 
885
+ _GI_TEST_EXTERN
465
886
  GByteArray *gi_marshalling_tests_bytearray_full_return (void);
887
+
888
+ _GI_TEST_EXTERN
466
889
  void gi_marshalling_tests_bytearray_none_in (GByteArray* v);
467
890
 
468
891
  /* GBytes */
469
892
 
893
+ _GI_TEST_EXTERN
470
894
  GBytes *gi_marshalling_tests_gbytes_full_return (void);
895
+
896
+ _GI_TEST_EXTERN
471
897
  void gi_marshalling_tests_gbytes_none_in (GBytes* v);
472
898
 
473
899
  /* GStrv */
474
900
 
901
+ _GI_TEST_EXTERN
475
902
  GStrv gi_marshalling_tests_gstrv_return (void);
903
+
904
+ _GI_TEST_EXTERN
476
905
  void gi_marshalling_tests_gstrv_in (GStrv g_strv);
906
+
907
+ _GI_TEST_EXTERN
477
908
  void gi_marshalling_tests_gstrv_out (GStrv *g_strv);
909
+
910
+ _GI_TEST_EXTERN
478
911
  void gi_marshalling_tests_gstrv_inout (GStrv *g_strv);
479
912
 
480
913
  /* GList */
481
914
 
915
+ _GI_TEST_EXTERN
482
916
  GList *gi_marshalling_tests_glist_int_none_return (void);
917
+
918
+ _GI_TEST_EXTERN
483
919
  GList *gi_marshalling_tests_glist_uint32_none_return (void);
920
+
921
+ _GI_TEST_EXTERN
484
922
  GList *gi_marshalling_tests_glist_utf8_none_return (void);
923
+
924
+ _GI_TEST_EXTERN
485
925
  GList *gi_marshalling_tests_glist_utf8_container_return (void);
926
+
927
+ _GI_TEST_EXTERN
486
928
  GList *gi_marshalling_tests_glist_utf8_full_return (void);
487
929
 
930
+
931
+ _GI_TEST_EXTERN
488
932
  void gi_marshalling_tests_glist_int_none_in (GList *list);
933
+
934
+ _GI_TEST_EXTERN
489
935
  void gi_marshalling_tests_glist_uint32_none_in (GList *list);
936
+
937
+ _GI_TEST_EXTERN
490
938
  void gi_marshalling_tests_glist_utf8_none_in (GList *list);
491
939
 
940
+
941
+ _GI_TEST_EXTERN
492
942
  void gi_marshalling_tests_glist_utf8_none_out (GList **list);
943
+
944
+ _GI_TEST_EXTERN
493
945
  void gi_marshalling_tests_glist_utf8_container_out (GList **list);
946
+
947
+ _GI_TEST_EXTERN
494
948
  void gi_marshalling_tests_glist_utf8_full_out (GList **list);
495
949
 
950
+
951
+ _GI_TEST_EXTERN
496
952
  void gi_marshalling_tests_glist_utf8_none_inout (GList **list);
953
+
954
+ _GI_TEST_EXTERN
497
955
  void gi_marshalling_tests_glist_utf8_container_inout (GList **list);
956
+
957
+ _GI_TEST_EXTERN
498
958
  void gi_marshalling_tests_glist_utf8_full_inout (GList **list);
499
959
 
500
960
 
501
961
  /* GSList */
502
962
 
963
+ _GI_TEST_EXTERN
503
964
  GSList *gi_marshalling_tests_gslist_int_none_return (void);
965
+
966
+ _GI_TEST_EXTERN
504
967
  GSList *gi_marshalling_tests_gslist_utf8_none_return (void);
968
+
969
+ _GI_TEST_EXTERN
505
970
  GSList *gi_marshalling_tests_gslist_utf8_container_return (void);
971
+
972
+ _GI_TEST_EXTERN
506
973
  GSList *gi_marshalling_tests_gslist_utf8_full_return (void);
507
974
 
975
+
976
+ _GI_TEST_EXTERN
508
977
  void gi_marshalling_tests_gslist_int_none_in (GSList *list);
978
+
979
+ _GI_TEST_EXTERN
509
980
  void gi_marshalling_tests_gslist_utf8_none_in (GSList *list);
510
981
 
982
+
983
+ _GI_TEST_EXTERN
511
984
  void gi_marshalling_tests_gslist_utf8_none_out (GSList **list);
985
+
986
+ _GI_TEST_EXTERN
512
987
  void gi_marshalling_tests_gslist_utf8_container_out (GSList **list);
988
+
989
+ _GI_TEST_EXTERN
513
990
  void gi_marshalling_tests_gslist_utf8_full_out (GSList **list);
514
991
 
992
+
993
+ _GI_TEST_EXTERN
515
994
  void gi_marshalling_tests_gslist_utf8_none_inout (GSList **list);
995
+
996
+ _GI_TEST_EXTERN
516
997
  void gi_marshalling_tests_gslist_utf8_container_inout (GSList **list);
998
+
999
+ _GI_TEST_EXTERN
517
1000
  void gi_marshalling_tests_gslist_utf8_full_inout (GSList **list);
518
1001
 
519
1002
 
520
1003
  /* GHashTable */
521
1004
 
1005
+ _GI_TEST_EXTERN
522
1006
  GHashTable *gi_marshalling_tests_ghashtable_int_none_return (void);
1007
+
1008
+ _GI_TEST_EXTERN
523
1009
  GHashTable *gi_marshalling_tests_ghashtable_utf8_none_return (void);
1010
+
1011
+ _GI_TEST_EXTERN
524
1012
  GHashTable *gi_marshalling_tests_ghashtable_utf8_container_return (void);
1013
+
1014
+ _GI_TEST_EXTERN
525
1015
  GHashTable *gi_marshalling_tests_ghashtable_utf8_full_return (void);
526
1016
 
1017
+
1018
+ _GI_TEST_EXTERN
527
1019
  void gi_marshalling_tests_ghashtable_int_none_in (GHashTable *hash_table);
1020
+
1021
+ _GI_TEST_EXTERN
528
1022
  void gi_marshalling_tests_ghashtable_utf8_none_in (GHashTable *hash_table);
1023
+
1024
+ _GI_TEST_EXTERN
529
1025
  void gi_marshalling_tests_ghashtable_utf8_container_in (GHashTable *hash_table);
1026
+
1027
+ _GI_TEST_EXTERN
530
1028
  void gi_marshalling_tests_ghashtable_utf8_full_in (GHashTable *hash_table);
531
1029
 
1030
+
1031
+ _GI_TEST_EXTERN
532
1032
  void gi_marshalling_tests_ghashtable_utf8_none_out (GHashTable **hash_table);
1033
+
1034
+ _GI_TEST_EXTERN
533
1035
  void gi_marshalling_tests_ghashtable_utf8_container_out (GHashTable **hash_table);
1036
+
1037
+ _GI_TEST_EXTERN
534
1038
  void gi_marshalling_tests_ghashtable_utf8_full_out (GHashTable **hash_table);
535
1039
 
1040
+
1041
+ _GI_TEST_EXTERN
536
1042
  void gi_marshalling_tests_ghashtable_utf8_none_inout (GHashTable **hash_table);
1043
+
1044
+ _GI_TEST_EXTERN
537
1045
  void gi_marshalling_tests_ghashtable_utf8_container_inout (GHashTable **hash_table);
1046
+
1047
+ _GI_TEST_EXTERN
538
1048
  void gi_marshalling_tests_ghashtable_utf8_full_inout (GHashTable **hash_table);
539
1049
 
540
1050
 
541
1051
  /* GValue */
542
1052
 
1053
+ _GI_TEST_EXTERN
543
1054
  GValue *gi_marshalling_tests_gvalue_return (void);
544
1055
 
1056
+
1057
+ _GI_TEST_EXTERN
545
1058
  void gi_marshalling_tests_gvalue_in (GValue *value);
1059
+
1060
+ _GI_TEST_EXTERN
546
1061
  void gi_marshalling_tests_gvalue_int64_in (GValue *value);
1062
+
1063
+ _GI_TEST_EXTERN
547
1064
  void gi_marshalling_tests_gvalue_in_with_type (GValue *value, GType type);
1065
+
1066
+ _GI_TEST_EXTERN
548
1067
  void gi_marshalling_tests_gvalue_in_with_modification (GValue *value);
549
1068
 
1069
+
1070
+ _GI_TEST_EXTERN
550
1071
  void gi_marshalling_tests_gvalue_in_enum (GValue *value);
551
1072
 
1073
+
1074
+ _GI_TEST_EXTERN
552
1075
  void gi_marshalling_tests_gvalue_out (GValue **value);
1076
+
1077
+ _GI_TEST_EXTERN
553
1078
  void gi_marshalling_tests_gvalue_int64_out (GValue **value);
1079
+
1080
+ _GI_TEST_EXTERN
554
1081
  void gi_marshalling_tests_gvalue_out_caller_allocates (GValue *value);
555
1082
 
1083
+
1084
+ _GI_TEST_EXTERN
556
1085
  void gi_marshalling_tests_gvalue_inout (GValue **value);
557
1086
 
1087
+
1088
+ _GI_TEST_EXTERN
558
1089
  void gi_marshalling_tests_gvalue_flat_array (guint n_values,
559
1090
  const GValue *values);
560
1091
 
1092
+
1093
+ _GI_TEST_EXTERN
561
1094
  GValue *gi_marshalling_tests_return_gvalue_flat_array (void);
562
1095
 
1096
+
1097
+ _GI_TEST_EXTERN
563
1098
  GValue *gi_marshalling_tests_gvalue_flat_array_round_trip (const GValue one,
564
1099
  const GValue two,
565
1100
  const GValue three);
566
1101
 
567
1102
  /* GClosure */
568
1103
 
1104
+ _GI_TEST_EXTERN
569
1105
  void gi_marshalling_tests_gclosure_in (GClosure *closure);
1106
+
1107
+ _GI_TEST_EXTERN
570
1108
  GClosure *gi_marshalling_tests_gclosure_return (void);
571
1109
 
572
1110
  /* Callback return values */
@@ -576,6 +1114,8 @@ GClosure *gi_marshalling_tests_gclosure_return (void);
576
1114
  */
577
1115
  typedef glong (* GIMarshallingTestsCallbackReturnValueOnly) (void);
578
1116
 
1117
+
1118
+ _GI_TEST_EXTERN
579
1119
  glong gi_marshalling_tests_callback_return_value_only (GIMarshallingTestsCallbackReturnValueOnly callback);
580
1120
 
581
1121
  /**
@@ -584,6 +1124,8 @@ glong gi_marshalling_tests_callback_return_value_only (GIMarshallingTestsCallbac
584
1124
  */
585
1125
  typedef void (* GIMarshallingTestsCallbackOneOutParameter) (gfloat *a);
586
1126
 
1127
+
1128
+ _GI_TEST_EXTERN
587
1129
  void gi_marshalling_tests_callback_one_out_parameter (GIMarshallingTestsCallbackOneOutParameter callback,
588
1130
  gfloat *a);
589
1131
 
@@ -594,6 +1136,8 @@ void gi_marshalling_tests_callback_one_out_parameter (GIMarshallingTestsCallback
594
1136
  */
595
1137
  typedef void (* GIMarshallingTestsCallbackMultipleOutParameters) (gfloat *a, gfloat *b);
596
1138
 
1139
+
1140
+ _GI_TEST_EXTERN
597
1141
  void gi_marshalling_tests_callback_multiple_out_parameters (GIMarshallingTestsCallbackMultipleOutParameters callback,
598
1142
  gfloat *a,
599
1143
  gfloat *b);
@@ -604,6 +1148,8 @@ void gi_marshalling_tests_callback_multiple_out_parameters (GIMarshallingTestsCa
604
1148
  */
605
1149
  typedef glong (* GIMarshallingTestsCallbackReturnValueAndOneOutParameter) (glong *a);
606
1150
 
1151
+
1152
+ _GI_TEST_EXTERN
607
1153
  glong gi_marshalling_tests_callback_return_value_and_one_out_parameter (GIMarshallingTestsCallbackReturnValueAndOneOutParameter callback,
608
1154
  glong *a);
609
1155
 
@@ -614,12 +1160,28 @@ glong gi_marshalling_tests_callback_return_value_and_one_out_parameter (GIMarsha
614
1160
  */
615
1161
  typedef glong (* GIMarshallingTestsCallbackReturnValueAndMultipleOutParameters) (glong *a, glong *b);
616
1162
 
1163
+
1164
+ _GI_TEST_EXTERN
617
1165
  glong gi_marshalling_tests_callback_return_value_and_multiple_out_parameters (GIMarshallingTestsCallbackReturnValueAndMultipleOutParameters callback,
618
1166
  glong *a,
619
1167
  glong *b);
620
1168
 
1169
+ /**
1170
+ * GIMarshallingTestsCallbackOwnedBoxed
1171
+ * @box: (transfer none): the boxed structure.
1172
+ */
1173
+ typedef void (* GIMarshallingTestsCallbackOwnedBoxed) (GIMarshallingTestsBoxedStruct *box,
1174
+ void *user_data);
1175
+
1176
+
1177
+ _GI_TEST_EXTERN
1178
+ glong gi_marshalling_tests_callback_owned_boxed (GIMarshallingTestsCallbackOwnedBoxed callback,
1179
+ void *callback_data);
1180
+
621
1181
  /* Pointer */
622
1182
 
1183
+
1184
+ _GI_TEST_EXTERN
623
1185
  gpointer gi_marshalling_tests_pointer_in_return (gpointer pointer);
624
1186
 
625
1187
  /* Structure */
@@ -638,10 +1200,15 @@ typedef struct {
638
1200
  } GIMarshallingTestsNotSimpleStruct;
639
1201
 
640
1202
 
1203
+ _GI_TEST_EXTERN
641
1204
  GIMarshallingTestsSimpleStruct *gi_marshalling_tests_simple_struct_returnv (void);
642
1205
 
1206
+
1207
+ _GI_TEST_EXTERN
643
1208
  void gi_marshalling_tests_simple_struct_inv (GIMarshallingTestsSimpleStruct *struct_);
644
1209
 
1210
+
1211
+ _GI_TEST_EXTERN
645
1212
  void gi_marshalling_tests_simple_struct_method (GIMarshallingTestsSimpleStruct *struct_);
646
1213
 
647
1214
 
@@ -649,10 +1216,16 @@ typedef struct {
649
1216
  glong long_;
650
1217
  } GIMarshallingTestsPointerStruct;
651
1218
 
1219
+
1220
+ _GI_TEST_EXTERN
652
1221
  GType gi_marshalling_tests_pointer_struct_get_type (void) G_GNUC_CONST;
653
1222
 
1223
+
1224
+ _GI_TEST_EXTERN
654
1225
  GIMarshallingTestsPointerStruct *gi_marshalling_tests_pointer_struct_returnv (void);
655
1226
 
1227
+
1228
+ _GI_TEST_EXTERN
656
1229
  void gi_marshalling_tests_pointer_struct_inv (GIMarshallingTestsPointerStruct *struct_);
657
1230
 
658
1231
  struct _GIMarshallingTestsBoxedStruct {
@@ -661,32 +1234,56 @@ struct _GIMarshallingTestsBoxedStruct {
661
1234
  GStrv g_strv;
662
1235
  };
663
1236
 
1237
+
1238
+ _GI_TEST_EXTERN
664
1239
  GType gi_marshalling_tests_boxed_struct_get_type (void) G_GNUC_CONST;
665
1240
 
1241
+
1242
+ _GI_TEST_EXTERN
666
1243
  GIMarshallingTestsBoxedStruct *gi_marshalling_tests_boxed_struct_new (void);
667
1244
 
1245
+
1246
+ _GI_TEST_EXTERN
668
1247
  GIMarshallingTestsBoxedStruct *gi_marshalling_tests_boxed_struct_returnv (void);
669
1248
 
1249
+
1250
+ _GI_TEST_EXTERN
670
1251
  void gi_marshalling_tests_boxed_struct_inv (GIMarshallingTestsBoxedStruct *struct_);
671
1252
 
1253
+
1254
+ _GI_TEST_EXTERN
672
1255
  void gi_marshalling_tests_boxed_struct_out (GIMarshallingTestsBoxedStruct **struct_);
673
1256
 
1257
+
1258
+ _GI_TEST_EXTERN
674
1259
  void gi_marshalling_tests_boxed_struct_inout (GIMarshallingTestsBoxedStruct **struct_);
675
1260
 
676
1261
  typedef union {
677
1262
  glong long_;
678
1263
  } GIMarshallingTestsUnion;
679
1264
 
1265
+
1266
+ _GI_TEST_EXTERN
680
1267
  GType gi_marshalling_tests_union_get_type (void) G_GNUC_CONST;
681
1268
 
1269
+
1270
+ _GI_TEST_EXTERN
682
1271
  GIMarshallingTestsUnion *gi_marshalling_tests_union_returnv (void);
683
1272
 
1273
+
1274
+ _GI_TEST_EXTERN
684
1275
  void gi_marshalling_tests_union_inv (GIMarshallingTestsUnion *union_);
685
1276
 
1277
+
1278
+ _GI_TEST_EXTERN
686
1279
  void gi_marshalling_tests_union_out (GIMarshallingTestsUnion **union_);
687
1280
 
1281
+
1282
+ _GI_TEST_EXTERN
688
1283
  void gi_marshalling_tests_union_inout (GIMarshallingTestsUnion **union_);
689
1284
 
1285
+
1286
+ _GI_TEST_EXTERN
690
1287
  void gi_marshalling_tests_union_method (GIMarshallingTestsUnion *union_);
691
1288
 
692
1289
  /* Object */
@@ -862,62 +1459,151 @@ struct _GIMarshallingTestsObject
862
1459
  gint int_;
863
1460
  };
864
1461
 
1462
+
1463
+ _GI_TEST_EXTERN
865
1464
  GType gi_marshalling_tests_object_get_type (void) G_GNUC_CONST;
1465
+
1466
+ _GI_TEST_EXTERN
866
1467
  void gi_marshalling_tests_object_static_method (void);
1468
+
1469
+ _GI_TEST_EXTERN
867
1470
  void gi_marshalling_tests_object_method (GIMarshallingTestsObject *object);
1471
+
1472
+ _GI_TEST_EXTERN
868
1473
  void gi_marshalling_tests_object_overridden_method (GIMarshallingTestsObject *object);
1474
+
1475
+ _GI_TEST_EXTERN
869
1476
  GIMarshallingTestsObject *gi_marshalling_tests_object_new (gint int_);
1477
+ GIMarshallingTestsObject *gi_marshalling_tests_object_new_fail (gint int_, GError **error);
1478
+
870
1479
 
1480
+ _GI_TEST_EXTERN
871
1481
  void gi_marshalling_tests_object_method_array_in (GIMarshallingTestsObject *object, const gint *ints, gint length);
1482
+
1483
+ _GI_TEST_EXTERN
872
1484
  void gi_marshalling_tests_object_method_array_out (GIMarshallingTestsObject *object, gint **ints, gint *length);
1485
+
1486
+ _GI_TEST_EXTERN
873
1487
  void gi_marshalling_tests_object_method_array_inout (GIMarshallingTestsObject *object, gint **ints, gint *length);
1488
+
1489
+ _GI_TEST_EXTERN
874
1490
  const gint *gi_marshalling_tests_object_method_array_return (GIMarshallingTestsObject *object, gint *length);
875
1491
 
1492
+
1493
+ _GI_TEST_EXTERN
876
1494
  void gi_marshalling_tests_object_method_int8_in (GIMarshallingTestsObject *object, gint8 in);
1495
+
1496
+ _GI_TEST_EXTERN
877
1497
  void gi_marshalling_tests_object_method_int8_out (GIMarshallingTestsObject *object, gint8 *out);
1498
+
1499
+ _GI_TEST_EXTERN
878
1500
  void gi_marshalling_tests_object_method_int8_arg_and_out_caller (GIMarshallingTestsObject *object, gint8 arg, gint8 *out);
1501
+
1502
+ _GI_TEST_EXTERN
879
1503
  void gi_marshalling_tests_object_method_int8_arg_and_out_callee (GIMarshallingTestsObject *object, gint8 arg, gint8 **out);
1504
+
1505
+ _GI_TEST_EXTERN
880
1506
  const gchar* gi_marshalling_tests_object_method_str_arg_out_ret (GIMarshallingTestsObject *object, const gchar* arg, guint *out);
1507
+
1508
+ _GI_TEST_EXTERN
881
1509
  void gi_marshalling_tests_object_method_with_default_implementation (GIMarshallingTestsObject *object, gint8 in);
1510
+
1511
+ _GI_TEST_EXTERN
882
1512
  void gi_marshalling_tests_object_method_variant_array_in (GIMarshallingTestsObject *object, GVariant **in, gsize n_in);
883
1513
 
1514
+
1515
+ _GI_TEST_EXTERN
884
1516
  glong gi_marshalling_tests_object_vfunc_return_value_only (GIMarshallingTestsObject *self);
1517
+
1518
+ _GI_TEST_EXTERN
885
1519
  void gi_marshalling_tests_object_vfunc_one_out_parameter (GIMarshallingTestsObject *self, gfloat *a);
1520
+
1521
+ _GI_TEST_EXTERN
886
1522
  void gi_marshalling_tests_object_vfunc_multiple_out_parameters (GIMarshallingTestsObject *self, gfloat *a, gfloat *b);
1523
+
1524
+ _GI_TEST_EXTERN
887
1525
  void gi_marshalling_tests_object_vfunc_caller_allocated_out_parameter (GIMarshallingTestsObject *self, GValue *a);
1526
+
1527
+ _GI_TEST_EXTERN
888
1528
  void gi_marshalling_tests_object_vfunc_array_out_parameter (GIMarshallingTestsObject *self, gfloat **a);
1529
+
1530
+ _GI_TEST_EXTERN
889
1531
  glong gi_marshalling_tests_object_vfunc_return_value_and_one_out_parameter (GIMarshallingTestsObject *self, glong *a);
1532
+
1533
+ _GI_TEST_EXTERN
890
1534
  glong gi_marshalling_tests_object_vfunc_return_value_and_multiple_out_parameters (GIMarshallingTestsObject *self, glong *a, glong *b);
1535
+
1536
+ _GI_TEST_EXTERN
891
1537
  gboolean gi_marshalling_tests_object_vfunc_meth_with_error (GIMarshallingTestsObject *object, gint x, GError **error);
892
1538
 
1539
+
1540
+ _GI_TEST_EXTERN
893
1541
  GIMarshallingTestsEnum gi_marshalling_tests_object_vfunc_return_enum (GIMarshallingTestsObject *self);
1542
+
1543
+ _GI_TEST_EXTERN
894
1544
  void gi_marshalling_tests_object_vfunc_out_enum (GIMarshallingTestsObject *self, GIMarshallingTestsEnum *_enum);
895
1545
 
1546
+
1547
+ _GI_TEST_EXTERN
896
1548
  void gi_marshalling_tests_object_get_ref_info_for_vfunc_return_object_transfer_none (GIMarshallingTestsObject *self, guint *ref_count, gboolean *is_floating);
1549
+
1550
+ _GI_TEST_EXTERN
897
1551
  void gi_marshalling_tests_object_get_ref_info_for_vfunc_return_object_transfer_full (GIMarshallingTestsObject *self, guint *ref_count, gboolean *is_floating);
1552
+
1553
+ _GI_TEST_EXTERN
898
1554
  void gi_marshalling_tests_object_get_ref_info_for_vfunc_out_object_transfer_none (GIMarshallingTestsObject *self, guint *ref_count, gboolean *is_floating);
1555
+
1556
+ _GI_TEST_EXTERN
899
1557
  void gi_marshalling_tests_object_get_ref_info_for_vfunc_out_object_transfer_full (GIMarshallingTestsObject *self, guint *ref_count, gboolean *is_floating);
1558
+
1559
+ _GI_TEST_EXTERN
900
1560
  void gi_marshalling_tests_object_get_ref_info_for_vfunc_in_object_transfer_none (GIMarshallingTestsObject *self, GType type, guint *ref_count, gboolean *is_floating);
1561
+
1562
+ _GI_TEST_EXTERN
901
1563
  void gi_marshalling_tests_object_get_ref_info_for_vfunc_in_object_transfer_full (GIMarshallingTestsObject *self, GType type, guint *ref_count, gboolean *is_floating);
902
1564
 
1565
+
1566
+ _GI_TEST_EXTERN
903
1567
  GIMarshallingTestsObject *gi_marshalling_tests_object_none_return (void);
1568
+
1569
+ _GI_TEST_EXTERN
904
1570
  GIMarshallingTestsObject *gi_marshalling_tests_object_full_return (void);
905
1571
 
1572
+
1573
+ _GI_TEST_EXTERN
906
1574
  void gi_marshalling_tests_object_none_in (GIMarshallingTestsObject *object);
1575
+
1576
+ _GI_TEST_EXTERN
907
1577
  void gi_marshalling_tests_object_full_in (GIMarshallingTestsObject *object);
908
1578
 
1579
+
1580
+ _GI_TEST_EXTERN
909
1581
  void gi_marshalling_tests_object_none_out (GIMarshallingTestsObject **object);
1582
+
1583
+ _GI_TEST_EXTERN
910
1584
  void gi_marshalling_tests_object_full_out (GIMarshallingTestsObject **object);
911
1585
 
1586
+
1587
+ _GI_TEST_EXTERN
912
1588
  void gi_marshalling_tests_object_none_inout (GIMarshallingTestsObject **object);
1589
+
1590
+ _GI_TEST_EXTERN
913
1591
  void gi_marshalling_tests_object_full_inout (GIMarshallingTestsObject **object);
914
1592
 
1593
+
1594
+ _GI_TEST_EXTERN
915
1595
  void gi_marshalling_tests_object_int8_in (GIMarshallingTestsObject *object, gint8 in);
1596
+
1597
+ _GI_TEST_EXTERN
916
1598
  void gi_marshalling_tests_object_int8_out (GIMarshallingTestsObject *object, gint8 *out);
917
1599
 
1600
+
1601
+ _GI_TEST_EXTERN
918
1602
  void gi_marshalling_tests_object_vfunc_with_callback (GIMarshallingTestsObject *object,
919
1603
  GIMarshallingTestsCallbackIntInt callback,
920
1604
  void *callback_data);
1605
+
1606
+ _GI_TEST_EXTERN
921
1607
  void gi_marshalling_tests_object_call_vfunc_with_callback (GIMarshallingTestsObject *object);
922
1608
 
923
1609
  #define GI_MARSHALLING_TESTS_TYPE_SUB_OBJECT (gi_marshalling_tests_sub_object_get_type ())
@@ -940,9 +1626,15 @@ struct _GIMarshallingTestsSubObject
940
1626
  GIMarshallingTestsObject parent_instance;
941
1627
  };
942
1628
 
1629
+
1630
+ _GI_TEST_EXTERN
943
1631
  GType gi_marshalling_tests_sub_object_get_type (void) G_GNUC_CONST;
944
1632
 
1633
+
1634
+ _GI_TEST_EXTERN
945
1635
  void gi_marshalling_tests_sub_object_sub_method (GIMarshallingTestsSubObject *object);
1636
+
1637
+ _GI_TEST_EXTERN
946
1638
  void gi_marshalling_tests_sub_object_overwritten_method (GIMarshallingTestsSubObject *object);
947
1639
 
948
1640
  #define GI_MARSHALLING_TESTS_TYPE_SUB_SUB_OBJECT (gi_marshalling_tests_sub_sub_object_get_type ())
@@ -965,6 +1657,8 @@ struct _GIMarshallingTestsSubSubObject
965
1657
  GIMarshallingTestsSubObject parent_instance;
966
1658
  };
967
1659
 
1660
+
1661
+ _GI_TEST_EXTERN
968
1662
  GType gi_marshalling_tests_sub_sub_object_get_type (void) G_GNUC_CONST;
969
1663
 
970
1664
  /* Interfaces */
@@ -987,12 +1681,51 @@ struct _GIMarshallingTestsInterfaceIface {
987
1681
  void (* test_int8_in) (GIMarshallingTestsInterface *self, gint8 in);
988
1682
  };
989
1683
 
1684
+
1685
+ _GI_TEST_EXTERN
990
1686
  GType gi_marshalling_tests_interface_get_type (void) G_GNUC_CONST;
991
1687
 
1688
+
1689
+ _GI_TEST_EXTERN
992
1690
  void gi_marshalling_tests_interface_test_int8_in (GIMarshallingTestsInterface *self, gint8 in);
993
1691
 
1692
+
1693
+ _GI_TEST_EXTERN
994
1694
  void gi_marshalling_tests_test_interface_test_int8_in (GIMarshallingTestsInterface *test_iface, gint8 in);
995
1695
 
1696
+ /* GIMarshallingTestsInterfaceImpl is a class that implements
1697
+ GIMarshallingTestsInterface */
1698
+
1699
+ #define GI_MARSHALLING_TESTS_TYPE_INTERFACE_IMPL (gi_marshalling_tests_interface_impl_get_type ())
1700
+ #define GI_MARSHALLING_TESTS_INTERFACE_IMPL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GI_MARSHALLING_TESTS_TYPE_INTERFACE_IMPL, GIMarshallingTestsInterfaceImpl))
1701
+ #define GI_MARSHALLING_TESTS_INTERFACE_IMPL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GI_MARSHALLING_TESTS_TYPE_INTERFACE_IMPL, GIMarshallingTestsInterfaceImplClass))
1702
+ #define GI_MARSHALLING_TESTS_IS_INTERFACE_IMPL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GI_MARSHALLING_TESTS_TYPE_INTERFACE_IMPL))
1703
+ #define GI_MARSHALLING_TESTS_IS_INTERFACE_IMPL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GI_MARSHALLING_TESTS_TYPE_INTERFACE_IMPL))
1704
+ #define GI_MARSHALLING_TESTS_INTERFACE_IMPL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GI_MARSHALLING_TESTS_TYPE_INTERFACE_IMPL, GIMarshallingTestsInterfaceImplClass))
1705
+
1706
+
1707
+ typedef struct _GIMarshallingTestsInterfaceImplClass GIMarshallingTestsInterfaceImplClass;
1708
+ typedef struct _GIMarshallingTestsInterfaceImpl GIMarshallingTestsInterfaceImpl;
1709
+
1710
+ struct _GIMarshallingTestsInterfaceImplClass
1711
+ {
1712
+ GObjectClass parent_class;
1713
+ };
1714
+
1715
+ struct _GIMarshallingTestsInterfaceImpl
1716
+ {
1717
+ GObject parent_instance;
1718
+
1719
+ gint int_;
1720
+ };
1721
+
1722
+
1723
+ _GI_TEST_EXTERN
1724
+ GType gi_marshalling_tests_interface_impl_get_type (void) G_GNUC_CONST;
1725
+
1726
+ _GI_TEST_EXTERN
1727
+ GIMarshallingTestsInterface *gi_marshalling_tests_interface_impl_get_as_interface (GIMarshallingTestsInterfaceImpl *self);
1728
+
996
1729
  /* GIMarshallingTestsInterface2 allows us testing vfunc clashes when a class'
997
1730
  vfunc implementation ambiguously relates to its prototype */
998
1731
 
@@ -1014,6 +1747,8 @@ struct _GIMarshallingTestsInterface2Iface {
1014
1747
  void (* test_int8_in) (GIMarshallingTestsInterface2 *self, gint8 in);
1015
1748
  };
1016
1749
 
1750
+
1751
+ _GI_TEST_EXTERN
1017
1752
  GType gi_marshalling_tests_interface2_get_type (void) G_GNUC_CONST;
1018
1753
 
1019
1754
  /* GIMarshallingTestsInterface3 tests passing arrays of variants from C to @lang */
@@ -1036,17 +1771,39 @@ struct _GIMarshallingTestsInterface3Iface {
1036
1771
  void (* test_variant_array_in) (GIMarshallingTestsInterface3 *self, GVariant **in, gsize n_in);
1037
1772
  };
1038
1773
 
1774
+
1775
+ _GI_TEST_EXTERN
1039
1776
  GType gi_marshalling_tests_interface3_get_type (void) G_GNUC_CONST;
1040
1777
 
1778
+
1779
+ _GI_TEST_EXTERN
1041
1780
  void gi_marshalling_tests_interface3_test_variant_array_in (GIMarshallingTestsInterface3 *self, GVariant **in, gsize n_in);
1042
1781
 
1043
1782
  /* Multiple output arguments */
1044
1783
 
1784
+
1785
+ _GI_TEST_EXTERN
1045
1786
  void gi_marshalling_tests_int_out_out (gint *int0, gint *int1);
1787
+
1788
+ _GI_TEST_EXTERN
1046
1789
  void gi_marshalling_tests_int_three_in_three_out(gint a, gint b, gint c,
1047
1790
  gint *out0, gint *out1, gint *out2);
1791
+
1792
+ _GI_TEST_EXTERN
1048
1793
  gint gi_marshalling_tests_int_return_out (gint *int_);
1049
1794
 
1795
+ /* Default arguments */
1796
+ _GI_TEST_EXTERN
1797
+ void gi_marshalling_tests_int_two_in_utf8_two_in_with_allow_none (gint a, gint b, const gchar *c, const gchar *d);
1798
+
1799
+ _GI_TEST_EXTERN
1800
+ void gi_marshalling_tests_int_one_in_utf8_two_in_one_allows_none (gint a, const gchar *b, const gchar *c);
1801
+
1802
+ _GI_TEST_EXTERN
1803
+ void gi_marshalling_tests_array_in_utf8_two_in (const gint *ints, gint length, const gchar *a, const gchar *b);
1804
+
1805
+ _GI_TEST_EXTERN
1806
+ void gi_marshalling_tests_array_in_utf8_two_in_out_of_order (gint length, const gchar *a, const gint *ints, const gchar *b);
1050
1807
 
1051
1808
  /* GError */
1052
1809
 
@@ -1055,15 +1812,30 @@ gint gi_marshalling_tests_int_return_out (gint *int_);
1055
1812
  #define GI_MARSHALLING_TESTS_CONSTANT_GERROR_MESSAGE "gi-marshalling-tests-gerror-message"
1056
1813
  #define GI_MARSHALLING_TESTS_CONSTANT_GERROR_DEBUG_MESSAGE "we got an error, life is shit"
1057
1814
 
1815
+
1816
+ _GI_TEST_EXTERN
1058
1817
  void gi_marshalling_tests_gerror(GError **error);
1818
+
1819
+ _GI_TEST_EXTERN
1059
1820
  void gi_marshalling_tests_gerror_array_in(gint *in_ints, GError **error);
1821
+
1822
+ _GI_TEST_EXTERN
1060
1823
  void gi_marshalling_tests_gerror_out(GError **error, gchar **debug);
1824
+
1825
+ _GI_TEST_EXTERN
1061
1826
  void gi_marshalling_tests_gerror_out_transfer_none(GError **err, const gchar **debug);
1827
+
1828
+ _GI_TEST_EXTERN
1062
1829
  GError *gi_marshalling_tests_gerror_return(void);
1063
1830
 
1064
1831
  /* GParamSpec */
1832
+ _GI_TEST_EXTERN
1065
1833
  void gi_marshalling_tests_param_spec_in_bool(const GParamSpec *param);
1834
+
1835
+ _GI_TEST_EXTERN
1066
1836
  GParamSpec *gi_marshalling_tests_param_spec_return (void);
1837
+
1838
+ _GI_TEST_EXTERN
1067
1839
  void gi_marshalling_tests_param_spec_out(GParamSpec **param);
1068
1840
 
1069
1841
  /* Overrides */
@@ -1075,12 +1847,19 @@ typedef struct {
1075
1847
  glong long_;
1076
1848
  } GIMarshallingTestsOverridesStruct;
1077
1849
 
1850
+ _GI_TEST_EXTERN
1078
1851
  GType gi_marshalling_tests_overrides_struct_get_type (void) G_GNUC_CONST;
1079
1852
 
1853
+
1854
+ _GI_TEST_EXTERN
1080
1855
  GIMarshallingTestsOverridesStruct *gi_marshalling_tests_overrides_struct_new (void);
1081
1856
 
1857
+
1858
+ _GI_TEST_EXTERN
1082
1859
  glong gi_marshalling_tests_overrides_struct_method (GIMarshallingTestsOverridesStruct *struct_);
1083
1860
 
1861
+
1862
+ _GI_TEST_EXTERN
1084
1863
  GIMarshallingTestsOverridesStruct *gi_marshalling_tests_overrides_struct_returnv (void);
1085
1864
 
1086
1865
 
@@ -1106,12 +1885,19 @@ struct _GIMarshallingTestsOverridesObject
1106
1885
  glong long_;
1107
1886
  };
1108
1887
 
1888
+ _GI_TEST_EXTERN
1109
1889
  GType gi_marshalling_tests_overrides_object_get_type (void) G_GNUC_CONST;
1110
1890
 
1891
+
1892
+ _GI_TEST_EXTERN
1111
1893
  GIMarshallingTestsOverridesObject *gi_marshalling_tests_overrides_object_new (void);
1112
1894
 
1895
+
1896
+ _GI_TEST_EXTERN
1113
1897
  glong gi_marshalling_tests_overrides_object_method (GIMarshallingTestsOverridesObject *object);
1114
1898
 
1899
+
1900
+ _GI_TEST_EXTERN
1115
1901
  GIMarshallingTestsOverridesObject *gi_marshalling_tests_overrides_object_returnv (void);
1116
1902
 
1117
1903
  /* Properties Object */
@@ -1151,8 +1937,12 @@ struct _GIMarshallingTestsPropertiesObjectClass {
1151
1937
  GObjectClass parent_class;
1152
1938
  };
1153
1939
 
1940
+
1941
+ _GI_TEST_EXTERN
1154
1942
  GType gi_marshalling_tests_properties_object_get_type (void) G_GNUC_CONST;
1155
1943
 
1944
+
1945
+ _GI_TEST_EXTERN
1156
1946
  GIMarshallingTestsPropertiesObject *gi_marshalling_tests_properties_object_new (void);
1157
1947
 
1158
1948
  #endif /* _GI_MARSHALLING_TESTS_H_ */