/src/glib/gobject/gmarshal.c
Line | Count | Source (jump to first uncovered line) |
1 | | |
2 | | #include "config.h" |
3 | | |
4 | | #include "gobject.h" |
5 | | #include "genums.h" |
6 | | #include "gboxed.h" |
7 | | #include "gvaluetypes.h" |
8 | | |
9 | | /** |
10 | | * g_cclosure_marshal_VOID__VOID: |
11 | | * @closure: A #GClosure. |
12 | | * @return_value: A #GValue to store the return value. May be %NULL |
13 | | * if the callback of closure doesn't return a value. |
14 | | * @n_param_values: The length of the @param_values array. |
15 | | * @param_values: An array of #GValues holding the arguments |
16 | | * on which to invoke the callback of closure. |
17 | | * @invocation_hint: The invocation hint given as the last argument to |
18 | | * g_closure_invoke(). |
19 | | * @marshal_data: Additional data specified when registering the |
20 | | * marshaller, see g_closure_set_marshal() and |
21 | | * g_closure_set_meta_marshal() |
22 | | * |
23 | | * A #GClosureMarshal function for use with signals with no arguments. |
24 | | */ |
25 | | /** |
26 | | * g_cclosure_marshal_VOID__BOOLEAN: |
27 | | * @closure: A #GClosure. |
28 | | * @return_value: A #GValue to store the return value. May be %NULL |
29 | | * if the callback of closure doesn't return a value. |
30 | | * @n_param_values: The length of the @param_values array. |
31 | | * @param_values: An array of #GValues holding the arguments |
32 | | * on which to invoke the callback of closure. |
33 | | * @invocation_hint: The invocation hint given as the last argument to |
34 | | * g_closure_invoke(). |
35 | | * @marshal_data: Additional data specified when registering the |
36 | | * marshaller, see g_closure_set_marshal() and |
37 | | * g_closure_set_meta_marshal() |
38 | | * |
39 | | * A #GClosureMarshal function for use with signals with a single |
40 | | * boolean argument. |
41 | | */ |
42 | | /** |
43 | | * g_cclosure_marshal_VOID__CHAR: |
44 | | * @closure: A #GClosure. |
45 | | * @return_value: A #GValue to store the return value. May be %NULL |
46 | | * if the callback of closure doesn't return a value. |
47 | | * @n_param_values: The length of the @param_values array. |
48 | | * @param_values: An array of #GValues holding the arguments |
49 | | * on which to invoke the callback of closure. |
50 | | * @invocation_hint: The invocation hint given as the last argument to |
51 | | * g_closure_invoke(). |
52 | | * @marshal_data: Additional data specified when registering the |
53 | | * marshaller, see g_closure_set_marshal() and |
54 | | * g_closure_set_meta_marshal() |
55 | | * |
56 | | * A #GClosureMarshal function for use with signals with a single |
57 | | * character argument. |
58 | | */ |
59 | | /** |
60 | | * g_cclosure_marshal_VOID__UCHAR: |
61 | | * @closure: A #GClosure. |
62 | | * @return_value: A #GValue to store the return value. May be %NULL |
63 | | * if the callback of closure doesn't return a value. |
64 | | * @n_param_values: The length of the @param_values array. |
65 | | * @param_values: An array of #GValues holding the arguments |
66 | | * on which to invoke the callback of closure. |
67 | | * @invocation_hint: The invocation hint given as the last argument to |
68 | | * g_closure_invoke(). |
69 | | * @marshal_data: Additional data specified when registering the |
70 | | * marshaller, see g_closure_set_marshal() and |
71 | | * g_closure_set_meta_marshal() |
72 | | * |
73 | | * A #GClosureMarshal function for use with signals with a single |
74 | | * unsigned character argument. |
75 | | */ |
76 | | /** |
77 | | * g_cclosure_marshal_VOID__INT: |
78 | | * @closure: A #GClosure. |
79 | | * @return_value: A #GValue to store the return value. May be %NULL |
80 | | * if the callback of closure doesn't return a value. |
81 | | * @n_param_values: The length of the @param_values array. |
82 | | * @param_values: An array of #GValues holding the arguments |
83 | | * on which to invoke the callback of closure. |
84 | | * @invocation_hint: The invocation hint given as the last argument to |
85 | | * g_closure_invoke(). |
86 | | * @marshal_data: Additional data specified when registering the |
87 | | * marshaller, see g_closure_set_marshal() and |
88 | | * g_closure_set_meta_marshal() |
89 | | * |
90 | | * A #GClosureMarshal function for use with signals with a single |
91 | | * integer argument. |
92 | | */ |
93 | | /** |
94 | | * g_cclosure_marshal_VOID__UINT: |
95 | | * @closure: A #GClosure. |
96 | | * @return_value: A #GValue to store the return value. May be %NULL |
97 | | * if the callback of closure doesn't return a value. |
98 | | * @n_param_values: The length of the @param_values array. |
99 | | * @param_values: An array of #GValues holding the arguments |
100 | | * on which to invoke the callback of closure. |
101 | | * @invocation_hint: The invocation hint given as the last argument to |
102 | | * g_closure_invoke(). |
103 | | * @marshal_data: Additional data specified when registering the |
104 | | * marshaller, see g_closure_set_marshal() and |
105 | | * g_closure_set_meta_marshal() |
106 | | * |
107 | | * A #GClosureMarshal function for use with signals with with a single |
108 | | * unsigned integer argument. |
109 | | */ |
110 | | /** |
111 | | * g_cclosure_marshal_VOID__LONG: |
112 | | * @closure: A #GClosure. |
113 | | * @return_value: A #GValue to store the return value. May be %NULL |
114 | | * if the callback of closure doesn't return a value. |
115 | | * @n_param_values: The length of the @param_values array. |
116 | | * @param_values: An array of #GValues holding the arguments |
117 | | * on which to invoke the callback of closure. |
118 | | * @invocation_hint: The invocation hint given as the last argument to |
119 | | * g_closure_invoke(). |
120 | | * @marshal_data: Additional data specified when registering the |
121 | | * marshaller, see g_closure_set_marshal() and |
122 | | * g_closure_set_meta_marshal() |
123 | | * |
124 | | * A #GClosureMarshal function for use with signals with with a single |
125 | | * long integer argument. |
126 | | */ |
127 | | /** |
128 | | * g_cclosure_marshal_VOID__ULONG: |
129 | | * @closure: A #GClosure. |
130 | | * @return_value: A #GValue to store the return value. May be %NULL |
131 | | * if the callback of closure doesn't return a value. |
132 | | * @n_param_values: The length of the @param_values array. |
133 | | * @param_values: An array of #GValues holding the arguments |
134 | | * on which to invoke the callback of closure. |
135 | | * @invocation_hint: The invocation hint given as the last argument to |
136 | | * g_closure_invoke(). |
137 | | * @marshal_data: Additional data specified when registering the |
138 | | * marshaller, see g_closure_set_marshal() and |
139 | | * g_closure_set_meta_marshal() |
140 | | * |
141 | | * A #GClosureMarshal function for use with signals with a single |
142 | | * unsigned long integer argument. |
143 | | */ |
144 | | /** |
145 | | * g_cclosure_marshal_VOID__ENUM: |
146 | | * @closure: A #GClosure. |
147 | | * @return_value: A #GValue to store the return value. May be %NULL |
148 | | * if the callback of closure doesn't return a value. |
149 | | * @n_param_values: The length of the @param_values array. |
150 | | * @param_values: An array of #GValues holding the arguments |
151 | | * on which to invoke the callback of closure. |
152 | | * @invocation_hint: The invocation hint given as the last argument to |
153 | | * g_closure_invoke(). |
154 | | * @marshal_data: Additional data specified when registering the |
155 | | * marshaller, see g_closure_set_marshal() and |
156 | | * g_closure_set_meta_marshal() |
157 | | * |
158 | | * A #GClosureMarshal function for use with signals with a single |
159 | | * argument with an enumerated type. |
160 | | */ |
161 | | /** |
162 | | * g_cclosure_marshal_VOID__FLAGS: |
163 | | * @closure: A #GClosure. |
164 | | * @return_value: A #GValue to store the return value. May be %NULL |
165 | | * if the callback of closure doesn't return a value. |
166 | | * @n_param_values: The length of the @param_values array. |
167 | | * @param_values: An array of #GValues holding the arguments |
168 | | * on which to invoke the callback of closure. |
169 | | * @invocation_hint: The invocation hint given as the last argument to |
170 | | * g_closure_invoke(). |
171 | | * @marshal_data: Additional data specified when registering the |
172 | | * marshaller, see g_closure_set_marshal() and |
173 | | * g_closure_set_meta_marshal() |
174 | | * |
175 | | * A #GClosureMarshal function for use with signals with a single |
176 | | * argument with a flags types. |
177 | | */ |
178 | | /** |
179 | | * g_cclosure_marshal_VOID__FLOAT: |
180 | | * @closure: A #GClosure. |
181 | | * @return_value: A #GValue to store the return value. May be %NULL |
182 | | * if the callback of closure doesn't return a value. |
183 | | * @n_param_values: The length of the @param_values array. |
184 | | * @param_values: An array of #GValues holding the arguments |
185 | | * on which to invoke the callback of closure. |
186 | | * @invocation_hint: The invocation hint given as the last argument to |
187 | | * g_closure_invoke(). |
188 | | * @marshal_data: Additional data specified when registering the |
189 | | * marshaller, see g_closure_set_marshal() and |
190 | | * g_closure_set_meta_marshal() |
191 | | * |
192 | | * A #GClosureMarshal function for use with signals with one |
193 | | * single-precision floating point argument. |
194 | | */ |
195 | | /** |
196 | | * g_cclosure_marshal_VOID__DOUBLE: |
197 | | * @closure: A #GClosure. |
198 | | * @return_value: A #GValue to store the return value. May be %NULL |
199 | | * if the callback of closure doesn't return a value. |
200 | | * @n_param_values: The length of the @param_values array. |
201 | | * @param_values: An array of #GValues holding the arguments |
202 | | * on which to invoke the callback of closure. |
203 | | * @invocation_hint: The invocation hint given as the last argument to |
204 | | * g_closure_invoke(). |
205 | | * @marshal_data: Additional data specified when registering the |
206 | | * marshaller, see g_closure_set_marshal() and |
207 | | * g_closure_set_meta_marshal() |
208 | | * |
209 | | * A #GClosureMarshal function for use with signals with one |
210 | | * double-precision floating point argument. |
211 | | */ |
212 | | /** |
213 | | * g_cclosure_marshal_VOID__STRING: |
214 | | * @closure: A #GClosure. |
215 | | * @return_value: A #GValue to store the return value. May be %NULL |
216 | | * if the callback of closure doesn't return a value. |
217 | | * @n_param_values: The length of the @param_values array. |
218 | | * @param_values: An array of #GValues holding the arguments |
219 | | * on which to invoke the callback of closure. |
220 | | * @invocation_hint: The invocation hint given as the last argument to |
221 | | * g_closure_invoke(). |
222 | | * @marshal_data: Additional data specified when registering the |
223 | | * marshaller, see g_closure_set_marshal() and |
224 | | * g_closure_set_meta_marshal() |
225 | | * |
226 | | * A #GClosureMarshal function for use with signals with a single string |
227 | | * argument. |
228 | | */ |
229 | | /** |
230 | | * g_cclosure_marshal_VOID__PARAM: |
231 | | * @closure: A #GClosure. |
232 | | * @return_value: A #GValue to store the return value. May be %NULL |
233 | | * if the callback of closure doesn't return a value. |
234 | | * @n_param_values: The length of the @param_values array. |
235 | | * @param_values: An array of #GValues holding the arguments |
236 | | * on which to invoke the callback of closure. |
237 | | * @invocation_hint: The invocation hint given as the last argument to |
238 | | * g_closure_invoke(). |
239 | | * @marshal_data: Additional data specified when registering the |
240 | | * marshaller, see g_closure_set_marshal() and |
241 | | * g_closure_set_meta_marshal() |
242 | | * |
243 | | * A #GClosureMarshal function for use with signals with a single |
244 | | * argument of type #GParamSpec. |
245 | | */ |
246 | | /** |
247 | | * g_cclosure_marshal_VOID__BOXED: |
248 | | * @closure: A #GClosure. |
249 | | * @return_value: A #GValue to store the return value. May be %NULL |
250 | | * if the callback of closure doesn't return a value. |
251 | | * @n_param_values: The length of the @param_values array. |
252 | | * @param_values: An array of #GValues holding the arguments |
253 | | * on which to invoke the callback of closure. |
254 | | * @invocation_hint: The invocation hint given as the last argument to |
255 | | * g_closure_invoke(). |
256 | | * @marshal_data: Additional data specified when registering the |
257 | | * marshaller, see g_closure_set_marshal() and |
258 | | * g_closure_set_meta_marshal() |
259 | | * |
260 | | * A #GClosureMarshal function for use with signals with a single |
261 | | * argument which is any boxed pointer type. |
262 | | */ |
263 | | /** |
264 | | * g_cclosure_marshal_VOID__POINTER: |
265 | | * @closure: A #GClosure. |
266 | | * @return_value: A #GValue to store the return value. May be %NULL |
267 | | * if the callback of closure doesn't return a value. |
268 | | * @n_param_values: The length of the @param_values array. |
269 | | * @param_values: An array of #GValues holding the arguments |
270 | | * on which to invoke the callback of closure. |
271 | | * @invocation_hint: The invocation hint given as the last argument to |
272 | | * g_closure_invoke(). |
273 | | * @marshal_data: Additional data specified when registering the |
274 | | * marshaller, see g_closure_set_marshal() and |
275 | | * g_closure_set_meta_marshal() |
276 | | * |
277 | | * A #GClosureMarshal function for use with signals with a single raw |
278 | | * pointer argument type. |
279 | | * |
280 | | * If it is possible, it is better to use one of the more specific |
281 | | * functions such as g_cclosure_marshal_VOID__OBJECT() or |
282 | | * g_cclosure_marshal_VOID__OBJECT(). |
283 | | */ |
284 | | /** |
285 | | * g_cclosure_marshal_VOID__OBJECT: |
286 | | * @closure: A #GClosure. |
287 | | * @return_value: A #GValue to store the return value. May be %NULL |
288 | | * if the callback of closure doesn't return a value. |
289 | | * @n_param_values: The length of the @param_values array. |
290 | | * @param_values: An array of #GValues holding the arguments |
291 | | * on which to invoke the callback of closure. |
292 | | * @invocation_hint: The invocation hint given as the last argument to |
293 | | * g_closure_invoke(). |
294 | | * @marshal_data: Additional data specified when registering the |
295 | | * marshaller, see g_closure_set_marshal() and |
296 | | * g_closure_set_meta_marshal() |
297 | | * |
298 | | * A #GClosureMarshal function for use with signals with a single |
299 | | * #GObject argument. |
300 | | */ |
301 | | /** |
302 | | * g_cclosure_marshal_VOID__VARIANT: |
303 | | * @closure: A #GClosure. |
304 | | * @return_value: A #GValue to store the return value. May be %NULL |
305 | | * if the callback of closure doesn't return a value. |
306 | | * @n_param_values: The length of the @param_values array. |
307 | | * @param_values: An array of #GValues holding the arguments |
308 | | * on which to invoke the callback of closure. |
309 | | * @invocation_hint: The invocation hint given as the last argument to |
310 | | * g_closure_invoke(). |
311 | | * @marshal_data: Additional data specified when registering the |
312 | | * marshaller, see g_closure_set_marshal() and |
313 | | * g_closure_set_meta_marshal() |
314 | | * |
315 | | * A #GClosureMarshal function for use with signals with a single |
316 | | * #GVariant argument. |
317 | | */ |
318 | | /** |
319 | | * g_cclosure_marshal_STRING__OBJECT_POINTER: |
320 | | * @closure: A #GClosure. |
321 | | * @return_value: A #GValue to store the return value. May be %NULL |
322 | | * if the callback of closure doesn't return a value. |
323 | | * @n_param_values: The length of the @param_values array. |
324 | | * @param_values: An array of #GValues holding the arguments |
325 | | * on which to invoke the callback of closure. |
326 | | * @invocation_hint: The invocation hint given as the last argument to |
327 | | * g_closure_invoke(). |
328 | | * @marshal_data: Additional data specified when registering the |
329 | | * marshaller, see g_closure_set_marshal() and |
330 | | * g_closure_set_meta_marshal() |
331 | | * |
332 | | * A #GClosureMarshal function for use with signals with handlers that |
333 | | * take a #GObject and a pointer and produce a string. It is highly |
334 | | * unlikely that your signal handler fits this description. |
335 | | */ |
336 | | /** |
337 | | * g_cclosure_marshal_VOID__UINT_POINTER: |
338 | | * @closure: A #GClosure. |
339 | | * @return_value: A #GValue to store the return value. May be %NULL |
340 | | * if the callback of closure doesn't return a value. |
341 | | * @n_param_values: The length of the @param_values array. |
342 | | * @param_values: An array of #GValues holding the arguments |
343 | | * on which to invoke the callback of closure. |
344 | | * @invocation_hint: The invocation hint given as the last argument to |
345 | | * g_closure_invoke(). |
346 | | * @marshal_data: Additional data specified when registering the |
347 | | * marshaller, see g_closure_set_marshal() and |
348 | | * g_closure_set_meta_marshal() |
349 | | * |
350 | | * A #GClosureMarshal function for use with signals with a unsigned int |
351 | | * and a pointer as arguments. |
352 | | */ |
353 | | /** |
354 | | * g_cclosure_marshal_BOOLEAN__FLAGS: |
355 | | * @closure: A #GClosure. |
356 | | * @return_value: A #GValue to store the return value. May be %NULL |
357 | | * if the callback of closure doesn't return a value. |
358 | | * @n_param_values: The length of the @param_values array. |
359 | | * @param_values: An array of #GValues holding the arguments |
360 | | * on which to invoke the callback of closure. |
361 | | * @invocation_hint: The invocation hint given as the last argument to |
362 | | * g_closure_invoke(). |
363 | | * @marshal_data: Additional data specified when registering the |
364 | | * marshaller, see g_closure_set_marshal() and |
365 | | * g_closure_set_meta_marshal() |
366 | | * |
367 | | * A #GClosureMarshal function for use with signals with handlers that |
368 | | * take a flags type as an argument and return a boolean. If you have |
369 | | * such a signal, you will probably also need to use an accumulator, |
370 | | * such as g_signal_accumulator_true_handled(). |
371 | | */ |
372 | | /** |
373 | | * g_cclosure_marshal_BOOL__FLAGS: |
374 | | * @closure: A #GClosure. |
375 | | * @return_value: A #GValue to store the return value. May be %NULL |
376 | | * if the callback of closure doesn't return a value. |
377 | | * @n_param_values: The length of the @param_values array. |
378 | | * @param_values: An array of #GValues holding the arguments |
379 | | * on which to invoke the callback of closure. |
380 | | * @invocation_hint: The invocation hint given as the last argument to |
381 | | * g_closure_invoke(). |
382 | | * @marshal_data: Additional data specified when registering the |
383 | | * marshaller, see g_closure_set_marshal() and |
384 | | * g_closure_set_meta_marshal() |
385 | | * |
386 | | * An old alias for g_cclosure_marshal_BOOLEAN__FLAGS(). |
387 | | */ |
388 | | /** |
389 | | * g_cclosure_marshal_BOOLEAN__BOXED_BOXED: |
390 | | * @closure: A #GClosure. |
391 | | * @return_value: A #GValue to store the return value. May be %NULL |
392 | | * if the callback of closure doesn't return a value. |
393 | | * @n_param_values: The length of the @param_values array. |
394 | | * @param_values: An array of #GValues holding the arguments |
395 | | * on which to invoke the callback of closure. |
396 | | * @invocation_hint: The invocation hint given as the last argument to |
397 | | * g_closure_invoke(). |
398 | | * @marshal_data: Additional data specified when registering the |
399 | | * marshaller, see g_closure_set_marshal() and |
400 | | * g_closure_set_meta_marshal() |
401 | | * |
402 | | * A #GClosureMarshal function for use with signals with handlers that |
403 | | * take two boxed pointers as arguments and return a boolean. If you |
404 | | * have such a signal, you will probably also need to use an |
405 | | * accumulator, such as g_signal_accumulator_true_handled(). |
406 | | */ |
407 | | /** |
408 | | * g_cclosure_marshal_BOOL__BOXED_BOXED: |
409 | | * @closure: A #GClosure. |
410 | | * @return_value: A #GValue to store the return value. May be %NULL |
411 | | * if the callback of closure doesn't return a value. |
412 | | * @n_param_values: The length of the @param_values array. |
413 | | * @param_values: An array of #GValues holding the arguments |
414 | | * on which to invoke the callback of closure. |
415 | | * @invocation_hint: The invocation hint given as the last argument to |
416 | | * g_closure_invoke(). |
417 | | * @marshal_data: Additional data specified when registering the |
418 | | * marshaller, see g_closure_set_marshal() and |
419 | | * g_closure_set_meta_marshal() |
420 | | * |
421 | | * An old alias for g_cclosure_marshal_BOOLEAN__BOXED_BOXED(). |
422 | | */ |
423 | | /** |
424 | | * g_cclosure_marshal_VOID__VOIDv: |
425 | | * @closure: the #GClosure to which the marshaller belongs |
426 | | * @return_value: (nullable): a #GValue to store the return |
427 | | * value. May be %NULL if the callback of @closure doesn't return a |
428 | | * value. |
429 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
430 | | * @args: va_list of arguments to be passed to the closure. |
431 | | * @marshal_data: (nullable): additional data specified when |
432 | | * registering the marshaller, see g_closure_set_marshal() and |
433 | | * g_closure_set_meta_marshal() |
434 | | * @n_params: the length of the @param_types array |
435 | | * @param_types: (array length=n_params): the #GType of each argument from |
436 | | * @args. |
437 | | * |
438 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__VOID(). |
439 | | */ |
440 | | |
441 | | /** |
442 | | * g_cclosure_marshal_VOID__BOOLEANv: |
443 | | * @closure: the #GClosure to which the marshaller belongs |
444 | | * @return_value: (nullable): a #GValue to store the return |
445 | | * value. May be %NULL if the callback of @closure doesn't return a |
446 | | * value. |
447 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
448 | | * @args: va_list of arguments to be passed to the closure. |
449 | | * @marshal_data: (nullable): additional data specified when |
450 | | * registering the marshaller, see g_closure_set_marshal() and |
451 | | * g_closure_set_meta_marshal() |
452 | | * @n_params: the length of the @param_types array |
453 | | * @param_types: (array length=n_params): the #GType of each argument from |
454 | | * @args. |
455 | | * |
456 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__BOOLEAN(). |
457 | | */ |
458 | | /** |
459 | | * g_cclosure_marshal_VOID__CHARv: |
460 | | * @closure: the #GClosure to which the marshaller belongs |
461 | | * @return_value: (nullable): a #GValue to store the return |
462 | | * value. May be %NULL if the callback of @closure doesn't return a |
463 | | * value. |
464 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
465 | | * @args: va_list of arguments to be passed to the closure. |
466 | | * @marshal_data: (nullable): additional data specified when |
467 | | * registering the marshaller, see g_closure_set_marshal() and |
468 | | * g_closure_set_meta_marshal() |
469 | | * @n_params: the length of the @param_types array |
470 | | * @param_types: (array length=n_params): the #GType of each argument from |
471 | | * @args. |
472 | | * |
473 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__CHAR(). |
474 | | */ |
475 | | /** |
476 | | * g_cclosure_marshal_VOID__UCHARv: |
477 | | * @closure: the #GClosure to which the marshaller belongs |
478 | | * @return_value: (nullable): a #GValue to store the return |
479 | | * value. May be %NULL if the callback of @closure doesn't return a |
480 | | * value. |
481 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
482 | | * @args: va_list of arguments to be passed to the closure. |
483 | | * @marshal_data: (nullable): additional data specified when |
484 | | * registering the marshaller, see g_closure_set_marshal() and |
485 | | * g_closure_set_meta_marshal() |
486 | | * @n_params: the length of the @param_types array |
487 | | * @param_types: (array length=n_params): the #GType of each argument from |
488 | | * @args. |
489 | | * |
490 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UCHAR(). |
491 | | */ |
492 | | /** |
493 | | * g_cclosure_marshal_VOID__INTv: |
494 | | * @closure: the #GClosure to which the marshaller belongs |
495 | | * @return_value: (nullable): a #GValue to store the return |
496 | | * value. May be %NULL if the callback of @closure doesn't return a |
497 | | * value. |
498 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
499 | | * @args: va_list of arguments to be passed to the closure. |
500 | | * @marshal_data: (nullable): additional data specified when |
501 | | * registering the marshaller, see g_closure_set_marshal() and |
502 | | * g_closure_set_meta_marshal() |
503 | | * @n_params: the length of the @param_types array |
504 | | * @param_types: (array length=n_params): the #GType of each argument from |
505 | | * @args. |
506 | | * |
507 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__INT(). |
508 | | */ |
509 | | /** |
510 | | * g_cclosure_marshal_VOID__UINTv: |
511 | | * @closure: the #GClosure to which the marshaller belongs |
512 | | * @return_value: (nullable): a #GValue to store the return |
513 | | * value. May be %NULL if the callback of @closure doesn't return a |
514 | | * value. |
515 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
516 | | * @args: va_list of arguments to be passed to the closure. |
517 | | * @marshal_data: (nullable): additional data specified when |
518 | | * registering the marshaller, see g_closure_set_marshal() and |
519 | | * g_closure_set_meta_marshal() |
520 | | * @n_params: the length of the @param_types array |
521 | | * @param_types: (array length=n_params): the #GType of each argument from |
522 | | * @args. |
523 | | * |
524 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UINT(). |
525 | | */ |
526 | | /** |
527 | | * g_cclosure_marshal_VOID__LONGv: |
528 | | * @closure: the #GClosure to which the marshaller belongs |
529 | | * @return_value: (nullable): a #GValue to store the return |
530 | | * value. May be %NULL if the callback of @closure doesn't return a |
531 | | * value. |
532 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
533 | | * @args: va_list of arguments to be passed to the closure. |
534 | | * @marshal_data: (nullable): additional data specified when |
535 | | * registering the marshaller, see g_closure_set_marshal() and |
536 | | * g_closure_set_meta_marshal() |
537 | | * @n_params: the length of the @param_types array |
538 | | * @param_types: (array length=n_params): the #GType of each argument from |
539 | | * @args. |
540 | | * |
541 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__LONG(). |
542 | | */ |
543 | | /** |
544 | | * g_cclosure_marshal_VOID__ULONGv: |
545 | | * @closure: the #GClosure to which the marshaller belongs |
546 | | * @return_value: (nullable): a #GValue to store the return |
547 | | * value. May be %NULL if the callback of @closure doesn't return a |
548 | | * value. |
549 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
550 | | * @args: va_list of arguments to be passed to the closure. |
551 | | * @marshal_data: (nullable): additional data specified when |
552 | | * registering the marshaller, see g_closure_set_marshal() and |
553 | | * g_closure_set_meta_marshal() |
554 | | * @n_params: the length of the @param_types array |
555 | | * @param_types: (array length=n_params): the #GType of each argument from |
556 | | * @args. |
557 | | * |
558 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__ULONG(). |
559 | | */ |
560 | | /** |
561 | | * g_cclosure_marshal_VOID__ENUMv: |
562 | | * @closure: the #GClosure to which the marshaller belongs |
563 | | * @return_value: (nullable): a #GValue to store the return |
564 | | * value. May be %NULL if the callback of @closure doesn't return a |
565 | | * value. |
566 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
567 | | * @args: va_list of arguments to be passed to the closure. |
568 | | * @marshal_data: (nullable): additional data specified when |
569 | | * registering the marshaller, see g_closure_set_marshal() and |
570 | | * g_closure_set_meta_marshal() |
571 | | * @n_params: the length of the @param_types array |
572 | | * @param_types: (array length=n_params): the #GType of each argument from |
573 | | * @args. |
574 | | * |
575 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__ENUM(). |
576 | | */ |
577 | | /** |
578 | | * g_cclosure_marshal_VOID__FLAGSv: |
579 | | * @closure: the #GClosure to which the marshaller belongs |
580 | | * @return_value: (nullable): a #GValue to store the return |
581 | | * value. May be %NULL if the callback of @closure doesn't return a |
582 | | * value. |
583 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
584 | | * @args: va_list of arguments to be passed to the closure. |
585 | | * @marshal_data: (nullable): additional data specified when |
586 | | * registering the marshaller, see g_closure_set_marshal() and |
587 | | * g_closure_set_meta_marshal() |
588 | | * @n_params: the length of the @param_types array |
589 | | * @param_types: (array length=n_params): the #GType of each argument from |
590 | | * @args. |
591 | | * |
592 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__FLAGS(). |
593 | | */ |
594 | | /** |
595 | | * g_cclosure_marshal_VOID__FLOATv: |
596 | | * @closure: the #GClosure to which the marshaller belongs |
597 | | * @return_value: (nullable): a #GValue to store the return |
598 | | * value. May be %NULL if the callback of @closure doesn't return a |
599 | | * value. |
600 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
601 | | * @args: va_list of arguments to be passed to the closure. |
602 | | * @marshal_data: (nullable): additional data specified when |
603 | | * registering the marshaller, see g_closure_set_marshal() and |
604 | | * g_closure_set_meta_marshal() |
605 | | * @n_params: the length of the @param_types array |
606 | | * @param_types: (array length=n_params): the #GType of each argument from |
607 | | * @args. |
608 | | * |
609 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__FLOAT(). |
610 | | */ |
611 | | /** |
612 | | * g_cclosure_marshal_VOID__DOUBLEv: |
613 | | * @closure: the #GClosure to which the marshaller belongs |
614 | | * @return_value: (nullable): a #GValue to store the return |
615 | | * value. May be %NULL if the callback of @closure doesn't return a |
616 | | * value. |
617 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
618 | | * @args: va_list of arguments to be passed to the closure. |
619 | | * @marshal_data: (nullable): additional data specified when |
620 | | * registering the marshaller, see g_closure_set_marshal() and |
621 | | * g_closure_set_meta_marshal() |
622 | | * @n_params: the length of the @param_types array |
623 | | * @param_types: (array length=n_params): the #GType of each argument from |
624 | | * @args. |
625 | | * |
626 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__DOUBLE(). |
627 | | */ |
628 | | /** |
629 | | * g_cclosure_marshal_VOID__STRINGv: |
630 | | * @closure: the #GClosure to which the marshaller belongs |
631 | | * @return_value: (nullable): a #GValue to store the return |
632 | | * value. May be %NULL if the callback of @closure doesn't return a |
633 | | * value. |
634 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
635 | | * @args: va_list of arguments to be passed to the closure. |
636 | | * @marshal_data: (nullable): additional data specified when |
637 | | * registering the marshaller, see g_closure_set_marshal() and |
638 | | * g_closure_set_meta_marshal() |
639 | | * @n_params: the length of the @param_types array |
640 | | * @param_types: (array length=n_params): the #GType of each argument from |
641 | | * @args. |
642 | | * |
643 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__STRING(). |
644 | | */ |
645 | | /** |
646 | | * g_cclosure_marshal_VOID__PARAMv: |
647 | | * @closure: the #GClosure to which the marshaller belongs |
648 | | * @return_value: (nullable): a #GValue to store the return |
649 | | * value. May be %NULL if the callback of @closure doesn't return a |
650 | | * value. |
651 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
652 | | * @args: va_list of arguments to be passed to the closure. |
653 | | * @marshal_data: (nullable): additional data specified when |
654 | | * registering the marshaller, see g_closure_set_marshal() and |
655 | | * g_closure_set_meta_marshal() |
656 | | * @n_params: the length of the @param_types array |
657 | | * @param_types: (array length=n_params): the #GType of each argument from |
658 | | * @args. |
659 | | * |
660 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__PARAM(). |
661 | | */ |
662 | | /** |
663 | | * g_cclosure_marshal_VOID__BOXEDv: |
664 | | * @closure: the #GClosure to which the marshaller belongs |
665 | | * @return_value: (nullable): a #GValue to store the return |
666 | | * value. May be %NULL if the callback of @closure doesn't return a |
667 | | * value. |
668 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
669 | | * @args: va_list of arguments to be passed to the closure. |
670 | | * @marshal_data: (nullable): additional data specified when |
671 | | * registering the marshaller, see g_closure_set_marshal() and |
672 | | * g_closure_set_meta_marshal() |
673 | | * @n_params: the length of the @param_types array |
674 | | * @param_types: (array length=n_params): the #GType of each argument from |
675 | | * @args. |
676 | | * |
677 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__BOXED(). |
678 | | */ |
679 | | /** |
680 | | * g_cclosure_marshal_VOID__POINTERv: |
681 | | * @closure: the #GClosure to which the marshaller belongs |
682 | | * @return_value: (nullable): a #GValue to store the return |
683 | | * value. May be %NULL if the callback of @closure doesn't return a |
684 | | * value. |
685 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
686 | | * @args: va_list of arguments to be passed to the closure. |
687 | | * @marshal_data: (nullable): additional data specified when |
688 | | * registering the marshaller, see g_closure_set_marshal() and |
689 | | * g_closure_set_meta_marshal() |
690 | | * @n_params: the length of the @param_types array |
691 | | * @param_types: (array length=n_params): the #GType of each argument from |
692 | | * @args. |
693 | | * |
694 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__POINTER(). |
695 | | */ |
696 | | /** |
697 | | * g_cclosure_marshal_VOID__OBJECTv: |
698 | | * @closure: the #GClosure to which the marshaller belongs |
699 | | * @return_value: (nullable): a #GValue to store the return |
700 | | * value. May be %NULL if the callback of @closure doesn't return a |
701 | | * value. |
702 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
703 | | * @args: va_list of arguments to be passed to the closure. |
704 | | * @marshal_data: (nullable): additional data specified when |
705 | | * registering the marshaller, see g_closure_set_marshal() and |
706 | | * g_closure_set_meta_marshal() |
707 | | * @n_params: the length of the @param_types array |
708 | | * @param_types: (array length=n_params): the #GType of each argument from |
709 | | * @args. |
710 | | * |
711 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__OBJECT(). |
712 | | */ |
713 | | /** |
714 | | * g_cclosure_marshal_VOID__VARIANTv: |
715 | | * @closure: the #GClosure to which the marshaller belongs |
716 | | * @return_value: (nullable): a #GValue to store the return |
717 | | * value. May be %NULL if the callback of @closure doesn't return a |
718 | | * value. |
719 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
720 | | * @args: va_list of arguments to be passed to the closure. |
721 | | * @marshal_data: (nullable): additional data specified when |
722 | | * registering the marshaller, see g_closure_set_marshal() and |
723 | | * g_closure_set_meta_marshal() |
724 | | * @n_params: the length of the @param_types array |
725 | | * @param_types: (array length=n_params): the #GType of each argument from |
726 | | * @args. |
727 | | * |
728 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__VARIANT(). |
729 | | */ |
730 | | /** |
731 | | * g_cclosure_marshal_STRING__OBJECT_POINTERv: |
732 | | * @closure: the #GClosure to which the marshaller belongs |
733 | | * @return_value: (nullable): a #GValue to store the return |
734 | | * value. May be %NULL if the callback of @closure doesn't return a |
735 | | * value. |
736 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
737 | | * @args: va_list of arguments to be passed to the closure. |
738 | | * @marshal_data: (nullable): additional data specified when |
739 | | * registering the marshaller, see g_closure_set_marshal() and |
740 | | * g_closure_set_meta_marshal() |
741 | | * @n_params: the length of the @param_types array |
742 | | * @param_types: (array length=n_params): the #GType of each argument from |
743 | | * @args. |
744 | | * |
745 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_STRING__OBJECT_POINTER(). |
746 | | */ |
747 | | /** |
748 | | * g_cclosure_marshal_VOID__UINT_POINTERv: |
749 | | * @closure: the #GClosure to which the marshaller belongs |
750 | | * @return_value: (nullable): a #GValue to store the return |
751 | | * value. May be %NULL if the callback of @closure doesn't return a |
752 | | * value. |
753 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
754 | | * @args: va_list of arguments to be passed to the closure. |
755 | | * @marshal_data: (nullable): additional data specified when |
756 | | * registering the marshaller, see g_closure_set_marshal() and |
757 | | * g_closure_set_meta_marshal() |
758 | | * @n_params: the length of the @param_types array |
759 | | * @param_types: (array length=n_params): the #GType of each argument from |
760 | | * @args. |
761 | | * |
762 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UINT_POINTER(). |
763 | | */ |
764 | | /** |
765 | | * g_cclosure_marshal_BOOLEAN__FLAGSv: |
766 | | * @closure: the #GClosure to which the marshaller belongs |
767 | | * @return_value: (nullable): a #GValue to store the return |
768 | | * value. May be %NULL if the callback of @closure doesn't return a |
769 | | * value. |
770 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
771 | | * @args: va_list of arguments to be passed to the closure. |
772 | | * @marshal_data: (nullable): additional data specified when |
773 | | * registering the marshaller, see g_closure_set_marshal() and |
774 | | * g_closure_set_meta_marshal() |
775 | | * @n_params: the length of the @param_types array |
776 | | * @param_types: (array length=n_params): the #GType of each argument from |
777 | | * @args. |
778 | | * |
779 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_BOOLEAN__FLAGS(). |
780 | | */ |
781 | | /** |
782 | | * g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv: |
783 | | * @closure: the #GClosure to which the marshaller belongs |
784 | | * @return_value: (nullable): a #GValue to store the return |
785 | | * value. May be %NULL if the callback of @closure doesn't return a |
786 | | * value. |
787 | | * @instance: (type GObject.TypeInstance): the instance on which the closure is invoked. |
788 | | * @args: va_list of arguments to be passed to the closure. |
789 | | * @marshal_data: (nullable): additional data specified when |
790 | | * registering the marshaller, see g_closure_set_marshal() and |
791 | | * g_closure_set_meta_marshal() |
792 | | * @n_params: the length of the @param_types array |
793 | | * @param_types: (array length=n_params): the #GType of each argument from |
794 | | * @args. |
795 | | * |
796 | | * The #GVaClosureMarshal equivalent to g_cclosure_marshal_BOOLEAN__BOXED_BOXED(). |
797 | | */ |
798 | | |
799 | | #ifdef G_ENABLE_DEBUG |
800 | 0 | #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) |
801 | 0 | #define g_marshal_value_peek_char(v) g_value_get_schar (v) |
802 | 0 | #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) |
803 | 0 | #define g_marshal_value_peek_int(v) g_value_get_int (v) |
804 | 0 | #define g_marshal_value_peek_uint(v) g_value_get_uint (v) |
805 | 0 | #define g_marshal_value_peek_long(v) g_value_get_long (v) |
806 | 0 | #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) |
807 | | #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) |
808 | | #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) |
809 | 0 | #define g_marshal_value_peek_enum(v) g_value_get_enum (v) |
810 | 0 | #define g_marshal_value_peek_flags(v) g_value_get_flags (v) |
811 | 0 | #define g_marshal_value_peek_float(v) g_value_get_float (v) |
812 | 0 | #define g_marshal_value_peek_double(v) g_value_get_double (v) |
813 | 0 | #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) |
814 | 0 | #define g_marshal_value_peek_param(v) g_value_get_param (v) |
815 | 0 | #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) |
816 | 0 | #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) |
817 | 0 | #define g_marshal_value_peek_object(v) g_value_get_object (v) |
818 | 0 | #define g_marshal_value_peek_variant(v) g_value_get_variant (v) |
819 | | #else /* !G_ENABLE_DEBUG */ |
820 | | /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. |
821 | | * Do not access GValues directly in your code. Instead, use the |
822 | | * g_value_get_*() functions |
823 | | */ |
824 | | #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int |
825 | | #define g_marshal_value_peek_char(v) (v)->data[0].v_int |
826 | | #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint |
827 | | #define g_marshal_value_peek_int(v) (v)->data[0].v_int |
828 | | #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint |
829 | | #define g_marshal_value_peek_long(v) (v)->data[0].v_long |
830 | | #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong |
831 | | #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 |
832 | | #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 |
833 | | #define g_marshal_value_peek_enum(v) (v)->data[0].v_long |
834 | | #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong |
835 | | #define g_marshal_value_peek_float(v) (v)->data[0].v_float |
836 | | #define g_marshal_value_peek_double(v) (v)->data[0].v_double |
837 | | #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer |
838 | | #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer |
839 | | #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer |
840 | | #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer |
841 | | #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer |
842 | | #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer |
843 | | #endif /* !G_ENABLE_DEBUG */ |
844 | | |
845 | | |
846 | | /* VOID:VOID (./gmarshal.list:6) */ |
847 | | void |
848 | | g_cclosure_marshal_VOID__VOID (GClosure *closure, |
849 | | GValue *return_value G_GNUC_UNUSED, |
850 | | guint n_param_values, |
851 | | const GValue *param_values, |
852 | | gpointer invocation_hint G_GNUC_UNUSED, |
853 | | gpointer marshal_data) |
854 | 0 | { |
855 | 0 | typedef void (*GMarshalFunc_VOID__VOID) (gpointer data1, |
856 | 0 | gpointer data2); |
857 | 0 | GMarshalFunc_VOID__VOID callback; |
858 | 0 | GCClosure *cc = (GCClosure*) closure; |
859 | 0 | gpointer data1, data2; |
860 | 0 |
|
861 | 0 | g_return_if_fail (n_param_values == 1); |
862 | 0 |
|
863 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
864 | 0 | { |
865 | 0 | data1 = closure->data; |
866 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
867 | 0 | } |
868 | 0 | else |
869 | 0 | { |
870 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
871 | 0 | data2 = closure->data; |
872 | 0 | } |
873 | 0 | callback = (GMarshalFunc_VOID__VOID) (marshal_data ? marshal_data : cc->callback); |
874 | 0 |
|
875 | 0 | callback (data1, |
876 | 0 | data2); |
877 | 0 | } |
878 | | void |
879 | | g_cclosure_marshal_VOID__VOIDv (GClosure *closure, |
880 | | GValue *return_value, |
881 | | gpointer instance, |
882 | | va_list args, |
883 | | gpointer marshal_data, |
884 | | int n_params, |
885 | | GType *param_types) |
886 | 0 | { |
887 | 0 | typedef void (*GMarshalFunc_VOID__VOID) (gpointer instance, |
888 | 0 | gpointer data); |
889 | 0 | GCClosure *cc = (GCClosure*) closure; |
890 | 0 | gpointer data1, data2; |
891 | 0 | GMarshalFunc_VOID__VOID callback; |
892 | 0 |
|
893 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
894 | 0 | { |
895 | 0 | data1 = closure->data; |
896 | 0 | data2 = instance; |
897 | 0 | } |
898 | 0 | else |
899 | 0 | { |
900 | 0 | data1 = instance; |
901 | 0 | data2 = closure->data; |
902 | 0 | } |
903 | 0 | callback = (GMarshalFunc_VOID__VOID) (marshal_data ? marshal_data : cc->callback); |
904 | 0 |
|
905 | 0 | callback (data1, |
906 | 0 | data2); |
907 | 0 | } |
908 | | |
909 | | |
910 | | /* VOID:BOOLEAN (./gmarshal.list:7) */ |
911 | | void |
912 | | g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure, |
913 | | GValue *return_value G_GNUC_UNUSED, |
914 | | guint n_param_values, |
915 | | const GValue *param_values, |
916 | | gpointer invocation_hint G_GNUC_UNUSED, |
917 | | gpointer marshal_data) |
918 | 0 | { |
919 | 0 | typedef void (*GMarshalFunc_VOID__BOOLEAN) (gpointer data1, |
920 | 0 | gboolean arg_1, |
921 | 0 | gpointer data2); |
922 | 0 | GMarshalFunc_VOID__BOOLEAN callback; |
923 | 0 | GCClosure *cc = (GCClosure*) closure; |
924 | 0 | gpointer data1, data2; |
925 | 0 |
|
926 | 0 | g_return_if_fail (n_param_values == 2); |
927 | 0 |
|
928 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
929 | 0 | { |
930 | 0 | data1 = closure->data; |
931 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
932 | 0 | } |
933 | 0 | else |
934 | 0 | { |
935 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
936 | 0 | data2 = closure->data; |
937 | 0 | } |
938 | 0 | callback = (GMarshalFunc_VOID__BOOLEAN) (marshal_data ? marshal_data : cc->callback); |
939 | 0 |
|
940 | 0 | callback (data1, |
941 | 0 | g_marshal_value_peek_boolean (param_values + 1), |
942 | 0 | data2); |
943 | 0 | } |
944 | | void |
945 | | g_cclosure_marshal_VOID__BOOLEANv (GClosure *closure, |
946 | | GValue *return_value, |
947 | | gpointer instance, |
948 | | va_list args, |
949 | | gpointer marshal_data, |
950 | | int n_params, |
951 | | GType *param_types) |
952 | 0 | { |
953 | 0 | typedef void (*GMarshalFunc_VOID__BOOLEAN) (gpointer instance, |
954 | 0 | gboolean arg_0, |
955 | 0 | gpointer data); |
956 | 0 | GCClosure *cc = (GCClosure*) closure; |
957 | 0 | gpointer data1, data2; |
958 | 0 | GMarshalFunc_VOID__BOOLEAN callback; |
959 | 0 | gboolean arg0; |
960 | 0 | va_list args_copy; |
961 | 0 |
|
962 | 0 | G_VA_COPY (args_copy, args); |
963 | 0 | arg0 = (gboolean) va_arg (args_copy, gboolean); |
964 | 0 | va_end (args_copy); |
965 | 0 |
|
966 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
967 | 0 | { |
968 | 0 | data1 = closure->data; |
969 | 0 | data2 = instance; |
970 | 0 | } |
971 | 0 | else |
972 | 0 | { |
973 | 0 | data1 = instance; |
974 | 0 | data2 = closure->data; |
975 | 0 | } |
976 | 0 | callback = (GMarshalFunc_VOID__BOOLEAN) (marshal_data ? marshal_data : cc->callback); |
977 | 0 |
|
978 | 0 | callback (data1, |
979 | 0 | arg0, |
980 | 0 | data2); |
981 | 0 | } |
982 | | |
983 | | |
984 | | /* VOID:CHAR (./gmarshal.list:8) */ |
985 | | void |
986 | | g_cclosure_marshal_VOID__CHAR (GClosure *closure, |
987 | | GValue *return_value G_GNUC_UNUSED, |
988 | | guint n_param_values, |
989 | | const GValue *param_values, |
990 | | gpointer invocation_hint G_GNUC_UNUSED, |
991 | | gpointer marshal_data) |
992 | 0 | { |
993 | 0 | typedef void (*GMarshalFunc_VOID__CHAR) (gpointer data1, |
994 | 0 | gchar arg_1, |
995 | 0 | gpointer data2); |
996 | 0 | GMarshalFunc_VOID__CHAR callback; |
997 | 0 | GCClosure *cc = (GCClosure*) closure; |
998 | 0 | gpointer data1, data2; |
999 | 0 |
|
1000 | 0 | g_return_if_fail (n_param_values == 2); |
1001 | 0 |
|
1002 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1003 | 0 | { |
1004 | 0 | data1 = closure->data; |
1005 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1006 | 0 | } |
1007 | 0 | else |
1008 | 0 | { |
1009 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1010 | 0 | data2 = closure->data; |
1011 | 0 | } |
1012 | 0 | callback = (GMarshalFunc_VOID__CHAR) (marshal_data ? marshal_data : cc->callback); |
1013 | 0 |
|
1014 | 0 | callback (data1, |
1015 | 0 | g_marshal_value_peek_char (param_values + 1), |
1016 | 0 | data2); |
1017 | 0 | } |
1018 | | void |
1019 | | g_cclosure_marshal_VOID__CHARv (GClosure *closure, |
1020 | | GValue *return_value, |
1021 | | gpointer instance, |
1022 | | va_list args, |
1023 | | gpointer marshal_data, |
1024 | | int n_params, |
1025 | | GType *param_types) |
1026 | 0 | { |
1027 | 0 | typedef void (*GMarshalFunc_VOID__CHAR) (gpointer instance, |
1028 | 0 | gchar arg_0, |
1029 | 0 | gpointer data); |
1030 | 0 | GCClosure *cc = (GCClosure*) closure; |
1031 | 0 | gpointer data1, data2; |
1032 | 0 | GMarshalFunc_VOID__CHAR callback; |
1033 | 0 | gchar arg0; |
1034 | 0 | va_list args_copy; |
1035 | 0 |
|
1036 | 0 | G_VA_COPY (args_copy, args); |
1037 | 0 | arg0 = (gchar) va_arg (args_copy, gint); |
1038 | 0 | va_end (args_copy); |
1039 | 0 |
|
1040 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1041 | 0 | { |
1042 | 0 | data1 = closure->data; |
1043 | 0 | data2 = instance; |
1044 | 0 | } |
1045 | 0 | else |
1046 | 0 | { |
1047 | 0 | data1 = instance; |
1048 | 0 | data2 = closure->data; |
1049 | 0 | } |
1050 | 0 | callback = (GMarshalFunc_VOID__CHAR) (marshal_data ? marshal_data : cc->callback); |
1051 | 0 |
|
1052 | 0 | callback (data1, |
1053 | 0 | arg0, |
1054 | 0 | data2); |
1055 | 0 | } |
1056 | | |
1057 | | |
1058 | | /* VOID:UCHAR (./gmarshal.list:9) */ |
1059 | | void |
1060 | | g_cclosure_marshal_VOID__UCHAR (GClosure *closure, |
1061 | | GValue *return_value G_GNUC_UNUSED, |
1062 | | guint n_param_values, |
1063 | | const GValue *param_values, |
1064 | | gpointer invocation_hint G_GNUC_UNUSED, |
1065 | | gpointer marshal_data) |
1066 | 0 | { |
1067 | 0 | typedef void (*GMarshalFunc_VOID__UCHAR) (gpointer data1, |
1068 | 0 | guchar arg_1, |
1069 | 0 | gpointer data2); |
1070 | 0 | GMarshalFunc_VOID__UCHAR callback; |
1071 | 0 | GCClosure *cc = (GCClosure*) closure; |
1072 | 0 | gpointer data1, data2; |
1073 | 0 |
|
1074 | 0 | g_return_if_fail (n_param_values == 2); |
1075 | 0 |
|
1076 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1077 | 0 | { |
1078 | 0 | data1 = closure->data; |
1079 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1080 | 0 | } |
1081 | 0 | else |
1082 | 0 | { |
1083 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1084 | 0 | data2 = closure->data; |
1085 | 0 | } |
1086 | 0 | callback = (GMarshalFunc_VOID__UCHAR) (marshal_data ? marshal_data : cc->callback); |
1087 | 0 |
|
1088 | 0 | callback (data1, |
1089 | 0 | g_marshal_value_peek_uchar (param_values + 1), |
1090 | 0 | data2); |
1091 | 0 | } |
1092 | | void |
1093 | | g_cclosure_marshal_VOID__UCHARv (GClosure *closure, |
1094 | | GValue *return_value, |
1095 | | gpointer instance, |
1096 | | va_list args, |
1097 | | gpointer marshal_data, |
1098 | | int n_params, |
1099 | | GType *param_types) |
1100 | 0 | { |
1101 | 0 | typedef void (*GMarshalFunc_VOID__UCHAR) (gpointer instance, |
1102 | 0 | guchar arg_0, |
1103 | 0 | gpointer data); |
1104 | 0 | GCClosure *cc = (GCClosure*) closure; |
1105 | 0 | gpointer data1, data2; |
1106 | 0 | GMarshalFunc_VOID__UCHAR callback; |
1107 | 0 | guchar arg0; |
1108 | 0 | va_list args_copy; |
1109 | 0 |
|
1110 | 0 | G_VA_COPY (args_copy, args); |
1111 | 0 | arg0 = (guchar) va_arg (args_copy, guint); |
1112 | 0 | va_end (args_copy); |
1113 | 0 |
|
1114 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1115 | 0 | { |
1116 | 0 | data1 = closure->data; |
1117 | 0 | data2 = instance; |
1118 | 0 | } |
1119 | 0 | else |
1120 | 0 | { |
1121 | 0 | data1 = instance; |
1122 | 0 | data2 = closure->data; |
1123 | 0 | } |
1124 | 0 | callback = (GMarshalFunc_VOID__UCHAR) (marshal_data ? marshal_data : cc->callback); |
1125 | 0 |
|
1126 | 0 | callback (data1, |
1127 | 0 | arg0, |
1128 | 0 | data2); |
1129 | 0 | } |
1130 | | |
1131 | | |
1132 | | /* VOID:INT (./gmarshal.list:10) */ |
1133 | | void |
1134 | | g_cclosure_marshal_VOID__INT (GClosure *closure, |
1135 | | GValue *return_value G_GNUC_UNUSED, |
1136 | | guint n_param_values, |
1137 | | const GValue *param_values, |
1138 | | gpointer invocation_hint G_GNUC_UNUSED, |
1139 | | gpointer marshal_data) |
1140 | 0 | { |
1141 | 0 | typedef void (*GMarshalFunc_VOID__INT) (gpointer data1, |
1142 | 0 | gint arg_1, |
1143 | 0 | gpointer data2); |
1144 | 0 | GMarshalFunc_VOID__INT callback; |
1145 | 0 | GCClosure *cc = (GCClosure*) closure; |
1146 | 0 | gpointer data1, data2; |
1147 | 0 |
|
1148 | 0 | g_return_if_fail (n_param_values == 2); |
1149 | 0 |
|
1150 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1151 | 0 | { |
1152 | 0 | data1 = closure->data; |
1153 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1154 | 0 | } |
1155 | 0 | else |
1156 | 0 | { |
1157 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1158 | 0 | data2 = closure->data; |
1159 | 0 | } |
1160 | 0 | callback = (GMarshalFunc_VOID__INT) (marshal_data ? marshal_data : cc->callback); |
1161 | 0 |
|
1162 | 0 | callback (data1, |
1163 | 0 | g_marshal_value_peek_int (param_values + 1), |
1164 | 0 | data2); |
1165 | 0 | } |
1166 | | void |
1167 | | g_cclosure_marshal_VOID__INTv (GClosure *closure, |
1168 | | GValue *return_value, |
1169 | | gpointer instance, |
1170 | | va_list args, |
1171 | | gpointer marshal_data, |
1172 | | int n_params, |
1173 | | GType *param_types) |
1174 | 0 | { |
1175 | 0 | typedef void (*GMarshalFunc_VOID__INT) (gpointer instance, |
1176 | 0 | gint arg_0, |
1177 | 0 | gpointer data); |
1178 | 0 | GCClosure *cc = (GCClosure*) closure; |
1179 | 0 | gpointer data1, data2; |
1180 | 0 | GMarshalFunc_VOID__INT callback; |
1181 | 0 | gint arg0; |
1182 | 0 | va_list args_copy; |
1183 | 0 |
|
1184 | 0 | G_VA_COPY (args_copy, args); |
1185 | 0 | arg0 = (gint) va_arg (args_copy, gint); |
1186 | 0 | va_end (args_copy); |
1187 | 0 |
|
1188 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1189 | 0 | { |
1190 | 0 | data1 = closure->data; |
1191 | 0 | data2 = instance; |
1192 | 0 | } |
1193 | 0 | else |
1194 | 0 | { |
1195 | 0 | data1 = instance; |
1196 | 0 | data2 = closure->data; |
1197 | 0 | } |
1198 | 0 | callback = (GMarshalFunc_VOID__INT) (marshal_data ? marshal_data : cc->callback); |
1199 | 0 |
|
1200 | 0 | callback (data1, |
1201 | 0 | arg0, |
1202 | 0 | data2); |
1203 | 0 | } |
1204 | | |
1205 | | |
1206 | | /* VOID:UINT (./gmarshal.list:11) */ |
1207 | | void |
1208 | | g_cclosure_marshal_VOID__UINT (GClosure *closure, |
1209 | | GValue *return_value G_GNUC_UNUSED, |
1210 | | guint n_param_values, |
1211 | | const GValue *param_values, |
1212 | | gpointer invocation_hint G_GNUC_UNUSED, |
1213 | | gpointer marshal_data) |
1214 | 0 | { |
1215 | 0 | typedef void (*GMarshalFunc_VOID__UINT) (gpointer data1, |
1216 | 0 | guint arg_1, |
1217 | 0 | gpointer data2); |
1218 | 0 | GMarshalFunc_VOID__UINT callback; |
1219 | 0 | GCClosure *cc = (GCClosure*) closure; |
1220 | 0 | gpointer data1, data2; |
1221 | 0 |
|
1222 | 0 | g_return_if_fail (n_param_values == 2); |
1223 | 0 |
|
1224 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1225 | 0 | { |
1226 | 0 | data1 = closure->data; |
1227 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1228 | 0 | } |
1229 | 0 | else |
1230 | 0 | { |
1231 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1232 | 0 | data2 = closure->data; |
1233 | 0 | } |
1234 | 0 | callback = (GMarshalFunc_VOID__UINT) (marshal_data ? marshal_data : cc->callback); |
1235 | 0 |
|
1236 | 0 | callback (data1, |
1237 | 0 | g_marshal_value_peek_uint (param_values + 1), |
1238 | 0 | data2); |
1239 | 0 | } |
1240 | | void |
1241 | | g_cclosure_marshal_VOID__UINTv (GClosure *closure, |
1242 | | GValue *return_value, |
1243 | | gpointer instance, |
1244 | | va_list args, |
1245 | | gpointer marshal_data, |
1246 | | int n_params, |
1247 | | GType *param_types) |
1248 | 0 | { |
1249 | 0 | typedef void (*GMarshalFunc_VOID__UINT) (gpointer instance, |
1250 | 0 | guint arg_0, |
1251 | 0 | gpointer data); |
1252 | 0 | GCClosure *cc = (GCClosure*) closure; |
1253 | 0 | gpointer data1, data2; |
1254 | 0 | GMarshalFunc_VOID__UINT callback; |
1255 | 0 | guint arg0; |
1256 | 0 | va_list args_copy; |
1257 | 0 |
|
1258 | 0 | G_VA_COPY (args_copy, args); |
1259 | 0 | arg0 = (guint) va_arg (args_copy, guint); |
1260 | 0 | va_end (args_copy); |
1261 | 0 |
|
1262 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1263 | 0 | { |
1264 | 0 | data1 = closure->data; |
1265 | 0 | data2 = instance; |
1266 | 0 | } |
1267 | 0 | else |
1268 | 0 | { |
1269 | 0 | data1 = instance; |
1270 | 0 | data2 = closure->data; |
1271 | 0 | } |
1272 | 0 | callback = (GMarshalFunc_VOID__UINT) (marshal_data ? marshal_data : cc->callback); |
1273 | 0 |
|
1274 | 0 | callback (data1, |
1275 | 0 | arg0, |
1276 | 0 | data2); |
1277 | 0 | } |
1278 | | |
1279 | | |
1280 | | /* VOID:LONG (./gmarshal.list:12) */ |
1281 | | void |
1282 | | g_cclosure_marshal_VOID__LONG (GClosure *closure, |
1283 | | GValue *return_value G_GNUC_UNUSED, |
1284 | | guint n_param_values, |
1285 | | const GValue *param_values, |
1286 | | gpointer invocation_hint G_GNUC_UNUSED, |
1287 | | gpointer marshal_data) |
1288 | 0 | { |
1289 | 0 | typedef void (*GMarshalFunc_VOID__LONG) (gpointer data1, |
1290 | 0 | glong arg_1, |
1291 | 0 | gpointer data2); |
1292 | 0 | GMarshalFunc_VOID__LONG callback; |
1293 | 0 | GCClosure *cc = (GCClosure*) closure; |
1294 | 0 | gpointer data1, data2; |
1295 | 0 |
|
1296 | 0 | g_return_if_fail (n_param_values == 2); |
1297 | 0 |
|
1298 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1299 | 0 | { |
1300 | 0 | data1 = closure->data; |
1301 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1302 | 0 | } |
1303 | 0 | else |
1304 | 0 | { |
1305 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1306 | 0 | data2 = closure->data; |
1307 | 0 | } |
1308 | 0 | callback = (GMarshalFunc_VOID__LONG) (marshal_data ? marshal_data : cc->callback); |
1309 | 0 |
|
1310 | 0 | callback (data1, |
1311 | 0 | g_marshal_value_peek_long (param_values + 1), |
1312 | 0 | data2); |
1313 | 0 | } |
1314 | | void |
1315 | | g_cclosure_marshal_VOID__LONGv (GClosure *closure, |
1316 | | GValue *return_value, |
1317 | | gpointer instance, |
1318 | | va_list args, |
1319 | | gpointer marshal_data, |
1320 | | int n_params, |
1321 | | GType *param_types) |
1322 | 0 | { |
1323 | 0 | typedef void (*GMarshalFunc_VOID__LONG) (gpointer instance, |
1324 | 0 | glong arg_0, |
1325 | 0 | gpointer data); |
1326 | 0 | GCClosure *cc = (GCClosure*) closure; |
1327 | 0 | gpointer data1, data2; |
1328 | 0 | GMarshalFunc_VOID__LONG callback; |
1329 | 0 | glong arg0; |
1330 | 0 | va_list args_copy; |
1331 | 0 |
|
1332 | 0 | G_VA_COPY (args_copy, args); |
1333 | 0 | arg0 = (glong) va_arg (args_copy, glong); |
1334 | 0 | va_end (args_copy); |
1335 | 0 |
|
1336 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1337 | 0 | { |
1338 | 0 | data1 = closure->data; |
1339 | 0 | data2 = instance; |
1340 | 0 | } |
1341 | 0 | else |
1342 | 0 | { |
1343 | 0 | data1 = instance; |
1344 | 0 | data2 = closure->data; |
1345 | 0 | } |
1346 | 0 | callback = (GMarshalFunc_VOID__LONG) (marshal_data ? marshal_data : cc->callback); |
1347 | 0 |
|
1348 | 0 | callback (data1, |
1349 | 0 | arg0, |
1350 | 0 | data2); |
1351 | 0 | } |
1352 | | |
1353 | | |
1354 | | /* VOID:ULONG (./gmarshal.list:13) */ |
1355 | | void |
1356 | | g_cclosure_marshal_VOID__ULONG (GClosure *closure, |
1357 | | GValue *return_value G_GNUC_UNUSED, |
1358 | | guint n_param_values, |
1359 | | const GValue *param_values, |
1360 | | gpointer invocation_hint G_GNUC_UNUSED, |
1361 | | gpointer marshal_data) |
1362 | 0 | { |
1363 | 0 | typedef void (*GMarshalFunc_VOID__ULONG) (gpointer data1, |
1364 | 0 | gulong arg_1, |
1365 | 0 | gpointer data2); |
1366 | 0 | GMarshalFunc_VOID__ULONG callback; |
1367 | 0 | GCClosure *cc = (GCClosure*) closure; |
1368 | 0 | gpointer data1, data2; |
1369 | 0 |
|
1370 | 0 | g_return_if_fail (n_param_values == 2); |
1371 | 0 |
|
1372 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1373 | 0 | { |
1374 | 0 | data1 = closure->data; |
1375 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1376 | 0 | } |
1377 | 0 | else |
1378 | 0 | { |
1379 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1380 | 0 | data2 = closure->data; |
1381 | 0 | } |
1382 | 0 | callback = (GMarshalFunc_VOID__ULONG) (marshal_data ? marshal_data : cc->callback); |
1383 | 0 |
|
1384 | 0 | callback (data1, |
1385 | 0 | g_marshal_value_peek_ulong (param_values + 1), |
1386 | 0 | data2); |
1387 | 0 | } |
1388 | | void |
1389 | | g_cclosure_marshal_VOID__ULONGv (GClosure *closure, |
1390 | | GValue *return_value, |
1391 | | gpointer instance, |
1392 | | va_list args, |
1393 | | gpointer marshal_data, |
1394 | | int n_params, |
1395 | | GType *param_types) |
1396 | 0 | { |
1397 | 0 | typedef void (*GMarshalFunc_VOID__ULONG) (gpointer instance, |
1398 | 0 | gulong arg_0, |
1399 | 0 | gpointer data); |
1400 | 0 | GCClosure *cc = (GCClosure*) closure; |
1401 | 0 | gpointer data1, data2; |
1402 | 0 | GMarshalFunc_VOID__ULONG callback; |
1403 | 0 | gulong arg0; |
1404 | 0 | va_list args_copy; |
1405 | 0 |
|
1406 | 0 | G_VA_COPY (args_copy, args); |
1407 | 0 | arg0 = (gulong) va_arg (args_copy, gulong); |
1408 | 0 | va_end (args_copy); |
1409 | 0 |
|
1410 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1411 | 0 | { |
1412 | 0 | data1 = closure->data; |
1413 | 0 | data2 = instance; |
1414 | 0 | } |
1415 | 0 | else |
1416 | 0 | { |
1417 | 0 | data1 = instance; |
1418 | 0 | data2 = closure->data; |
1419 | 0 | } |
1420 | 0 | callback = (GMarshalFunc_VOID__ULONG) (marshal_data ? marshal_data : cc->callback); |
1421 | 0 |
|
1422 | 0 | callback (data1, |
1423 | 0 | arg0, |
1424 | 0 | data2); |
1425 | 0 | } |
1426 | | |
1427 | | |
1428 | | /* VOID:ENUM (./gmarshal.list:14) */ |
1429 | | void |
1430 | | g_cclosure_marshal_VOID__ENUM (GClosure *closure, |
1431 | | GValue *return_value G_GNUC_UNUSED, |
1432 | | guint n_param_values, |
1433 | | const GValue *param_values, |
1434 | | gpointer invocation_hint G_GNUC_UNUSED, |
1435 | | gpointer marshal_data) |
1436 | 0 | { |
1437 | 0 | typedef void (*GMarshalFunc_VOID__ENUM) (gpointer data1, |
1438 | 0 | gint arg_1, |
1439 | 0 | gpointer data2); |
1440 | 0 | GMarshalFunc_VOID__ENUM callback; |
1441 | 0 | GCClosure *cc = (GCClosure*) closure; |
1442 | 0 | gpointer data1, data2; |
1443 | 0 |
|
1444 | 0 | g_return_if_fail (n_param_values == 2); |
1445 | 0 |
|
1446 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1447 | 0 | { |
1448 | 0 | data1 = closure->data; |
1449 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1450 | 0 | } |
1451 | 0 | else |
1452 | 0 | { |
1453 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1454 | 0 | data2 = closure->data; |
1455 | 0 | } |
1456 | 0 | callback = (GMarshalFunc_VOID__ENUM) (marshal_data ? marshal_data : cc->callback); |
1457 | 0 |
|
1458 | 0 | callback (data1, |
1459 | 0 | g_marshal_value_peek_enum (param_values + 1), |
1460 | 0 | data2); |
1461 | 0 | } |
1462 | | void |
1463 | | g_cclosure_marshal_VOID__ENUMv (GClosure *closure, |
1464 | | GValue *return_value, |
1465 | | gpointer instance, |
1466 | | va_list args, |
1467 | | gpointer marshal_data, |
1468 | | int n_params, |
1469 | | GType *param_types) |
1470 | 0 | { |
1471 | 0 | typedef void (*GMarshalFunc_VOID__ENUM) (gpointer instance, |
1472 | 0 | gint arg_0, |
1473 | 0 | gpointer data); |
1474 | 0 | GCClosure *cc = (GCClosure*) closure; |
1475 | 0 | gpointer data1, data2; |
1476 | 0 | GMarshalFunc_VOID__ENUM callback; |
1477 | 0 | gint arg0; |
1478 | 0 | va_list args_copy; |
1479 | 0 |
|
1480 | 0 | G_VA_COPY (args_copy, args); |
1481 | 0 | arg0 = (gint) va_arg (args_copy, gint); |
1482 | 0 | va_end (args_copy); |
1483 | 0 |
|
1484 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1485 | 0 | { |
1486 | 0 | data1 = closure->data; |
1487 | 0 | data2 = instance; |
1488 | 0 | } |
1489 | 0 | else |
1490 | 0 | { |
1491 | 0 | data1 = instance; |
1492 | 0 | data2 = closure->data; |
1493 | 0 | } |
1494 | 0 | callback = (GMarshalFunc_VOID__ENUM) (marshal_data ? marshal_data : cc->callback); |
1495 | 0 |
|
1496 | 0 | callback (data1, |
1497 | 0 | arg0, |
1498 | 0 | data2); |
1499 | 0 | } |
1500 | | |
1501 | | |
1502 | | /* VOID:FLAGS (./gmarshal.list:15) */ |
1503 | | void |
1504 | | g_cclosure_marshal_VOID__FLAGS (GClosure *closure, |
1505 | | GValue *return_value G_GNUC_UNUSED, |
1506 | | guint n_param_values, |
1507 | | const GValue *param_values, |
1508 | | gpointer invocation_hint G_GNUC_UNUSED, |
1509 | | gpointer marshal_data) |
1510 | 0 | { |
1511 | 0 | typedef void (*GMarshalFunc_VOID__FLAGS) (gpointer data1, |
1512 | 0 | guint arg_1, |
1513 | 0 | gpointer data2); |
1514 | 0 | GMarshalFunc_VOID__FLAGS callback; |
1515 | 0 | GCClosure *cc = (GCClosure*) closure; |
1516 | 0 | gpointer data1, data2; |
1517 | 0 |
|
1518 | 0 | g_return_if_fail (n_param_values == 2); |
1519 | 0 |
|
1520 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1521 | 0 | { |
1522 | 0 | data1 = closure->data; |
1523 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1524 | 0 | } |
1525 | 0 | else |
1526 | 0 | { |
1527 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1528 | 0 | data2 = closure->data; |
1529 | 0 | } |
1530 | 0 | callback = (GMarshalFunc_VOID__FLAGS) (marshal_data ? marshal_data : cc->callback); |
1531 | 0 |
|
1532 | 0 | callback (data1, |
1533 | 0 | g_marshal_value_peek_flags (param_values + 1), |
1534 | 0 | data2); |
1535 | 0 | } |
1536 | | void |
1537 | | g_cclosure_marshal_VOID__FLAGSv (GClosure *closure, |
1538 | | GValue *return_value, |
1539 | | gpointer instance, |
1540 | | va_list args, |
1541 | | gpointer marshal_data, |
1542 | | int n_params, |
1543 | | GType *param_types) |
1544 | 0 | { |
1545 | 0 | typedef void (*GMarshalFunc_VOID__FLAGS) (gpointer instance, |
1546 | 0 | guint arg_0, |
1547 | 0 | gpointer data); |
1548 | 0 | GCClosure *cc = (GCClosure*) closure; |
1549 | 0 | gpointer data1, data2; |
1550 | 0 | GMarshalFunc_VOID__FLAGS callback; |
1551 | 0 | guint arg0; |
1552 | 0 | va_list args_copy; |
1553 | 0 |
|
1554 | 0 | G_VA_COPY (args_copy, args); |
1555 | 0 | arg0 = (guint) va_arg (args_copy, guint); |
1556 | 0 | va_end (args_copy); |
1557 | 0 |
|
1558 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1559 | 0 | { |
1560 | 0 | data1 = closure->data; |
1561 | 0 | data2 = instance; |
1562 | 0 | } |
1563 | 0 | else |
1564 | 0 | { |
1565 | 0 | data1 = instance; |
1566 | 0 | data2 = closure->data; |
1567 | 0 | } |
1568 | 0 | callback = (GMarshalFunc_VOID__FLAGS) (marshal_data ? marshal_data : cc->callback); |
1569 | 0 |
|
1570 | 0 | callback (data1, |
1571 | 0 | arg0, |
1572 | 0 | data2); |
1573 | 0 | } |
1574 | | |
1575 | | |
1576 | | /* VOID:FLOAT (./gmarshal.list:16) */ |
1577 | | void |
1578 | | g_cclosure_marshal_VOID__FLOAT (GClosure *closure, |
1579 | | GValue *return_value G_GNUC_UNUSED, |
1580 | | guint n_param_values, |
1581 | | const GValue *param_values, |
1582 | | gpointer invocation_hint G_GNUC_UNUSED, |
1583 | | gpointer marshal_data) |
1584 | 0 | { |
1585 | 0 | typedef void (*GMarshalFunc_VOID__FLOAT) (gpointer data1, |
1586 | 0 | gfloat arg_1, |
1587 | 0 | gpointer data2); |
1588 | 0 | GMarshalFunc_VOID__FLOAT callback; |
1589 | 0 | GCClosure *cc = (GCClosure*) closure; |
1590 | 0 | gpointer data1, data2; |
1591 | 0 |
|
1592 | 0 | g_return_if_fail (n_param_values == 2); |
1593 | 0 |
|
1594 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1595 | 0 | { |
1596 | 0 | data1 = closure->data; |
1597 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1598 | 0 | } |
1599 | 0 | else |
1600 | 0 | { |
1601 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1602 | 0 | data2 = closure->data; |
1603 | 0 | } |
1604 | 0 | callback = (GMarshalFunc_VOID__FLOAT) (marshal_data ? marshal_data : cc->callback); |
1605 | 0 |
|
1606 | 0 | callback (data1, |
1607 | 0 | g_marshal_value_peek_float (param_values + 1), |
1608 | 0 | data2); |
1609 | 0 | } |
1610 | | void |
1611 | | g_cclosure_marshal_VOID__FLOATv (GClosure *closure, |
1612 | | GValue *return_value, |
1613 | | gpointer instance, |
1614 | | va_list args, |
1615 | | gpointer marshal_data, |
1616 | | int n_params, |
1617 | | GType *param_types) |
1618 | 0 | { |
1619 | 0 | typedef void (*GMarshalFunc_VOID__FLOAT) (gpointer instance, |
1620 | 0 | gfloat arg_0, |
1621 | 0 | gpointer data); |
1622 | 0 | GCClosure *cc = (GCClosure*) closure; |
1623 | 0 | gpointer data1, data2; |
1624 | 0 | GMarshalFunc_VOID__FLOAT callback; |
1625 | 0 | gfloat arg0; |
1626 | 0 | va_list args_copy; |
1627 | 0 |
|
1628 | 0 | G_VA_COPY (args_copy, args); |
1629 | 0 | arg0 = (gfloat) va_arg (args_copy, gdouble); |
1630 | 0 | va_end (args_copy); |
1631 | 0 |
|
1632 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1633 | 0 | { |
1634 | 0 | data1 = closure->data; |
1635 | 0 | data2 = instance; |
1636 | 0 | } |
1637 | 0 | else |
1638 | 0 | { |
1639 | 0 | data1 = instance; |
1640 | 0 | data2 = closure->data; |
1641 | 0 | } |
1642 | 0 | callback = (GMarshalFunc_VOID__FLOAT) (marshal_data ? marshal_data : cc->callback); |
1643 | 0 |
|
1644 | 0 | callback (data1, |
1645 | 0 | arg0, |
1646 | 0 | data2); |
1647 | 0 | } |
1648 | | |
1649 | | |
1650 | | /* VOID:DOUBLE (./gmarshal.list:17) */ |
1651 | | void |
1652 | | g_cclosure_marshal_VOID__DOUBLE (GClosure *closure, |
1653 | | GValue *return_value G_GNUC_UNUSED, |
1654 | | guint n_param_values, |
1655 | | const GValue *param_values, |
1656 | | gpointer invocation_hint G_GNUC_UNUSED, |
1657 | | gpointer marshal_data) |
1658 | 0 | { |
1659 | 0 | typedef void (*GMarshalFunc_VOID__DOUBLE) (gpointer data1, |
1660 | 0 | gdouble arg_1, |
1661 | 0 | gpointer data2); |
1662 | 0 | GMarshalFunc_VOID__DOUBLE callback; |
1663 | 0 | GCClosure *cc = (GCClosure*) closure; |
1664 | 0 | gpointer data1, data2; |
1665 | 0 |
|
1666 | 0 | g_return_if_fail (n_param_values == 2); |
1667 | 0 |
|
1668 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1669 | 0 | { |
1670 | 0 | data1 = closure->data; |
1671 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1672 | 0 | } |
1673 | 0 | else |
1674 | 0 | { |
1675 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1676 | 0 | data2 = closure->data; |
1677 | 0 | } |
1678 | 0 | callback = (GMarshalFunc_VOID__DOUBLE) (marshal_data ? marshal_data : cc->callback); |
1679 | 0 |
|
1680 | 0 | callback (data1, |
1681 | 0 | g_marshal_value_peek_double (param_values + 1), |
1682 | 0 | data2); |
1683 | 0 | } |
1684 | | void |
1685 | | g_cclosure_marshal_VOID__DOUBLEv (GClosure *closure, |
1686 | | GValue *return_value, |
1687 | | gpointer instance, |
1688 | | va_list args, |
1689 | | gpointer marshal_data, |
1690 | | int n_params, |
1691 | | GType *param_types) |
1692 | 0 | { |
1693 | 0 | typedef void (*GMarshalFunc_VOID__DOUBLE) (gpointer instance, |
1694 | 0 | gdouble arg_0, |
1695 | 0 | gpointer data); |
1696 | 0 | GCClosure *cc = (GCClosure*) closure; |
1697 | 0 | gpointer data1, data2; |
1698 | 0 | GMarshalFunc_VOID__DOUBLE callback; |
1699 | 0 | gdouble arg0; |
1700 | 0 | va_list args_copy; |
1701 | 0 |
|
1702 | 0 | G_VA_COPY (args_copy, args); |
1703 | 0 | arg0 = (gdouble) va_arg (args_copy, gdouble); |
1704 | 0 | va_end (args_copy); |
1705 | 0 |
|
1706 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1707 | 0 | { |
1708 | 0 | data1 = closure->data; |
1709 | 0 | data2 = instance; |
1710 | 0 | } |
1711 | 0 | else |
1712 | 0 | { |
1713 | 0 | data1 = instance; |
1714 | 0 | data2 = closure->data; |
1715 | 0 | } |
1716 | 0 | callback = (GMarshalFunc_VOID__DOUBLE) (marshal_data ? marshal_data : cc->callback); |
1717 | 0 |
|
1718 | 0 | callback (data1, |
1719 | 0 | arg0, |
1720 | 0 | data2); |
1721 | 0 | } |
1722 | | |
1723 | | |
1724 | | /* VOID:STRING (./gmarshal.list:18) */ |
1725 | | void |
1726 | | g_cclosure_marshal_VOID__STRING (GClosure *closure, |
1727 | | GValue *return_value G_GNUC_UNUSED, |
1728 | | guint n_param_values, |
1729 | | const GValue *param_values, |
1730 | | gpointer invocation_hint G_GNUC_UNUSED, |
1731 | | gpointer marshal_data) |
1732 | 0 | { |
1733 | 0 | typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, |
1734 | 0 | gpointer arg_1, |
1735 | 0 | gpointer data2); |
1736 | 0 | GMarshalFunc_VOID__STRING callback; |
1737 | 0 | GCClosure *cc = (GCClosure*) closure; |
1738 | 0 | gpointer data1, data2; |
1739 | 0 |
|
1740 | 0 | g_return_if_fail (n_param_values == 2); |
1741 | 0 |
|
1742 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1743 | 0 | { |
1744 | 0 | data1 = closure->data; |
1745 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1746 | 0 | } |
1747 | 0 | else |
1748 | 0 | { |
1749 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1750 | 0 | data2 = closure->data; |
1751 | 0 | } |
1752 | 0 | callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); |
1753 | 0 |
|
1754 | 0 | callback (data1, |
1755 | 0 | g_marshal_value_peek_string (param_values + 1), |
1756 | 0 | data2); |
1757 | 0 | } |
1758 | | void |
1759 | | g_cclosure_marshal_VOID__STRINGv (GClosure *closure, |
1760 | | GValue *return_value, |
1761 | | gpointer instance, |
1762 | | va_list args, |
1763 | | gpointer marshal_data, |
1764 | | int n_params, |
1765 | | GType *param_types) |
1766 | 0 | { |
1767 | 0 | typedef void (*GMarshalFunc_VOID__STRING) (gpointer instance, |
1768 | 0 | gpointer arg_0, |
1769 | 0 | gpointer data); |
1770 | 0 | GCClosure *cc = (GCClosure*) closure; |
1771 | 0 | gpointer data1, data2; |
1772 | 0 | GMarshalFunc_VOID__STRING callback; |
1773 | 0 | gpointer arg0; |
1774 | 0 | va_list args_copy; |
1775 | 0 |
|
1776 | 0 | G_VA_COPY (args_copy, args); |
1777 | 0 | arg0 = (gpointer) va_arg (args_copy, gpointer); |
1778 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
1779 | 0 | arg0 = g_strdup (arg0); |
1780 | 0 | va_end (args_copy); |
1781 | 0 |
|
1782 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1783 | 0 | { |
1784 | 0 | data1 = closure->data; |
1785 | 0 | data2 = instance; |
1786 | 0 | } |
1787 | 0 | else |
1788 | 0 | { |
1789 | 0 | data1 = instance; |
1790 | 0 | data2 = closure->data; |
1791 | 0 | } |
1792 | 0 | callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); |
1793 | 0 |
|
1794 | 0 | callback (data1, |
1795 | 0 | arg0, |
1796 | 0 | data2); |
1797 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
1798 | 0 | g_free (arg0); |
1799 | 0 | } |
1800 | | |
1801 | | |
1802 | | /* VOID:PARAM (./gmarshal.list:19) */ |
1803 | | void |
1804 | | g_cclosure_marshal_VOID__PARAM (GClosure *closure, |
1805 | | GValue *return_value G_GNUC_UNUSED, |
1806 | | guint n_param_values, |
1807 | | const GValue *param_values, |
1808 | | gpointer invocation_hint G_GNUC_UNUSED, |
1809 | | gpointer marshal_data) |
1810 | 0 | { |
1811 | 0 | typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, |
1812 | 0 | gpointer arg_1, |
1813 | 0 | gpointer data2); |
1814 | 0 | GMarshalFunc_VOID__PARAM callback; |
1815 | 0 | GCClosure *cc = (GCClosure*) closure; |
1816 | 0 | gpointer data1, data2; |
1817 | 0 |
|
1818 | 0 | g_return_if_fail (n_param_values == 2); |
1819 | 0 |
|
1820 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1821 | 0 | { |
1822 | 0 | data1 = closure->data; |
1823 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1824 | 0 | } |
1825 | 0 | else |
1826 | 0 | { |
1827 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1828 | 0 | data2 = closure->data; |
1829 | 0 | } |
1830 | 0 | callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); |
1831 | 0 |
|
1832 | 0 | callback (data1, |
1833 | 0 | g_marshal_value_peek_param (param_values + 1), |
1834 | 0 | data2); |
1835 | 0 | } |
1836 | | void |
1837 | | g_cclosure_marshal_VOID__PARAMv (GClosure *closure, |
1838 | | GValue *return_value, |
1839 | | gpointer instance, |
1840 | | va_list args, |
1841 | | gpointer marshal_data, |
1842 | | int n_params, |
1843 | | GType *param_types) |
1844 | 0 | { |
1845 | 0 | typedef void (*GMarshalFunc_VOID__PARAM) (gpointer instance, |
1846 | 0 | gpointer arg_0, |
1847 | 0 | gpointer data); |
1848 | 0 | GCClosure *cc = (GCClosure*) closure; |
1849 | 0 | gpointer data1, data2; |
1850 | 0 | GMarshalFunc_VOID__PARAM callback; |
1851 | 0 | gpointer arg0; |
1852 | 0 | va_list args_copy; |
1853 | 0 |
|
1854 | 0 | G_VA_COPY (args_copy, args); |
1855 | 0 | arg0 = (gpointer) va_arg (args_copy, gpointer); |
1856 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
1857 | 0 | arg0 = g_param_spec_ref (arg0); |
1858 | 0 | va_end (args_copy); |
1859 | 0 |
|
1860 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1861 | 0 | { |
1862 | 0 | data1 = closure->data; |
1863 | 0 | data2 = instance; |
1864 | 0 | } |
1865 | 0 | else |
1866 | 0 | { |
1867 | 0 | data1 = instance; |
1868 | 0 | data2 = closure->data; |
1869 | 0 | } |
1870 | 0 | callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); |
1871 | 0 |
|
1872 | 0 | callback (data1, |
1873 | 0 | arg0, |
1874 | 0 | data2); |
1875 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
1876 | 0 | g_param_spec_unref (arg0); |
1877 | 0 | } |
1878 | | |
1879 | | |
1880 | | /* VOID:BOXED (./gmarshal.list:20) */ |
1881 | | void |
1882 | | g_cclosure_marshal_VOID__BOXED (GClosure *closure, |
1883 | | GValue *return_value G_GNUC_UNUSED, |
1884 | | guint n_param_values, |
1885 | | const GValue *param_values, |
1886 | | gpointer invocation_hint G_GNUC_UNUSED, |
1887 | | gpointer marshal_data) |
1888 | 0 | { |
1889 | 0 | typedef void (*GMarshalFunc_VOID__BOXED) (gpointer data1, |
1890 | 0 | gpointer arg_1, |
1891 | 0 | gpointer data2); |
1892 | 0 | GMarshalFunc_VOID__BOXED callback; |
1893 | 0 | GCClosure *cc = (GCClosure*) closure; |
1894 | 0 | gpointer data1, data2; |
1895 | 0 |
|
1896 | 0 | g_return_if_fail (n_param_values == 2); |
1897 | 0 |
|
1898 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1899 | 0 | { |
1900 | 0 | data1 = closure->data; |
1901 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1902 | 0 | } |
1903 | 0 | else |
1904 | 0 | { |
1905 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1906 | 0 | data2 = closure->data; |
1907 | 0 | } |
1908 | 0 | callback = (GMarshalFunc_VOID__BOXED) (marshal_data ? marshal_data : cc->callback); |
1909 | 0 |
|
1910 | 0 | callback (data1, |
1911 | 0 | g_marshal_value_peek_boxed (param_values + 1), |
1912 | 0 | data2); |
1913 | 0 | } |
1914 | | void |
1915 | | g_cclosure_marshal_VOID__BOXEDv (GClosure *closure, |
1916 | | GValue *return_value, |
1917 | | gpointer instance, |
1918 | | va_list args, |
1919 | | gpointer marshal_data, |
1920 | | int n_params, |
1921 | | GType *param_types) |
1922 | 0 | { |
1923 | 0 | typedef void (*GMarshalFunc_VOID__BOXED) (gpointer instance, |
1924 | 0 | gpointer arg_0, |
1925 | 0 | gpointer data); |
1926 | 0 | GCClosure *cc = (GCClosure*) closure; |
1927 | 0 | gpointer data1, data2; |
1928 | 0 | GMarshalFunc_VOID__BOXED callback; |
1929 | 0 | gpointer arg0; |
1930 | 0 | va_list args_copy; |
1931 | 0 |
|
1932 | 0 | G_VA_COPY (args_copy, args); |
1933 | 0 | arg0 = (gpointer) va_arg (args_copy, gpointer); |
1934 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
1935 | 0 | arg0 = g_boxed_copy (param_types[0] & ~G_SIGNAL_TYPE_STATIC_SCOPE, arg0); |
1936 | 0 | va_end (args_copy); |
1937 | 0 |
|
1938 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1939 | 0 | { |
1940 | 0 | data1 = closure->data; |
1941 | 0 | data2 = instance; |
1942 | 0 | } |
1943 | 0 | else |
1944 | 0 | { |
1945 | 0 | data1 = instance; |
1946 | 0 | data2 = closure->data; |
1947 | 0 | } |
1948 | 0 | callback = (GMarshalFunc_VOID__BOXED) (marshal_data ? marshal_data : cc->callback); |
1949 | 0 |
|
1950 | 0 | callback (data1, |
1951 | 0 | arg0, |
1952 | 0 | data2); |
1953 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
1954 | 0 | g_boxed_free (param_types[0] & ~G_SIGNAL_TYPE_STATIC_SCOPE, arg0); |
1955 | 0 | } |
1956 | | |
1957 | | |
1958 | | /* VOID:POINTER (./gmarshal.list:21) */ |
1959 | | void |
1960 | | g_cclosure_marshal_VOID__POINTER (GClosure *closure, |
1961 | | GValue *return_value G_GNUC_UNUSED, |
1962 | | guint n_param_values, |
1963 | | const GValue *param_values, |
1964 | | gpointer invocation_hint G_GNUC_UNUSED, |
1965 | | gpointer marshal_data) |
1966 | 0 | { |
1967 | 0 | typedef void (*GMarshalFunc_VOID__POINTER) (gpointer data1, |
1968 | 0 | gpointer arg_1, |
1969 | 0 | gpointer data2); |
1970 | 0 | GMarshalFunc_VOID__POINTER callback; |
1971 | 0 | GCClosure *cc = (GCClosure*) closure; |
1972 | 0 | gpointer data1, data2; |
1973 | 0 |
|
1974 | 0 | g_return_if_fail (n_param_values == 2); |
1975 | 0 |
|
1976 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
1977 | 0 | { |
1978 | 0 | data1 = closure->data; |
1979 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
1980 | 0 | } |
1981 | 0 | else |
1982 | 0 | { |
1983 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
1984 | 0 | data2 = closure->data; |
1985 | 0 | } |
1986 | 0 | callback = (GMarshalFunc_VOID__POINTER) (marshal_data ? marshal_data : cc->callback); |
1987 | 0 |
|
1988 | 0 | callback (data1, |
1989 | 0 | g_marshal_value_peek_pointer (param_values + 1), |
1990 | 0 | data2); |
1991 | 0 | } |
1992 | | void |
1993 | | g_cclosure_marshal_VOID__POINTERv (GClosure *closure, |
1994 | | GValue *return_value, |
1995 | | gpointer instance, |
1996 | | va_list args, |
1997 | | gpointer marshal_data, |
1998 | | int n_params, |
1999 | | GType *param_types) |
2000 | 0 | { |
2001 | 0 | typedef void (*GMarshalFunc_VOID__POINTER) (gpointer instance, |
2002 | 0 | gpointer arg_0, |
2003 | 0 | gpointer data); |
2004 | 0 | GCClosure *cc = (GCClosure*) closure; |
2005 | 0 | gpointer data1, data2; |
2006 | 0 | GMarshalFunc_VOID__POINTER callback; |
2007 | 0 | gpointer arg0; |
2008 | 0 | va_list args_copy; |
2009 | 0 |
|
2010 | 0 | G_VA_COPY (args_copy, args); |
2011 | 0 | arg0 = (gpointer) va_arg (args_copy, gpointer); |
2012 | 0 | va_end (args_copy); |
2013 | 0 |
|
2014 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2015 | 0 | { |
2016 | 0 | data1 = closure->data; |
2017 | 0 | data2 = instance; |
2018 | 0 | } |
2019 | 0 | else |
2020 | 0 | { |
2021 | 0 | data1 = instance; |
2022 | 0 | data2 = closure->data; |
2023 | 0 | } |
2024 | 0 | callback = (GMarshalFunc_VOID__POINTER) (marshal_data ? marshal_data : cc->callback); |
2025 | 0 |
|
2026 | 0 | callback (data1, |
2027 | 0 | arg0, |
2028 | 0 | data2); |
2029 | 0 | } |
2030 | | |
2031 | | |
2032 | | /* VOID:OBJECT (./gmarshal.list:22) */ |
2033 | | void |
2034 | | g_cclosure_marshal_VOID__OBJECT (GClosure *closure, |
2035 | | GValue *return_value G_GNUC_UNUSED, |
2036 | | guint n_param_values, |
2037 | | const GValue *param_values, |
2038 | | gpointer invocation_hint G_GNUC_UNUSED, |
2039 | | gpointer marshal_data) |
2040 | 0 | { |
2041 | 0 | typedef void (*GMarshalFunc_VOID__OBJECT) (gpointer data1, |
2042 | 0 | gpointer arg_1, |
2043 | 0 | gpointer data2); |
2044 | 0 | GMarshalFunc_VOID__OBJECT callback; |
2045 | 0 | GCClosure *cc = (GCClosure*) closure; |
2046 | 0 | gpointer data1, data2; |
2047 | 0 |
|
2048 | 0 | g_return_if_fail (n_param_values == 2); |
2049 | 0 |
|
2050 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2051 | 0 | { |
2052 | 0 | data1 = closure->data; |
2053 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
2054 | 0 | } |
2055 | 0 | else |
2056 | 0 | { |
2057 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
2058 | 0 | data2 = closure->data; |
2059 | 0 | } |
2060 | 0 | callback = (GMarshalFunc_VOID__OBJECT) (marshal_data ? marshal_data : cc->callback); |
2061 | 0 |
|
2062 | 0 | callback (data1, |
2063 | 0 | g_marshal_value_peek_object (param_values + 1), |
2064 | 0 | data2); |
2065 | 0 | } |
2066 | | void |
2067 | | g_cclosure_marshal_VOID__OBJECTv (GClosure *closure, |
2068 | | GValue *return_value, |
2069 | | gpointer instance, |
2070 | | va_list args, |
2071 | | gpointer marshal_data, |
2072 | | int n_params, |
2073 | | GType *param_types) |
2074 | 0 | { |
2075 | 0 | typedef void (*GMarshalFunc_VOID__OBJECT) (gpointer instance, |
2076 | 0 | gpointer arg_0, |
2077 | 0 | gpointer data); |
2078 | 0 | GCClosure *cc = (GCClosure*) closure; |
2079 | 0 | gpointer data1, data2; |
2080 | 0 | GMarshalFunc_VOID__OBJECT callback; |
2081 | 0 | gpointer arg0; |
2082 | 0 | va_list args_copy; |
2083 | 0 |
|
2084 | 0 | G_VA_COPY (args_copy, args); |
2085 | 0 | arg0 = (gpointer) va_arg (args_copy, gpointer); |
2086 | 0 | if (arg0 != NULL) |
2087 | 0 | arg0 = g_object_ref (arg0); |
2088 | 0 | va_end (args_copy); |
2089 | 0 |
|
2090 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2091 | 0 | { |
2092 | 0 | data1 = closure->data; |
2093 | 0 | data2 = instance; |
2094 | 0 | } |
2095 | 0 | else |
2096 | 0 | { |
2097 | 0 | data1 = instance; |
2098 | 0 | data2 = closure->data; |
2099 | 0 | } |
2100 | 0 | callback = (GMarshalFunc_VOID__OBJECT) (marshal_data ? marshal_data : cc->callback); |
2101 | 0 |
|
2102 | 0 | callback (data1, |
2103 | 0 | arg0, |
2104 | 0 | data2); |
2105 | 0 | if (arg0 != NULL) |
2106 | 0 | g_object_unref (arg0); |
2107 | 0 | } |
2108 | | |
2109 | | |
2110 | | /* VOID:VARIANT (./gmarshal.list:23) */ |
2111 | | void |
2112 | | g_cclosure_marshal_VOID__VARIANT (GClosure *closure, |
2113 | | GValue *return_value G_GNUC_UNUSED, |
2114 | | guint n_param_values, |
2115 | | const GValue *param_values, |
2116 | | gpointer invocation_hint G_GNUC_UNUSED, |
2117 | | gpointer marshal_data) |
2118 | 0 | { |
2119 | 0 | typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, |
2120 | 0 | gpointer arg_1, |
2121 | 0 | gpointer data2); |
2122 | 0 | GMarshalFunc_VOID__VARIANT callback; |
2123 | 0 | GCClosure *cc = (GCClosure*) closure; |
2124 | 0 | gpointer data1, data2; |
2125 | 0 |
|
2126 | 0 | g_return_if_fail (n_param_values == 2); |
2127 | 0 |
|
2128 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2129 | 0 | { |
2130 | 0 | data1 = closure->data; |
2131 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
2132 | 0 | } |
2133 | 0 | else |
2134 | 0 | { |
2135 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
2136 | 0 | data2 = closure->data; |
2137 | 0 | } |
2138 | 0 | callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); |
2139 | 0 |
|
2140 | 0 | callback (data1, |
2141 | 0 | g_marshal_value_peek_variant (param_values + 1), |
2142 | 0 | data2); |
2143 | 0 | } |
2144 | | void |
2145 | | g_cclosure_marshal_VOID__VARIANTv (GClosure *closure, |
2146 | | GValue *return_value, |
2147 | | gpointer instance, |
2148 | | va_list args, |
2149 | | gpointer marshal_data, |
2150 | | int n_params, |
2151 | | GType *param_types) |
2152 | 0 | { |
2153 | 0 | typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer instance, |
2154 | 0 | gpointer arg_0, |
2155 | 0 | gpointer data); |
2156 | 0 | GCClosure *cc = (GCClosure*) closure; |
2157 | 0 | gpointer data1, data2; |
2158 | 0 | GMarshalFunc_VOID__VARIANT callback; |
2159 | 0 | gpointer arg0; |
2160 | 0 | va_list args_copy; |
2161 | 0 |
|
2162 | 0 | G_VA_COPY (args_copy, args); |
2163 | 0 | arg0 = (gpointer) va_arg (args_copy, gpointer); |
2164 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
2165 | 0 | arg0 = g_variant_ref_sink (arg0); |
2166 | 0 | va_end (args_copy); |
2167 | 0 |
|
2168 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2169 | 0 | { |
2170 | 0 | data1 = closure->data; |
2171 | 0 | data2 = instance; |
2172 | 0 | } |
2173 | 0 | else |
2174 | 0 | { |
2175 | 0 | data1 = instance; |
2176 | 0 | data2 = closure->data; |
2177 | 0 | } |
2178 | 0 | callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); |
2179 | 0 |
|
2180 | 0 | callback (data1, |
2181 | 0 | arg0, |
2182 | 0 | data2); |
2183 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
2184 | 0 | g_variant_unref (arg0); |
2185 | 0 | } |
2186 | | |
2187 | | |
2188 | | /* VOID:UINT,POINTER (./gmarshal.list:26) */ |
2189 | | void |
2190 | | g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure, |
2191 | | GValue *return_value G_GNUC_UNUSED, |
2192 | | guint n_param_values, |
2193 | | const GValue *param_values, |
2194 | | gpointer invocation_hint G_GNUC_UNUSED, |
2195 | | gpointer marshal_data) |
2196 | 0 | { |
2197 | 0 | typedef void (*GMarshalFunc_VOID__UINT_POINTER) (gpointer data1, |
2198 | 0 | guint arg_1, |
2199 | 0 | gpointer arg_2, |
2200 | 0 | gpointer data2); |
2201 | 0 | GMarshalFunc_VOID__UINT_POINTER callback; |
2202 | 0 | GCClosure *cc = (GCClosure*) closure; |
2203 | 0 | gpointer data1, data2; |
2204 | 0 |
|
2205 | 0 | g_return_if_fail (n_param_values == 3); |
2206 | 0 |
|
2207 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2208 | 0 | { |
2209 | 0 | data1 = closure->data; |
2210 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
2211 | 0 | } |
2212 | 0 | else |
2213 | 0 | { |
2214 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
2215 | 0 | data2 = closure->data; |
2216 | 0 | } |
2217 | 0 | callback = (GMarshalFunc_VOID__UINT_POINTER) (marshal_data ? marshal_data : cc->callback); |
2218 | 0 |
|
2219 | 0 | callback (data1, |
2220 | 0 | g_marshal_value_peek_uint (param_values + 1), |
2221 | 0 | g_marshal_value_peek_pointer (param_values + 2), |
2222 | 0 | data2); |
2223 | 0 | } |
2224 | | void |
2225 | | g_cclosure_marshal_VOID__UINT_POINTERv (GClosure *closure, |
2226 | | GValue *return_value, |
2227 | | gpointer instance, |
2228 | | va_list args, |
2229 | | gpointer marshal_data, |
2230 | | int n_params, |
2231 | | GType *param_types) |
2232 | 0 | { |
2233 | 0 | typedef void (*GMarshalFunc_VOID__UINT_POINTER) (gpointer instance, |
2234 | 0 | guint arg_0, |
2235 | 0 | gpointer arg_1, |
2236 | 0 | gpointer data); |
2237 | 0 | GCClosure *cc = (GCClosure*) closure; |
2238 | 0 | gpointer data1, data2; |
2239 | 0 | GMarshalFunc_VOID__UINT_POINTER callback; |
2240 | 0 | guint arg0; |
2241 | 0 | gpointer arg1; |
2242 | 0 | va_list args_copy; |
2243 | 0 |
|
2244 | 0 | G_VA_COPY (args_copy, args); |
2245 | 0 | arg0 = (guint) va_arg (args_copy, guint); |
2246 | 0 | arg1 = (gpointer) va_arg (args_copy, gpointer); |
2247 | 0 | va_end (args_copy); |
2248 | 0 |
|
2249 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2250 | 0 | { |
2251 | 0 | data1 = closure->data; |
2252 | 0 | data2 = instance; |
2253 | 0 | } |
2254 | 0 | else |
2255 | 0 | { |
2256 | 0 | data1 = instance; |
2257 | 0 | data2 = closure->data; |
2258 | 0 | } |
2259 | 0 | callback = (GMarshalFunc_VOID__UINT_POINTER) (marshal_data ? marshal_data : cc->callback); |
2260 | 0 |
|
2261 | 0 | callback (data1, |
2262 | 0 | arg0, |
2263 | 0 | arg1, |
2264 | 0 | data2); |
2265 | 0 | } |
2266 | | |
2267 | | |
2268 | | /* BOOL:FLAGS (./gmarshal.list:27) */ |
2269 | | void |
2270 | | g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure, |
2271 | | GValue *return_value G_GNUC_UNUSED, |
2272 | | guint n_param_values, |
2273 | | const GValue *param_values, |
2274 | | gpointer invocation_hint G_GNUC_UNUSED, |
2275 | | gpointer marshal_data) |
2276 | 0 | { |
2277 | 0 | typedef gboolean (*GMarshalFunc_BOOLEAN__FLAGS) (gpointer data1, |
2278 | 0 | guint arg_1, |
2279 | 0 | gpointer data2); |
2280 | 0 | GMarshalFunc_BOOLEAN__FLAGS callback; |
2281 | 0 | GCClosure *cc = (GCClosure*) closure; |
2282 | 0 | gpointer data1, data2; |
2283 | 0 | gboolean v_return; |
2284 | 0 |
|
2285 | 0 | g_return_if_fail (return_value != NULL); |
2286 | 0 | g_return_if_fail (n_param_values == 2); |
2287 | 0 |
|
2288 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2289 | 0 | { |
2290 | 0 | data1 = closure->data; |
2291 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
2292 | 0 | } |
2293 | 0 | else |
2294 | 0 | { |
2295 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
2296 | 0 | data2 = closure->data; |
2297 | 0 | } |
2298 | 0 | callback = (GMarshalFunc_BOOLEAN__FLAGS) (marshal_data ? marshal_data : cc->callback); |
2299 | 0 |
|
2300 | 0 | v_return = callback (data1, |
2301 | 0 | g_marshal_value_peek_flags (param_values + 1), |
2302 | 0 | data2); |
2303 | 0 |
|
2304 | 0 | g_value_set_boolean (return_value, v_return); |
2305 | 0 | } |
2306 | | void |
2307 | | g_cclosure_marshal_BOOLEAN__FLAGSv (GClosure *closure, |
2308 | | GValue *return_value, |
2309 | | gpointer instance, |
2310 | | va_list args, |
2311 | | gpointer marshal_data, |
2312 | | int n_params, |
2313 | | GType *param_types) |
2314 | 0 | { |
2315 | 0 | typedef gboolean (*GMarshalFunc_BOOLEAN__FLAGS) (gpointer instance, |
2316 | 0 | guint arg_0, |
2317 | 0 | gpointer data); |
2318 | 0 | GCClosure *cc = (GCClosure*) closure; |
2319 | 0 | gpointer data1, data2; |
2320 | 0 | GMarshalFunc_BOOLEAN__FLAGS callback; |
2321 | 0 | guint arg0; |
2322 | 0 | va_list args_copy; |
2323 | 0 | gboolean v_return; |
2324 | 0 |
|
2325 | 0 | g_return_if_fail (return_value != NULL); |
2326 | 0 |
|
2327 | 0 | G_VA_COPY (args_copy, args); |
2328 | 0 | arg0 = (guint) va_arg (args_copy, guint); |
2329 | 0 | va_end (args_copy); |
2330 | 0 |
|
2331 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2332 | 0 | { |
2333 | 0 | data1 = closure->data; |
2334 | 0 | data2 = instance; |
2335 | 0 | } |
2336 | 0 | else |
2337 | 0 | { |
2338 | 0 | data1 = instance; |
2339 | 0 | data2 = closure->data; |
2340 | 0 | } |
2341 | 0 | callback = (GMarshalFunc_BOOLEAN__FLAGS) (marshal_data ? marshal_data : cc->callback); |
2342 | 0 |
|
2343 | 0 | v_return = callback (data1, |
2344 | 0 | arg0, |
2345 | 0 | data2); |
2346 | 0 |
|
2347 | 0 | g_value_set_boolean (return_value, v_return); |
2348 | 0 | } |
2349 | | |
2350 | | |
2351 | | /* STRING:OBJECT,POINTER (./gmarshal.list:28) */ |
2352 | | void |
2353 | | g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure, |
2354 | | GValue *return_value G_GNUC_UNUSED, |
2355 | | guint n_param_values, |
2356 | | const GValue *param_values, |
2357 | | gpointer invocation_hint G_GNUC_UNUSED, |
2358 | | gpointer marshal_data) |
2359 | 0 | { |
2360 | 0 | typedef gchar* (*GMarshalFunc_STRING__OBJECT_POINTER) (gpointer data1, |
2361 | 0 | gpointer arg_1, |
2362 | 0 | gpointer arg_2, |
2363 | 0 | gpointer data2); |
2364 | 0 | GMarshalFunc_STRING__OBJECT_POINTER callback; |
2365 | 0 | GCClosure *cc = (GCClosure*) closure; |
2366 | 0 | gpointer data1, data2; |
2367 | 0 | gchar* v_return; |
2368 | 0 |
|
2369 | 0 | g_return_if_fail (return_value != NULL); |
2370 | 0 | g_return_if_fail (n_param_values == 3); |
2371 | 0 |
|
2372 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2373 | 0 | { |
2374 | 0 | data1 = closure->data; |
2375 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
2376 | 0 | } |
2377 | 0 | else |
2378 | 0 | { |
2379 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
2380 | 0 | data2 = closure->data; |
2381 | 0 | } |
2382 | 0 | callback = (GMarshalFunc_STRING__OBJECT_POINTER) (marshal_data ? marshal_data : cc->callback); |
2383 | 0 |
|
2384 | 0 | v_return = callback (data1, |
2385 | 0 | g_marshal_value_peek_object (param_values + 1), |
2386 | 0 | g_marshal_value_peek_pointer (param_values + 2), |
2387 | 0 | data2); |
2388 | 0 |
|
2389 | 0 | g_value_take_string (return_value, v_return); |
2390 | 0 | } |
2391 | | void |
2392 | | g_cclosure_marshal_STRING__OBJECT_POINTERv (GClosure *closure, |
2393 | | GValue *return_value, |
2394 | | gpointer instance, |
2395 | | va_list args, |
2396 | | gpointer marshal_data, |
2397 | | int n_params, |
2398 | | GType *param_types) |
2399 | 0 | { |
2400 | 0 | typedef gchar* (*GMarshalFunc_STRING__OBJECT_POINTER) (gpointer instance, |
2401 | 0 | gpointer arg_0, |
2402 | 0 | gpointer arg_1, |
2403 | 0 | gpointer data); |
2404 | 0 | GCClosure *cc = (GCClosure*) closure; |
2405 | 0 | gpointer data1, data2; |
2406 | 0 | GMarshalFunc_STRING__OBJECT_POINTER callback; |
2407 | 0 | gpointer arg0; |
2408 | 0 | gpointer arg1; |
2409 | 0 | va_list args_copy; |
2410 | 0 | gchar* v_return; |
2411 | 0 |
|
2412 | 0 | g_return_if_fail (return_value != NULL); |
2413 | 0 |
|
2414 | 0 | G_VA_COPY (args_copy, args); |
2415 | 0 | arg0 = (gpointer) va_arg (args_copy, gpointer); |
2416 | 0 | if (arg0 != NULL) |
2417 | 0 | arg0 = g_object_ref (arg0); |
2418 | 0 | arg1 = (gpointer) va_arg (args_copy, gpointer); |
2419 | 0 | va_end (args_copy); |
2420 | 0 |
|
2421 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2422 | 0 | { |
2423 | 0 | data1 = closure->data; |
2424 | 0 | data2 = instance; |
2425 | 0 | } |
2426 | 0 | else |
2427 | 0 | { |
2428 | 0 | data1 = instance; |
2429 | 0 | data2 = closure->data; |
2430 | 0 | } |
2431 | 0 | callback = (GMarshalFunc_STRING__OBJECT_POINTER) (marshal_data ? marshal_data : cc->callback); |
2432 | 0 |
|
2433 | 0 | v_return = callback (data1, |
2434 | 0 | arg0, |
2435 | 0 | arg1, |
2436 | 0 | data2); |
2437 | 0 | if (arg0 != NULL) |
2438 | 0 | g_object_unref (arg0); |
2439 | 0 |
|
2440 | 0 | g_value_take_string (return_value, v_return); |
2441 | 0 | } |
2442 | | |
2443 | | |
2444 | | /* BOOL:BOXED,BOXED (./gmarshal.list:29) */ |
2445 | | void |
2446 | | g_cclosure_marshal_BOOLEAN__BOXED_BOXED (GClosure *closure, |
2447 | | GValue *return_value G_GNUC_UNUSED, |
2448 | | guint n_param_values, |
2449 | | const GValue *param_values, |
2450 | | gpointer invocation_hint G_GNUC_UNUSED, |
2451 | | gpointer marshal_data) |
2452 | 0 | { |
2453 | 0 | typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_BOXED) (gpointer data1, |
2454 | 0 | gpointer arg_1, |
2455 | 0 | gpointer arg_2, |
2456 | 0 | gpointer data2); |
2457 | 0 | GMarshalFunc_BOOLEAN__BOXED_BOXED callback; |
2458 | 0 | GCClosure *cc = (GCClosure*) closure; |
2459 | 0 | gpointer data1, data2; |
2460 | 0 | gboolean v_return; |
2461 | 0 |
|
2462 | 0 | g_return_if_fail (return_value != NULL); |
2463 | 0 | g_return_if_fail (n_param_values == 3); |
2464 | 0 |
|
2465 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2466 | 0 | { |
2467 | 0 | data1 = closure->data; |
2468 | 0 | data2 = g_value_peek_pointer (param_values + 0); |
2469 | 0 | } |
2470 | 0 | else |
2471 | 0 | { |
2472 | 0 | data1 = g_value_peek_pointer (param_values + 0); |
2473 | 0 | data2 = closure->data; |
2474 | 0 | } |
2475 | 0 | callback = (GMarshalFunc_BOOLEAN__BOXED_BOXED) (marshal_data ? marshal_data : cc->callback); |
2476 | 0 |
|
2477 | 0 | v_return = callback (data1, |
2478 | 0 | g_marshal_value_peek_boxed (param_values + 1), |
2479 | 0 | g_marshal_value_peek_boxed (param_values + 2), |
2480 | 0 | data2); |
2481 | 0 |
|
2482 | 0 | g_value_set_boolean (return_value, v_return); |
2483 | 0 | } |
2484 | | void |
2485 | | g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv (GClosure *closure, |
2486 | | GValue *return_value, |
2487 | | gpointer instance, |
2488 | | va_list args, |
2489 | | gpointer marshal_data, |
2490 | | int n_params, |
2491 | | GType *param_types) |
2492 | 0 | { |
2493 | 0 | typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_BOXED) (gpointer instance, |
2494 | 0 | gpointer arg_0, |
2495 | 0 | gpointer arg_1, |
2496 | 0 | gpointer data); |
2497 | 0 | GCClosure *cc = (GCClosure*) closure; |
2498 | 0 | gpointer data1, data2; |
2499 | 0 | GMarshalFunc_BOOLEAN__BOXED_BOXED callback; |
2500 | 0 | gpointer arg0; |
2501 | 0 | gpointer arg1; |
2502 | 0 | va_list args_copy; |
2503 | 0 | gboolean v_return; |
2504 | 0 |
|
2505 | 0 | g_return_if_fail (return_value != NULL); |
2506 | 0 |
|
2507 | 0 | G_VA_COPY (args_copy, args); |
2508 | 0 | arg0 = (gpointer) va_arg (args_copy, gpointer); |
2509 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
2510 | 0 | arg0 = g_boxed_copy (param_types[0] & ~G_SIGNAL_TYPE_STATIC_SCOPE, arg0); |
2511 | 0 | arg1 = (gpointer) va_arg (args_copy, gpointer); |
2512 | 0 | if ((param_types[1] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg1 != NULL) |
2513 | 0 | arg1 = g_boxed_copy (param_types[1] & ~G_SIGNAL_TYPE_STATIC_SCOPE, arg1); |
2514 | 0 | va_end (args_copy); |
2515 | 0 |
|
2516 | 0 | if (G_CCLOSURE_SWAP_DATA (closure)) |
2517 | 0 | { |
2518 | 0 | data1 = closure->data; |
2519 | 0 | data2 = instance; |
2520 | 0 | } |
2521 | 0 | else |
2522 | 0 | { |
2523 | 0 | data1 = instance; |
2524 | 0 | data2 = closure->data; |
2525 | 0 | } |
2526 | 0 | callback = (GMarshalFunc_BOOLEAN__BOXED_BOXED) (marshal_data ? marshal_data : cc->callback); |
2527 | 0 |
|
2528 | 0 | v_return = callback (data1, |
2529 | 0 | arg0, |
2530 | 0 | arg1, |
2531 | 0 | data2); |
2532 | 0 | if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) |
2533 | 0 | g_boxed_free (param_types[0] & ~G_SIGNAL_TYPE_STATIC_SCOPE, arg0); |
2534 | 0 | if ((param_types[1] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg1 != NULL) |
2535 | 0 | g_boxed_free (param_types[1] & ~G_SIGNAL_TYPE_STATIC_SCOPE, arg1); |
2536 | 0 |
|
2537 | 0 | g_value_set_boolean (return_value, v_return); |
2538 | 0 | } |
2539 | | |
2540 | | |