7 #include "gvaluetypes.h"
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
19 * @marshal_data: Additional data specified when registering the
20 * marshaller, see g_closure_set_marshal() and
21 * g_closure_set_meta_marshal()
23 * A #GClosureMarshal function for use with signals with no arguments.
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
35 * @marshal_data: Additional data specified when registering the
36 * marshaller, see g_closure_set_marshal() and
37 * g_closure_set_meta_marshal()
39 * A #GClosureMarshal function for use with signals with a single
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
52 * @marshal_data: Additional data specified when registering the
53 * marshaller, see g_closure_set_marshal() and
54 * g_closure_set_meta_marshal()
56 * A #GClosureMarshal function for use with signals with a single
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
69 * @marshal_data: Additional data specified when registering the
70 * marshaller, see g_closure_set_marshal() and
71 * g_closure_set_meta_marshal()
73 * A #GClosureMarshal function for use with signals with a single
74 * unsigned character argument.
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
86 * @marshal_data: Additional data specified when registering the
87 * marshaller, see g_closure_set_marshal() and
88 * g_closure_set_meta_marshal()
90 * A #GClosureMarshal function for use with signals with a single
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()
107 * A #GClosureMarshal function for use with signals with with a single
108 * unsigned integer argument.
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()
124 * A #GClosureMarshal function for use with signals with with a single
125 * long integer argument.
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()
141 * A #GClosureMarshal function for use with signals with a single
142 * unsigned long integer argument.
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()
158 * A #GClosureMarshal function for use with signals with a single
159 * argument with an enumerated type.
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()
175 * A #GClosureMarshal function for use with signals with a single
176 * argument with a flags types.
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()
192 * A #GClosureMarshal function for use with signals with one
193 * single-precision floating point argument.
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()
209 * A #GClosureMarshal function for use with signals with one
210 * double-precision floating point argument.
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()
226 * A #GClosureMarshal function for use with signals with a single string
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()
243 * A #GClosureMarshal function for use with signals with a single
244 * argument of type #GParamSpec.
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()
260 * A #GClosureMarshal function for use with signals with a single
261 * argument which is any boxed pointer type.
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()
277 * A #GClosureMarshal function for use with signals with a single raw
278 * pointer argument type.
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().
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()
298 * A #GClosureMarshal function for use with signals with a single
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()
315 * A #GClosureMarshal function for use with signals with a single
316 * #GVariant argument.
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()
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.
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()
350 * A #GClosureMarshal function for use with signals with a unsigned int
351 * and a pointer as arguments.
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()
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().
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()
386 * An old alias for g_cclosure_marshal_BOOLEAN__FLAGS().
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()
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().
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()
421 * An old alias for g_cclosure_marshal_BOOLEAN__BOXED_BOXED().
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
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
438 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__VOID().
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
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
456 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__BOOLEAN().
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
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
473 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__CHAR().
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
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
490 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UCHAR().
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
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
507 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__INT().
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
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
524 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UINT().
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
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
541 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__LONG().
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
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
558 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__ULONG().
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
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
575 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__ENUM().
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
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
592 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__FLAGS().
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
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
609 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__FLOAT().
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
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
626 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__DOUBLE().
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
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
643 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__STRING().
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
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
660 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__PARAM().
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
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
677 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__BOXED().
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
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
694 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__POINTER().
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
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
711 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__OBJECT().
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
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
728 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__VARIANT().
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
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
745 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_STRING__OBJECT_POINTER().
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
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
762 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UINT_POINTER().
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
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
779 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_BOOLEAN__FLAGS().
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
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
796 * The #GVaClosureMarshal equivalent to g_cclosure_marshal_BOOLEAN__BOXED_BOXED().
799 #ifdef G_ENABLE_DEBUG
800 #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
801 #define g_marshal_value_peek_char(v) g_value_get_schar (v)
802 #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
803 #define g_marshal_value_peek_int(v) g_value_get_int (v)
804 #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
805 #define g_marshal_value_peek_long(v) g_value_get_long (v)
806 #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 #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
810 #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
811 #define g_marshal_value_peek_float(v) g_value_get_float (v)
812 #define g_marshal_value_peek_double(v) g_value_get_double (v)
813 #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
814 #define g_marshal_value_peek_param(v) g_value_get_param (v)
815 #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
816 #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
817 #define g_marshal_value_peek_object(v) g_value_get_object (v)
818 #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
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 */
846 /* VOID:VOID (./gmarshal.list:6) */
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
)
855 typedef void (*GMarshalFunc_VOID__VOID
) (gpointer data1
,
857 GMarshalFunc_VOID__VOID callback
;
858 GCClosure
*cc
= (GCClosure
*) closure
;
859 gpointer data1
, data2
;
861 g_return_if_fail (n_param_values
== 1);
863 if (G_CCLOSURE_SWAP_DATA (closure
))
865 data1
= closure
->data
;
866 data2
= g_value_peek_pointer (param_values
+ 0);
870 data1
= g_value_peek_pointer (param_values
+ 0);
871 data2
= closure
->data
;
873 callback
= (GMarshalFunc_VOID__VOID
) (marshal_data
? marshal_data
: cc
->callback
);
879 g_cclosure_marshal_VOID__VOIDv (GClosure
*closure
,
880 GValue
*return_value
,
883 gpointer marshal_data
,
887 typedef void (*GMarshalFunc_VOID__VOID
) (gpointer instance
,
889 GCClosure
*cc
= (GCClosure
*) closure
;
890 gpointer data1
, data2
;
891 GMarshalFunc_VOID__VOID callback
;
893 if (G_CCLOSURE_SWAP_DATA (closure
))
895 data1
= closure
->data
;
901 data2
= closure
->data
;
903 callback
= (GMarshalFunc_VOID__VOID
) (marshal_data
? marshal_data
: cc
->callback
);
910 /* VOID:BOOLEAN (./gmarshal.list:7) */
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
)
919 typedef void (*GMarshalFunc_VOID__BOOLEAN
) (gpointer data1
,
922 GMarshalFunc_VOID__BOOLEAN callback
;
923 GCClosure
*cc
= (GCClosure
*) closure
;
924 gpointer data1
, data2
;
926 g_return_if_fail (n_param_values
== 2);
928 if (G_CCLOSURE_SWAP_DATA (closure
))
930 data1
= closure
->data
;
931 data2
= g_value_peek_pointer (param_values
+ 0);
935 data1
= g_value_peek_pointer (param_values
+ 0);
936 data2
= closure
->data
;
938 callback
= (GMarshalFunc_VOID__BOOLEAN
) (marshal_data
? marshal_data
: cc
->callback
);
941 g_marshal_value_peek_boolean (param_values
+ 1),
945 g_cclosure_marshal_VOID__BOOLEANv (GClosure
*closure
,
946 GValue
*return_value
,
949 gpointer marshal_data
,
953 typedef void (*GMarshalFunc_VOID__BOOLEAN
) (gpointer instance
,
956 GCClosure
*cc
= (GCClosure
*) closure
;
957 gpointer data1
, data2
;
958 GMarshalFunc_VOID__BOOLEAN callback
;
962 G_VA_COPY (args_copy
, args
);
963 arg0
= (gboolean
) va_arg (args_copy
, gboolean
);
966 if (G_CCLOSURE_SWAP_DATA (closure
))
968 data1
= closure
->data
;
974 data2
= closure
->data
;
976 callback
= (GMarshalFunc_VOID__BOOLEAN
) (marshal_data
? marshal_data
: cc
->callback
);
984 /* VOID:CHAR (./gmarshal.list:8) */
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
)
993 typedef void (*GMarshalFunc_VOID__CHAR
) (gpointer data1
,
996 GMarshalFunc_VOID__CHAR callback
;
997 GCClosure
*cc
= (GCClosure
*) closure
;
998 gpointer data1
, data2
;
1000 g_return_if_fail (n_param_values
== 2);
1002 if (G_CCLOSURE_SWAP_DATA (closure
))
1004 data1
= closure
->data
;
1005 data2
= g_value_peek_pointer (param_values
+ 0);
1009 data1
= g_value_peek_pointer (param_values
+ 0);
1010 data2
= closure
->data
;
1012 callback
= (GMarshalFunc_VOID__CHAR
) (marshal_data
? marshal_data
: cc
->callback
);
1015 g_marshal_value_peek_char (param_values
+ 1),
1019 g_cclosure_marshal_VOID__CHARv (GClosure
*closure
,
1020 GValue
*return_value
,
1023 gpointer marshal_data
,
1027 typedef void (*GMarshalFunc_VOID__CHAR
) (gpointer instance
,
1030 GCClosure
*cc
= (GCClosure
*) closure
;
1031 gpointer data1
, data2
;
1032 GMarshalFunc_VOID__CHAR callback
;
1036 G_VA_COPY (args_copy
, args
);
1037 arg0
= (gchar
) va_arg (args_copy
, gint
);
1040 if (G_CCLOSURE_SWAP_DATA (closure
))
1042 data1
= closure
->data
;
1048 data2
= closure
->data
;
1050 callback
= (GMarshalFunc_VOID__CHAR
) (marshal_data
? marshal_data
: cc
->callback
);
1058 /* VOID:UCHAR (./gmarshal.list:9) */
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
)
1067 typedef void (*GMarshalFunc_VOID__UCHAR
) (gpointer data1
,
1070 GMarshalFunc_VOID__UCHAR callback
;
1071 GCClosure
*cc
= (GCClosure
*) closure
;
1072 gpointer data1
, data2
;
1074 g_return_if_fail (n_param_values
== 2);
1076 if (G_CCLOSURE_SWAP_DATA (closure
))
1078 data1
= closure
->data
;
1079 data2
= g_value_peek_pointer (param_values
+ 0);
1083 data1
= g_value_peek_pointer (param_values
+ 0);
1084 data2
= closure
->data
;
1086 callback
= (GMarshalFunc_VOID__UCHAR
) (marshal_data
? marshal_data
: cc
->callback
);
1089 g_marshal_value_peek_uchar (param_values
+ 1),
1093 g_cclosure_marshal_VOID__UCHARv (GClosure
*closure
,
1094 GValue
*return_value
,
1097 gpointer marshal_data
,
1101 typedef void (*GMarshalFunc_VOID__UCHAR
) (gpointer instance
,
1104 GCClosure
*cc
= (GCClosure
*) closure
;
1105 gpointer data1
, data2
;
1106 GMarshalFunc_VOID__UCHAR callback
;
1110 G_VA_COPY (args_copy
, args
);
1111 arg0
= (guchar
) va_arg (args_copy
, guint
);
1114 if (G_CCLOSURE_SWAP_DATA (closure
))
1116 data1
= closure
->data
;
1122 data2
= closure
->data
;
1124 callback
= (GMarshalFunc_VOID__UCHAR
) (marshal_data
? marshal_data
: cc
->callback
);
1132 /* VOID:INT (./gmarshal.list:10) */
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
)
1141 typedef void (*GMarshalFunc_VOID__INT
) (gpointer data1
,
1144 GMarshalFunc_VOID__INT callback
;
1145 GCClosure
*cc
= (GCClosure
*) closure
;
1146 gpointer data1
, data2
;
1148 g_return_if_fail (n_param_values
== 2);
1150 if (G_CCLOSURE_SWAP_DATA (closure
))
1152 data1
= closure
->data
;
1153 data2
= g_value_peek_pointer (param_values
+ 0);
1157 data1
= g_value_peek_pointer (param_values
+ 0);
1158 data2
= closure
->data
;
1160 callback
= (GMarshalFunc_VOID__INT
) (marshal_data
? marshal_data
: cc
->callback
);
1163 g_marshal_value_peek_int (param_values
+ 1),
1167 g_cclosure_marshal_VOID__INTv (GClosure
*closure
,
1168 GValue
*return_value
,
1171 gpointer marshal_data
,
1175 typedef void (*GMarshalFunc_VOID__INT
) (gpointer instance
,
1178 GCClosure
*cc
= (GCClosure
*) closure
;
1179 gpointer data1
, data2
;
1180 GMarshalFunc_VOID__INT callback
;
1184 G_VA_COPY (args_copy
, args
);
1185 arg0
= (gint
) va_arg (args_copy
, gint
);
1188 if (G_CCLOSURE_SWAP_DATA (closure
))
1190 data1
= closure
->data
;
1196 data2
= closure
->data
;
1198 callback
= (GMarshalFunc_VOID__INT
) (marshal_data
? marshal_data
: cc
->callback
);
1206 /* VOID:UINT (./gmarshal.list:11) */
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
)
1215 typedef void (*GMarshalFunc_VOID__UINT
) (gpointer data1
,
1218 GMarshalFunc_VOID__UINT callback
;
1219 GCClosure
*cc
= (GCClosure
*) closure
;
1220 gpointer data1
, data2
;
1222 g_return_if_fail (n_param_values
== 2);
1224 if (G_CCLOSURE_SWAP_DATA (closure
))
1226 data1
= closure
->data
;
1227 data2
= g_value_peek_pointer (param_values
+ 0);
1231 data1
= g_value_peek_pointer (param_values
+ 0);
1232 data2
= closure
->data
;
1234 callback
= (GMarshalFunc_VOID__UINT
) (marshal_data
? marshal_data
: cc
->callback
);
1237 g_marshal_value_peek_uint (param_values
+ 1),
1241 g_cclosure_marshal_VOID__UINTv (GClosure
*closure
,
1242 GValue
*return_value
,
1245 gpointer marshal_data
,
1249 typedef void (*GMarshalFunc_VOID__UINT
) (gpointer instance
,
1252 GCClosure
*cc
= (GCClosure
*) closure
;
1253 gpointer data1
, data2
;
1254 GMarshalFunc_VOID__UINT callback
;
1258 G_VA_COPY (args_copy
, args
);
1259 arg0
= (guint
) va_arg (args_copy
, guint
);
1262 if (G_CCLOSURE_SWAP_DATA (closure
))
1264 data1
= closure
->data
;
1270 data2
= closure
->data
;
1272 callback
= (GMarshalFunc_VOID__UINT
) (marshal_data
? marshal_data
: cc
->callback
);
1280 /* VOID:LONG (./gmarshal.list:12) */
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
)
1289 typedef void (*GMarshalFunc_VOID__LONG
) (gpointer data1
,
1292 GMarshalFunc_VOID__LONG callback
;
1293 GCClosure
*cc
= (GCClosure
*) closure
;
1294 gpointer data1
, data2
;
1296 g_return_if_fail (n_param_values
== 2);
1298 if (G_CCLOSURE_SWAP_DATA (closure
))
1300 data1
= closure
->data
;
1301 data2
= g_value_peek_pointer (param_values
+ 0);
1305 data1
= g_value_peek_pointer (param_values
+ 0);
1306 data2
= closure
->data
;
1308 callback
= (GMarshalFunc_VOID__LONG
) (marshal_data
? marshal_data
: cc
->callback
);
1311 g_marshal_value_peek_long (param_values
+ 1),
1315 g_cclosure_marshal_VOID__LONGv (GClosure
*closure
,
1316 GValue
*return_value
,
1319 gpointer marshal_data
,
1323 typedef void (*GMarshalFunc_VOID__LONG
) (gpointer instance
,
1326 GCClosure
*cc
= (GCClosure
*) closure
;
1327 gpointer data1
, data2
;
1328 GMarshalFunc_VOID__LONG callback
;
1332 G_VA_COPY (args_copy
, args
);
1333 arg0
= (glong
) va_arg (args_copy
, glong
);
1336 if (G_CCLOSURE_SWAP_DATA (closure
))
1338 data1
= closure
->data
;
1344 data2
= closure
->data
;
1346 callback
= (GMarshalFunc_VOID__LONG
) (marshal_data
? marshal_data
: cc
->callback
);
1354 /* VOID:ULONG (./gmarshal.list:13) */
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
)
1363 typedef void (*GMarshalFunc_VOID__ULONG
) (gpointer data1
,
1366 GMarshalFunc_VOID__ULONG callback
;
1367 GCClosure
*cc
= (GCClosure
*) closure
;
1368 gpointer data1
, data2
;
1370 g_return_if_fail (n_param_values
== 2);
1372 if (G_CCLOSURE_SWAP_DATA (closure
))
1374 data1
= closure
->data
;
1375 data2
= g_value_peek_pointer (param_values
+ 0);
1379 data1
= g_value_peek_pointer (param_values
+ 0);
1380 data2
= closure
->data
;
1382 callback
= (GMarshalFunc_VOID__ULONG
) (marshal_data
? marshal_data
: cc
->callback
);
1385 g_marshal_value_peek_ulong (param_values
+ 1),
1389 g_cclosure_marshal_VOID__ULONGv (GClosure
*closure
,
1390 GValue
*return_value
,
1393 gpointer marshal_data
,
1397 typedef void (*GMarshalFunc_VOID__ULONG
) (gpointer instance
,
1400 GCClosure
*cc
= (GCClosure
*) closure
;
1401 gpointer data1
, data2
;
1402 GMarshalFunc_VOID__ULONG callback
;
1406 G_VA_COPY (args_copy
, args
);
1407 arg0
= (gulong
) va_arg (args_copy
, gulong
);
1410 if (G_CCLOSURE_SWAP_DATA (closure
))
1412 data1
= closure
->data
;
1418 data2
= closure
->data
;
1420 callback
= (GMarshalFunc_VOID__ULONG
) (marshal_data
? marshal_data
: cc
->callback
);
1428 /* VOID:ENUM (./gmarshal.list:14) */
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
)
1437 typedef void (*GMarshalFunc_VOID__ENUM
) (gpointer data1
,
1440 GMarshalFunc_VOID__ENUM callback
;
1441 GCClosure
*cc
= (GCClosure
*) closure
;
1442 gpointer data1
, data2
;
1444 g_return_if_fail (n_param_values
== 2);
1446 if (G_CCLOSURE_SWAP_DATA (closure
))
1448 data1
= closure
->data
;
1449 data2
= g_value_peek_pointer (param_values
+ 0);
1453 data1
= g_value_peek_pointer (param_values
+ 0);
1454 data2
= closure
->data
;
1456 callback
= (GMarshalFunc_VOID__ENUM
) (marshal_data
? marshal_data
: cc
->callback
);
1459 g_marshal_value_peek_enum (param_values
+ 1),
1463 g_cclosure_marshal_VOID__ENUMv (GClosure
*closure
,
1464 GValue
*return_value
,
1467 gpointer marshal_data
,
1471 typedef void (*GMarshalFunc_VOID__ENUM
) (gpointer instance
,
1474 GCClosure
*cc
= (GCClosure
*) closure
;
1475 gpointer data1
, data2
;
1476 GMarshalFunc_VOID__ENUM callback
;
1480 G_VA_COPY (args_copy
, args
);
1481 arg0
= (gint
) va_arg (args_copy
, gint
);
1484 if (G_CCLOSURE_SWAP_DATA (closure
))
1486 data1
= closure
->data
;
1492 data2
= closure
->data
;
1494 callback
= (GMarshalFunc_VOID__ENUM
) (marshal_data
? marshal_data
: cc
->callback
);
1502 /* VOID:FLAGS (./gmarshal.list:15) */
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
)
1511 typedef void (*GMarshalFunc_VOID__FLAGS
) (gpointer data1
,
1514 GMarshalFunc_VOID__FLAGS callback
;
1515 GCClosure
*cc
= (GCClosure
*) closure
;
1516 gpointer data1
, data2
;
1518 g_return_if_fail (n_param_values
== 2);
1520 if (G_CCLOSURE_SWAP_DATA (closure
))
1522 data1
= closure
->data
;
1523 data2
= g_value_peek_pointer (param_values
+ 0);
1527 data1
= g_value_peek_pointer (param_values
+ 0);
1528 data2
= closure
->data
;
1530 callback
= (GMarshalFunc_VOID__FLAGS
) (marshal_data
? marshal_data
: cc
->callback
);
1533 g_marshal_value_peek_flags (param_values
+ 1),
1537 g_cclosure_marshal_VOID__FLAGSv (GClosure
*closure
,
1538 GValue
*return_value
,
1541 gpointer marshal_data
,
1545 typedef void (*GMarshalFunc_VOID__FLAGS
) (gpointer instance
,
1548 GCClosure
*cc
= (GCClosure
*) closure
;
1549 gpointer data1
, data2
;
1550 GMarshalFunc_VOID__FLAGS callback
;
1554 G_VA_COPY (args_copy
, args
);
1555 arg0
= (guint
) va_arg (args_copy
, guint
);
1558 if (G_CCLOSURE_SWAP_DATA (closure
))
1560 data1
= closure
->data
;
1566 data2
= closure
->data
;
1568 callback
= (GMarshalFunc_VOID__FLAGS
) (marshal_data
? marshal_data
: cc
->callback
);
1576 /* VOID:FLOAT (./gmarshal.list:16) */
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
)
1585 typedef void (*GMarshalFunc_VOID__FLOAT
) (gpointer data1
,
1588 GMarshalFunc_VOID__FLOAT callback
;
1589 GCClosure
*cc
= (GCClosure
*) closure
;
1590 gpointer data1
, data2
;
1592 g_return_if_fail (n_param_values
== 2);
1594 if (G_CCLOSURE_SWAP_DATA (closure
))
1596 data1
= closure
->data
;
1597 data2
= g_value_peek_pointer (param_values
+ 0);
1601 data1
= g_value_peek_pointer (param_values
+ 0);
1602 data2
= closure
->data
;
1604 callback
= (GMarshalFunc_VOID__FLOAT
) (marshal_data
? marshal_data
: cc
->callback
);
1607 g_marshal_value_peek_float (param_values
+ 1),
1611 g_cclosure_marshal_VOID__FLOATv (GClosure
*closure
,
1612 GValue
*return_value
,
1615 gpointer marshal_data
,
1619 typedef void (*GMarshalFunc_VOID__FLOAT
) (gpointer instance
,
1622 GCClosure
*cc
= (GCClosure
*) closure
;
1623 gpointer data1
, data2
;
1624 GMarshalFunc_VOID__FLOAT callback
;
1628 G_VA_COPY (args_copy
, args
);
1629 arg0
= (gfloat
) va_arg (args_copy
, gdouble
);
1632 if (G_CCLOSURE_SWAP_DATA (closure
))
1634 data1
= closure
->data
;
1640 data2
= closure
->data
;
1642 callback
= (GMarshalFunc_VOID__FLOAT
) (marshal_data
? marshal_data
: cc
->callback
);
1650 /* VOID:DOUBLE (./gmarshal.list:17) */
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
)
1659 typedef void (*GMarshalFunc_VOID__DOUBLE
) (gpointer data1
,
1662 GMarshalFunc_VOID__DOUBLE callback
;
1663 GCClosure
*cc
= (GCClosure
*) closure
;
1664 gpointer data1
, data2
;
1666 g_return_if_fail (n_param_values
== 2);
1668 if (G_CCLOSURE_SWAP_DATA (closure
))
1670 data1
= closure
->data
;
1671 data2
= g_value_peek_pointer (param_values
+ 0);
1675 data1
= g_value_peek_pointer (param_values
+ 0);
1676 data2
= closure
->data
;
1678 callback
= (GMarshalFunc_VOID__DOUBLE
) (marshal_data
? marshal_data
: cc
->callback
);
1681 g_marshal_value_peek_double (param_values
+ 1),
1685 g_cclosure_marshal_VOID__DOUBLEv (GClosure
*closure
,
1686 GValue
*return_value
,
1689 gpointer marshal_data
,
1693 typedef void (*GMarshalFunc_VOID__DOUBLE
) (gpointer instance
,
1696 GCClosure
*cc
= (GCClosure
*) closure
;
1697 gpointer data1
, data2
;
1698 GMarshalFunc_VOID__DOUBLE callback
;
1702 G_VA_COPY (args_copy
, args
);
1703 arg0
= (gdouble
) va_arg (args_copy
, gdouble
);
1706 if (G_CCLOSURE_SWAP_DATA (closure
))
1708 data1
= closure
->data
;
1714 data2
= closure
->data
;
1716 callback
= (GMarshalFunc_VOID__DOUBLE
) (marshal_data
? marshal_data
: cc
->callback
);
1724 /* VOID:STRING (./gmarshal.list:18) */
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
)
1733 typedef void (*GMarshalFunc_VOID__STRING
) (gpointer data1
,
1736 GMarshalFunc_VOID__STRING callback
;
1737 GCClosure
*cc
= (GCClosure
*) closure
;
1738 gpointer data1
, data2
;
1740 g_return_if_fail (n_param_values
== 2);
1742 if (G_CCLOSURE_SWAP_DATA (closure
))
1744 data1
= closure
->data
;
1745 data2
= g_value_peek_pointer (param_values
+ 0);
1749 data1
= g_value_peek_pointer (param_values
+ 0);
1750 data2
= closure
->data
;
1752 callback
= (GMarshalFunc_VOID__STRING
) (marshal_data
? marshal_data
: cc
->callback
);
1755 g_marshal_value_peek_string (param_values
+ 1),
1759 g_cclosure_marshal_VOID__STRINGv (GClosure
*closure
,
1760 GValue
*return_value
,
1763 gpointer marshal_data
,
1767 typedef void (*GMarshalFunc_VOID__STRING
) (gpointer instance
,
1770 GCClosure
*cc
= (GCClosure
*) closure
;
1771 gpointer data1
, data2
;
1772 GMarshalFunc_VOID__STRING callback
;
1776 G_VA_COPY (args_copy
, args
);
1777 arg0
= (gpointer
) va_arg (args_copy
, gpointer
);
1778 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
1779 arg0
= g_strdup (arg0
);
1782 if (G_CCLOSURE_SWAP_DATA (closure
))
1784 data1
= closure
->data
;
1790 data2
= closure
->data
;
1792 callback
= (GMarshalFunc_VOID__STRING
) (marshal_data
? marshal_data
: cc
->callback
);
1797 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
1802 /* VOID:PARAM (./gmarshal.list:19) */
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
)
1811 typedef void (*GMarshalFunc_VOID__PARAM
) (gpointer data1
,
1814 GMarshalFunc_VOID__PARAM callback
;
1815 GCClosure
*cc
= (GCClosure
*) closure
;
1816 gpointer data1
, data2
;
1818 g_return_if_fail (n_param_values
== 2);
1820 if (G_CCLOSURE_SWAP_DATA (closure
))
1822 data1
= closure
->data
;
1823 data2
= g_value_peek_pointer (param_values
+ 0);
1827 data1
= g_value_peek_pointer (param_values
+ 0);
1828 data2
= closure
->data
;
1830 callback
= (GMarshalFunc_VOID__PARAM
) (marshal_data
? marshal_data
: cc
->callback
);
1833 g_marshal_value_peek_param (param_values
+ 1),
1837 g_cclosure_marshal_VOID__PARAMv (GClosure
*closure
,
1838 GValue
*return_value
,
1841 gpointer marshal_data
,
1845 typedef void (*GMarshalFunc_VOID__PARAM
) (gpointer instance
,
1848 GCClosure
*cc
= (GCClosure
*) closure
;
1849 gpointer data1
, data2
;
1850 GMarshalFunc_VOID__PARAM callback
;
1854 G_VA_COPY (args_copy
, args
);
1855 arg0
= (gpointer
) va_arg (args_copy
, gpointer
);
1856 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
1857 arg0
= g_param_spec_ref (arg0
);
1860 if (G_CCLOSURE_SWAP_DATA (closure
))
1862 data1
= closure
->data
;
1868 data2
= closure
->data
;
1870 callback
= (GMarshalFunc_VOID__PARAM
) (marshal_data
? marshal_data
: cc
->callback
);
1875 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
1876 g_param_spec_unref (arg0
);
1880 /* VOID:BOXED (./gmarshal.list:20) */
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
)
1889 typedef void (*GMarshalFunc_VOID__BOXED
) (gpointer data1
,
1892 GMarshalFunc_VOID__BOXED callback
;
1893 GCClosure
*cc
= (GCClosure
*) closure
;
1894 gpointer data1
, data2
;
1896 g_return_if_fail (n_param_values
== 2);
1898 if (G_CCLOSURE_SWAP_DATA (closure
))
1900 data1
= closure
->data
;
1901 data2
= g_value_peek_pointer (param_values
+ 0);
1905 data1
= g_value_peek_pointer (param_values
+ 0);
1906 data2
= closure
->data
;
1908 callback
= (GMarshalFunc_VOID__BOXED
) (marshal_data
? marshal_data
: cc
->callback
);
1911 g_marshal_value_peek_boxed (param_values
+ 1),
1915 g_cclosure_marshal_VOID__BOXEDv (GClosure
*closure
,
1916 GValue
*return_value
,
1919 gpointer marshal_data
,
1923 typedef void (*GMarshalFunc_VOID__BOXED
) (gpointer instance
,
1926 GCClosure
*cc
= (GCClosure
*) closure
;
1927 gpointer data1
, data2
;
1928 GMarshalFunc_VOID__BOXED callback
;
1932 G_VA_COPY (args_copy
, args
);
1933 arg0
= (gpointer
) va_arg (args_copy
, gpointer
);
1934 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
1935 arg0
= g_boxed_copy (param_types
[0] & ~G_SIGNAL_TYPE_STATIC_SCOPE
, arg0
);
1938 if (G_CCLOSURE_SWAP_DATA (closure
))
1940 data1
= closure
->data
;
1946 data2
= closure
->data
;
1948 callback
= (GMarshalFunc_VOID__BOXED
) (marshal_data
? marshal_data
: cc
->callback
);
1953 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
1954 g_boxed_free (param_types
[0] & ~G_SIGNAL_TYPE_STATIC_SCOPE
, arg0
);
1958 /* VOID:POINTER (./gmarshal.list:21) */
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
)
1967 typedef void (*GMarshalFunc_VOID__POINTER
) (gpointer data1
,
1970 GMarshalFunc_VOID__POINTER callback
;
1971 GCClosure
*cc
= (GCClosure
*) closure
;
1972 gpointer data1
, data2
;
1974 g_return_if_fail (n_param_values
== 2);
1976 if (G_CCLOSURE_SWAP_DATA (closure
))
1978 data1
= closure
->data
;
1979 data2
= g_value_peek_pointer (param_values
+ 0);
1983 data1
= g_value_peek_pointer (param_values
+ 0);
1984 data2
= closure
->data
;
1986 callback
= (GMarshalFunc_VOID__POINTER
) (marshal_data
? marshal_data
: cc
->callback
);
1989 g_marshal_value_peek_pointer (param_values
+ 1),
1993 g_cclosure_marshal_VOID__POINTERv (GClosure
*closure
,
1994 GValue
*return_value
,
1997 gpointer marshal_data
,
2001 typedef void (*GMarshalFunc_VOID__POINTER
) (gpointer instance
,
2004 GCClosure
*cc
= (GCClosure
*) closure
;
2005 gpointer data1
, data2
;
2006 GMarshalFunc_VOID__POINTER callback
;
2010 G_VA_COPY (args_copy
, args
);
2011 arg0
= (gpointer
) va_arg (args_copy
, gpointer
);
2014 if (G_CCLOSURE_SWAP_DATA (closure
))
2016 data1
= closure
->data
;
2022 data2
= closure
->data
;
2024 callback
= (GMarshalFunc_VOID__POINTER
) (marshal_data
? marshal_data
: cc
->callback
);
2032 /* VOID:OBJECT (./gmarshal.list:22) */
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
)
2041 typedef void (*GMarshalFunc_VOID__OBJECT
) (gpointer data1
,
2044 GMarshalFunc_VOID__OBJECT callback
;
2045 GCClosure
*cc
= (GCClosure
*) closure
;
2046 gpointer data1
, data2
;
2048 g_return_if_fail (n_param_values
== 2);
2050 if (G_CCLOSURE_SWAP_DATA (closure
))
2052 data1
= closure
->data
;
2053 data2
= g_value_peek_pointer (param_values
+ 0);
2057 data1
= g_value_peek_pointer (param_values
+ 0);
2058 data2
= closure
->data
;
2060 callback
= (GMarshalFunc_VOID__OBJECT
) (marshal_data
? marshal_data
: cc
->callback
);
2063 g_marshal_value_peek_object (param_values
+ 1),
2067 g_cclosure_marshal_VOID__OBJECTv (GClosure
*closure
,
2068 GValue
*return_value
,
2071 gpointer marshal_data
,
2075 typedef void (*GMarshalFunc_VOID__OBJECT
) (gpointer instance
,
2078 GCClosure
*cc
= (GCClosure
*) closure
;
2079 gpointer data1
, data2
;
2080 GMarshalFunc_VOID__OBJECT callback
;
2084 G_VA_COPY (args_copy
, args
);
2085 arg0
= (gpointer
) va_arg (args_copy
, gpointer
);
2087 arg0
= g_object_ref (arg0
);
2090 if (G_CCLOSURE_SWAP_DATA (closure
))
2092 data1
= closure
->data
;
2098 data2
= closure
->data
;
2100 callback
= (GMarshalFunc_VOID__OBJECT
) (marshal_data
? marshal_data
: cc
->callback
);
2106 g_object_unref (arg0
);
2110 /* VOID:VARIANT (./gmarshal.list:23) */
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
)
2119 typedef void (*GMarshalFunc_VOID__VARIANT
) (gpointer data1
,
2122 GMarshalFunc_VOID__VARIANT callback
;
2123 GCClosure
*cc
= (GCClosure
*) closure
;
2124 gpointer data1
, data2
;
2126 g_return_if_fail (n_param_values
== 2);
2128 if (G_CCLOSURE_SWAP_DATA (closure
))
2130 data1
= closure
->data
;
2131 data2
= g_value_peek_pointer (param_values
+ 0);
2135 data1
= g_value_peek_pointer (param_values
+ 0);
2136 data2
= closure
->data
;
2138 callback
= (GMarshalFunc_VOID__VARIANT
) (marshal_data
? marshal_data
: cc
->callback
);
2141 g_marshal_value_peek_variant (param_values
+ 1),
2145 g_cclosure_marshal_VOID__VARIANTv (GClosure
*closure
,
2146 GValue
*return_value
,
2149 gpointer marshal_data
,
2153 typedef void (*GMarshalFunc_VOID__VARIANT
) (gpointer instance
,
2156 GCClosure
*cc
= (GCClosure
*) closure
;
2157 gpointer data1
, data2
;
2158 GMarshalFunc_VOID__VARIANT callback
;
2162 G_VA_COPY (args_copy
, args
);
2163 arg0
= (gpointer
) va_arg (args_copy
, gpointer
);
2164 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
2165 arg0
= g_variant_ref_sink (arg0
);
2168 if (G_CCLOSURE_SWAP_DATA (closure
))
2170 data1
= closure
->data
;
2176 data2
= closure
->data
;
2178 callback
= (GMarshalFunc_VOID__VARIANT
) (marshal_data
? marshal_data
: cc
->callback
);
2183 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
2184 g_variant_unref (arg0
);
2188 /* VOID:UINT,POINTER (./gmarshal.list:26) */
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
)
2197 typedef void (*GMarshalFunc_VOID__UINT_POINTER
) (gpointer data1
,
2201 GMarshalFunc_VOID__UINT_POINTER callback
;
2202 GCClosure
*cc
= (GCClosure
*) closure
;
2203 gpointer data1
, data2
;
2205 g_return_if_fail (n_param_values
== 3);
2207 if (G_CCLOSURE_SWAP_DATA (closure
))
2209 data1
= closure
->data
;
2210 data2
= g_value_peek_pointer (param_values
+ 0);
2214 data1
= g_value_peek_pointer (param_values
+ 0);
2215 data2
= closure
->data
;
2217 callback
= (GMarshalFunc_VOID__UINT_POINTER
) (marshal_data
? marshal_data
: cc
->callback
);
2220 g_marshal_value_peek_uint (param_values
+ 1),
2221 g_marshal_value_peek_pointer (param_values
+ 2),
2225 g_cclosure_marshal_VOID__UINT_POINTERv (GClosure
*closure
,
2226 GValue
*return_value
,
2229 gpointer marshal_data
,
2233 typedef void (*GMarshalFunc_VOID__UINT_POINTER
) (gpointer instance
,
2237 GCClosure
*cc
= (GCClosure
*) closure
;
2238 gpointer data1
, data2
;
2239 GMarshalFunc_VOID__UINT_POINTER callback
;
2244 G_VA_COPY (args_copy
, args
);
2245 arg0
= (guint
) va_arg (args_copy
, guint
);
2246 arg1
= (gpointer
) va_arg (args_copy
, gpointer
);
2249 if (G_CCLOSURE_SWAP_DATA (closure
))
2251 data1
= closure
->data
;
2257 data2
= closure
->data
;
2259 callback
= (GMarshalFunc_VOID__UINT_POINTER
) (marshal_data
? marshal_data
: cc
->callback
);
2268 /* BOOL:FLAGS (./gmarshal.list:27) */
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
)
2277 typedef gboolean (*GMarshalFunc_BOOLEAN__FLAGS
) (gpointer data1
,
2280 GMarshalFunc_BOOLEAN__FLAGS callback
;
2281 GCClosure
*cc
= (GCClosure
*) closure
;
2282 gpointer data1
, data2
;
2285 g_return_if_fail (return_value
!= NULL
);
2286 g_return_if_fail (n_param_values
== 2);
2288 if (G_CCLOSURE_SWAP_DATA (closure
))
2290 data1
= closure
->data
;
2291 data2
= g_value_peek_pointer (param_values
+ 0);
2295 data1
= g_value_peek_pointer (param_values
+ 0);
2296 data2
= closure
->data
;
2298 callback
= (GMarshalFunc_BOOLEAN__FLAGS
) (marshal_data
? marshal_data
: cc
->callback
);
2300 v_return
= callback (data1
,
2301 g_marshal_value_peek_flags (param_values
+ 1),
2304 g_value_set_boolean (return_value
, v_return
);
2307 g_cclosure_marshal_BOOLEAN__FLAGSv (GClosure
*closure
,
2308 GValue
*return_value
,
2311 gpointer marshal_data
,
2315 typedef gboolean (*GMarshalFunc_BOOLEAN__FLAGS
) (gpointer instance
,
2318 GCClosure
*cc
= (GCClosure
*) closure
;
2319 gpointer data1
, data2
;
2320 GMarshalFunc_BOOLEAN__FLAGS callback
;
2325 g_return_if_fail (return_value
!= NULL
);
2327 G_VA_COPY (args_copy
, args
);
2328 arg0
= (guint
) va_arg (args_copy
, guint
);
2331 if (G_CCLOSURE_SWAP_DATA (closure
))
2333 data1
= closure
->data
;
2339 data2
= closure
->data
;
2341 callback
= (GMarshalFunc_BOOLEAN__FLAGS
) (marshal_data
? marshal_data
: cc
->callback
);
2343 v_return
= callback (data1
,
2347 g_value_set_boolean (return_value
, v_return
);
2351 /* STRING:OBJECT,POINTER (./gmarshal.list:28) */
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
)
2360 typedef gchar
* (*GMarshalFunc_STRING__OBJECT_POINTER
) (gpointer data1
,
2364 GMarshalFunc_STRING__OBJECT_POINTER callback
;
2365 GCClosure
*cc
= (GCClosure
*) closure
;
2366 gpointer data1
, data2
;
2369 g_return_if_fail (return_value
!= NULL
);
2370 g_return_if_fail (n_param_values
== 3);
2372 if (G_CCLOSURE_SWAP_DATA (closure
))
2374 data1
= closure
->data
;
2375 data2
= g_value_peek_pointer (param_values
+ 0);
2379 data1
= g_value_peek_pointer (param_values
+ 0);
2380 data2
= closure
->data
;
2382 callback
= (GMarshalFunc_STRING__OBJECT_POINTER
) (marshal_data
? marshal_data
: cc
->callback
);
2384 v_return
= callback (data1
,
2385 g_marshal_value_peek_object (param_values
+ 1),
2386 g_marshal_value_peek_pointer (param_values
+ 2),
2389 g_value_take_string (return_value
, v_return
);
2392 g_cclosure_marshal_STRING__OBJECT_POINTERv (GClosure
*closure
,
2393 GValue
*return_value
,
2396 gpointer marshal_data
,
2400 typedef gchar
* (*GMarshalFunc_STRING__OBJECT_POINTER
) (gpointer instance
,
2404 GCClosure
*cc
= (GCClosure
*) closure
;
2405 gpointer data1
, data2
;
2406 GMarshalFunc_STRING__OBJECT_POINTER callback
;
2412 g_return_if_fail (return_value
!= NULL
);
2414 G_VA_COPY (args_copy
, args
);
2415 arg0
= (gpointer
) va_arg (args_copy
, gpointer
);
2417 arg0
= g_object_ref (arg0
);
2418 arg1
= (gpointer
) va_arg (args_copy
, gpointer
);
2421 if (G_CCLOSURE_SWAP_DATA (closure
))
2423 data1
= closure
->data
;
2429 data2
= closure
->data
;
2431 callback
= (GMarshalFunc_STRING__OBJECT_POINTER
) (marshal_data
? marshal_data
: cc
->callback
);
2433 v_return
= callback (data1
,
2438 g_object_unref (arg0
);
2440 g_value_take_string (return_value
, v_return
);
2444 /* BOOL:BOXED,BOXED (./gmarshal.list:29) */
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
)
2453 typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_BOXED
) (gpointer data1
,
2457 GMarshalFunc_BOOLEAN__BOXED_BOXED callback
;
2458 GCClosure
*cc
= (GCClosure
*) closure
;
2459 gpointer data1
, data2
;
2462 g_return_if_fail (return_value
!= NULL
);
2463 g_return_if_fail (n_param_values
== 3);
2465 if (G_CCLOSURE_SWAP_DATA (closure
))
2467 data1
= closure
->data
;
2468 data2
= g_value_peek_pointer (param_values
+ 0);
2472 data1
= g_value_peek_pointer (param_values
+ 0);
2473 data2
= closure
->data
;
2475 callback
= (GMarshalFunc_BOOLEAN__BOXED_BOXED
) (marshal_data
? marshal_data
: cc
->callback
);
2477 v_return
= callback (data1
,
2478 g_marshal_value_peek_boxed (param_values
+ 1),
2479 g_marshal_value_peek_boxed (param_values
+ 2),
2482 g_value_set_boolean (return_value
, v_return
);
2485 g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv (GClosure
*closure
,
2486 GValue
*return_value
,
2489 gpointer marshal_data
,
2493 typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_BOXED
) (gpointer instance
,
2497 GCClosure
*cc
= (GCClosure
*) closure
;
2498 gpointer data1
, data2
;
2499 GMarshalFunc_BOOLEAN__BOXED_BOXED callback
;
2505 g_return_if_fail (return_value
!= NULL
);
2507 G_VA_COPY (args_copy
, args
);
2508 arg0
= (gpointer
) va_arg (args_copy
, gpointer
);
2509 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
2510 arg0
= g_boxed_copy (param_types
[0] & ~G_SIGNAL_TYPE_STATIC_SCOPE
, arg0
);
2511 arg1
= (gpointer
) va_arg (args_copy
, gpointer
);
2512 if ((param_types
[1] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg1
!= NULL
)
2513 arg1
= g_boxed_copy (param_types
[1] & ~G_SIGNAL_TYPE_STATIC_SCOPE
, arg1
);
2516 if (G_CCLOSURE_SWAP_DATA (closure
))
2518 data1
= closure
->data
;
2524 data2
= closure
->data
;
2526 callback
= (GMarshalFunc_BOOLEAN__BOXED_BOXED
) (marshal_data
? marshal_data
: cc
->callback
);
2528 v_return
= callback (data1
,
2532 if ((param_types
[0] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg0
!= NULL
)
2533 g_boxed_free (param_types
[0] & ~G_SIGNAL_TYPE_STATIC_SCOPE
, arg0
);
2534 if ((param_types
[1] & G_SIGNAL_TYPE_STATIC_SCOPE
) == 0 && arg1
!= NULL
)
2535 g_boxed_free (param_types
[1] & ~G_SIGNAL_TYPE_STATIC_SCOPE
, arg1
);
2537 g_value_set_boolean (return_value
, v_return
);