7 #include "gvaluetypes.h"
10 #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
11 #define g_marshal_value_peek_char(v) g_value_get_schar (v)
12 #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
13 #define g_marshal_value_peek_int(v) g_value_get_int (v)
14 #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
15 #define g_marshal_value_peek_long(v) g_value_get_long (v)
16 #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
17 #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
18 #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
19 #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
20 #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
21 #define g_marshal_value_peek_float(v) g_value_get_float (v)
22 #define g_marshal_value_peek_double(v) g_value_get_double (v)
23 #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
24 #define g_marshal_value_peek_param(v) g_value_get_param (v)
25 #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
26 #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
27 #define g_marshal_value_peek_object(v) g_value_get_object (v)
28 #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
29 #else /* !G_ENABLE_DEBUG */
30 /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
31 * Do not access GValues directly in your code. Instead, use the
32 * g_value_get_*() functions
34 #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
35 #define g_marshal_value_peek_char(v) (v)->data[0].v_int
36 #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
37 #define g_marshal_value_peek_int(v) (v)->data[0].v_int
38 #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
39 #define g_marshal_value_peek_long(v) (v)->data[0].v_long
40 #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
41 #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
42 #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
43 #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
44 #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
45 #define g_marshal_value_peek_float(v) (v)->data[0].v_float
46 #define g_marshal_value_peek_double(v) (v)->data[0].v_double
47 #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
48 #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
49 #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
50 #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
51 #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
52 #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
53 #endif /* !G_ENABLE_DEBUG */
56 /* VOID:VOID (./gmarshal.list:6) */
58 g_cclosure_marshal_VOID__VOID (GClosure *closure,
59 GValue *return_value G_GNUC_UNUSED,
61 const GValue *param_values,
62 gpointer invocation_hint G_GNUC_UNUSED,
63 gpointer marshal_data)
65 typedef void (*GMarshalFunc_VOID__VOID) (gpointer data1,
67 register GMarshalFunc_VOID__VOID callback;
68 register GCClosure *cc = (GCClosure*) closure;
69 register gpointer data1, data2;
71 g_return_if_fail (n_param_values == 1);
73 if (G_CCLOSURE_SWAP_DATA (closure))
75 data1 = closure->data;
76 data2 = g_value_peek_pointer (param_values + 0);
80 data1 = g_value_peek_pointer (param_values + 0);
81 data2 = closure->data;
83 callback = (GMarshalFunc_VOID__VOID) (marshal_data ? marshal_data : cc->callback);
89 /* VOID:BOOLEAN (./gmarshal.list:7) */
91 g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure,
92 GValue *return_value G_GNUC_UNUSED,
94 const GValue *param_values,
95 gpointer invocation_hint G_GNUC_UNUSED,
96 gpointer marshal_data)
98 typedef void (*GMarshalFunc_VOID__BOOLEAN) (gpointer data1,
101 register GMarshalFunc_VOID__BOOLEAN callback;
102 register GCClosure *cc = (GCClosure*) closure;
103 register gpointer data1, data2;
105 g_return_if_fail (n_param_values == 2);
107 if (G_CCLOSURE_SWAP_DATA (closure))
109 data1 = closure->data;
110 data2 = g_value_peek_pointer (param_values + 0);
114 data1 = g_value_peek_pointer (param_values + 0);
115 data2 = closure->data;
117 callback = (GMarshalFunc_VOID__BOOLEAN) (marshal_data ? marshal_data : cc->callback);
120 g_marshal_value_peek_boolean (param_values + 1),
124 /* VOID:CHAR (./gmarshal.list:8) */
126 g_cclosure_marshal_VOID__CHAR (GClosure *closure,
127 GValue *return_value G_GNUC_UNUSED,
128 guint n_param_values,
129 const GValue *param_values,
130 gpointer invocation_hint G_GNUC_UNUSED,
131 gpointer marshal_data)
133 typedef void (*GMarshalFunc_VOID__CHAR) (gpointer data1,
136 register GMarshalFunc_VOID__CHAR callback;
137 register GCClosure *cc = (GCClosure*) closure;
138 register gpointer data1, data2;
140 g_return_if_fail (n_param_values == 2);
142 if (G_CCLOSURE_SWAP_DATA (closure))
144 data1 = closure->data;
145 data2 = g_value_peek_pointer (param_values + 0);
149 data1 = g_value_peek_pointer (param_values + 0);
150 data2 = closure->data;
152 callback = (GMarshalFunc_VOID__CHAR) (marshal_data ? marshal_data : cc->callback);
155 g_marshal_value_peek_char (param_values + 1),
159 /* VOID:UCHAR (./gmarshal.list:9) */
161 g_cclosure_marshal_VOID__UCHAR (GClosure *closure,
162 GValue *return_value G_GNUC_UNUSED,
163 guint n_param_values,
164 const GValue *param_values,
165 gpointer invocation_hint G_GNUC_UNUSED,
166 gpointer marshal_data)
168 typedef void (*GMarshalFunc_VOID__UCHAR) (gpointer data1,
171 register GMarshalFunc_VOID__UCHAR callback;
172 register GCClosure *cc = (GCClosure*) closure;
173 register gpointer data1, data2;
175 g_return_if_fail (n_param_values == 2);
177 if (G_CCLOSURE_SWAP_DATA (closure))
179 data1 = closure->data;
180 data2 = g_value_peek_pointer (param_values + 0);
184 data1 = g_value_peek_pointer (param_values + 0);
185 data2 = closure->data;
187 callback = (GMarshalFunc_VOID__UCHAR) (marshal_data ? marshal_data : cc->callback);
190 g_marshal_value_peek_uchar (param_values + 1),
194 /* VOID:INT (./gmarshal.list:10) */
196 g_cclosure_marshal_VOID__INT (GClosure *closure,
197 GValue *return_value G_GNUC_UNUSED,
198 guint n_param_values,
199 const GValue *param_values,
200 gpointer invocation_hint G_GNUC_UNUSED,
201 gpointer marshal_data)
203 typedef void (*GMarshalFunc_VOID__INT) (gpointer data1,
206 register GMarshalFunc_VOID__INT callback;
207 register GCClosure *cc = (GCClosure*) closure;
208 register gpointer data1, data2;
210 g_return_if_fail (n_param_values == 2);
212 if (G_CCLOSURE_SWAP_DATA (closure))
214 data1 = closure->data;
215 data2 = g_value_peek_pointer (param_values + 0);
219 data1 = g_value_peek_pointer (param_values + 0);
220 data2 = closure->data;
222 callback = (GMarshalFunc_VOID__INT) (marshal_data ? marshal_data : cc->callback);
225 g_marshal_value_peek_int (param_values + 1),
229 /* VOID:UINT (./gmarshal.list:11) */
231 g_cclosure_marshal_VOID__UINT (GClosure *closure,
232 GValue *return_value G_GNUC_UNUSED,
233 guint n_param_values,
234 const GValue *param_values,
235 gpointer invocation_hint G_GNUC_UNUSED,
236 gpointer marshal_data)
238 typedef void (*GMarshalFunc_VOID__UINT) (gpointer data1,
241 register GMarshalFunc_VOID__UINT callback;
242 register GCClosure *cc = (GCClosure*) closure;
243 register gpointer data1, data2;
245 g_return_if_fail (n_param_values == 2);
247 if (G_CCLOSURE_SWAP_DATA (closure))
249 data1 = closure->data;
250 data2 = g_value_peek_pointer (param_values + 0);
254 data1 = g_value_peek_pointer (param_values + 0);
255 data2 = closure->data;
257 callback = (GMarshalFunc_VOID__UINT) (marshal_data ? marshal_data : cc->callback);
260 g_marshal_value_peek_uint (param_values + 1),
264 /* VOID:LONG (./gmarshal.list:12) */
266 g_cclosure_marshal_VOID__LONG (GClosure *closure,
267 GValue *return_value G_GNUC_UNUSED,
268 guint n_param_values,
269 const GValue *param_values,
270 gpointer invocation_hint G_GNUC_UNUSED,
271 gpointer marshal_data)
273 typedef void (*GMarshalFunc_VOID__LONG) (gpointer data1,
276 register GMarshalFunc_VOID__LONG callback;
277 register GCClosure *cc = (GCClosure*) closure;
278 register gpointer data1, data2;
280 g_return_if_fail (n_param_values == 2);
282 if (G_CCLOSURE_SWAP_DATA (closure))
284 data1 = closure->data;
285 data2 = g_value_peek_pointer (param_values + 0);
289 data1 = g_value_peek_pointer (param_values + 0);
290 data2 = closure->data;
292 callback = (GMarshalFunc_VOID__LONG) (marshal_data ? marshal_data : cc->callback);
295 g_marshal_value_peek_long (param_values + 1),
299 /* VOID:ULONG (./gmarshal.list:13) */
301 g_cclosure_marshal_VOID__ULONG (GClosure *closure,
302 GValue *return_value G_GNUC_UNUSED,
303 guint n_param_values,
304 const GValue *param_values,
305 gpointer invocation_hint G_GNUC_UNUSED,
306 gpointer marshal_data)
308 typedef void (*GMarshalFunc_VOID__ULONG) (gpointer data1,
311 register GMarshalFunc_VOID__ULONG callback;
312 register GCClosure *cc = (GCClosure*) closure;
313 register gpointer data1, data2;
315 g_return_if_fail (n_param_values == 2);
317 if (G_CCLOSURE_SWAP_DATA (closure))
319 data1 = closure->data;
320 data2 = g_value_peek_pointer (param_values + 0);
324 data1 = g_value_peek_pointer (param_values + 0);
325 data2 = closure->data;
327 callback = (GMarshalFunc_VOID__ULONG) (marshal_data ? marshal_data : cc->callback);
330 g_marshal_value_peek_ulong (param_values + 1),
334 /* VOID:ENUM (./gmarshal.list:14) */
336 g_cclosure_marshal_VOID__ENUM (GClosure *closure,
337 GValue *return_value G_GNUC_UNUSED,
338 guint n_param_values,
339 const GValue *param_values,
340 gpointer invocation_hint G_GNUC_UNUSED,
341 gpointer marshal_data)
343 typedef void (*GMarshalFunc_VOID__ENUM) (gpointer data1,
346 register GMarshalFunc_VOID__ENUM callback;
347 register GCClosure *cc = (GCClosure*) closure;
348 register gpointer data1, data2;
350 g_return_if_fail (n_param_values == 2);
352 if (G_CCLOSURE_SWAP_DATA (closure))
354 data1 = closure->data;
355 data2 = g_value_peek_pointer (param_values + 0);
359 data1 = g_value_peek_pointer (param_values + 0);
360 data2 = closure->data;
362 callback = (GMarshalFunc_VOID__ENUM) (marshal_data ? marshal_data : cc->callback);
365 g_marshal_value_peek_enum (param_values + 1),
369 /* VOID:FLAGS (./gmarshal.list:15) */
371 g_cclosure_marshal_VOID__FLAGS (GClosure *closure,
372 GValue *return_value G_GNUC_UNUSED,
373 guint n_param_values,
374 const GValue *param_values,
375 gpointer invocation_hint G_GNUC_UNUSED,
376 gpointer marshal_data)
378 typedef void (*GMarshalFunc_VOID__FLAGS) (gpointer data1,
381 register GMarshalFunc_VOID__FLAGS callback;
382 register GCClosure *cc = (GCClosure*) closure;
383 register gpointer data1, data2;
385 g_return_if_fail (n_param_values == 2);
387 if (G_CCLOSURE_SWAP_DATA (closure))
389 data1 = closure->data;
390 data2 = g_value_peek_pointer (param_values + 0);
394 data1 = g_value_peek_pointer (param_values + 0);
395 data2 = closure->data;
397 callback = (GMarshalFunc_VOID__FLAGS) (marshal_data ? marshal_data : cc->callback);
400 g_marshal_value_peek_flags (param_values + 1),
404 /* VOID:FLOAT (./gmarshal.list:16) */
406 g_cclosure_marshal_VOID__FLOAT (GClosure *closure,
407 GValue *return_value G_GNUC_UNUSED,
408 guint n_param_values,
409 const GValue *param_values,
410 gpointer invocation_hint G_GNUC_UNUSED,
411 gpointer marshal_data)
413 typedef void (*GMarshalFunc_VOID__FLOAT) (gpointer data1,
416 register GMarshalFunc_VOID__FLOAT callback;
417 register GCClosure *cc = (GCClosure*) closure;
418 register gpointer data1, data2;
420 g_return_if_fail (n_param_values == 2);
422 if (G_CCLOSURE_SWAP_DATA (closure))
424 data1 = closure->data;
425 data2 = g_value_peek_pointer (param_values + 0);
429 data1 = g_value_peek_pointer (param_values + 0);
430 data2 = closure->data;
432 callback = (GMarshalFunc_VOID__FLOAT) (marshal_data ? marshal_data : cc->callback);
435 g_marshal_value_peek_float (param_values + 1),
439 /* VOID:DOUBLE (./gmarshal.list:17) */
441 g_cclosure_marshal_VOID__DOUBLE (GClosure *closure,
442 GValue *return_value G_GNUC_UNUSED,
443 guint n_param_values,
444 const GValue *param_values,
445 gpointer invocation_hint G_GNUC_UNUSED,
446 gpointer marshal_data)
448 typedef void (*GMarshalFunc_VOID__DOUBLE) (gpointer data1,
451 register GMarshalFunc_VOID__DOUBLE callback;
452 register GCClosure *cc = (GCClosure*) closure;
453 register gpointer data1, data2;
455 g_return_if_fail (n_param_values == 2);
457 if (G_CCLOSURE_SWAP_DATA (closure))
459 data1 = closure->data;
460 data2 = g_value_peek_pointer (param_values + 0);
464 data1 = g_value_peek_pointer (param_values + 0);
465 data2 = closure->data;
467 callback = (GMarshalFunc_VOID__DOUBLE) (marshal_data ? marshal_data : cc->callback);
470 g_marshal_value_peek_double (param_values + 1),
474 /* VOID:STRING (./gmarshal.list:18) */
476 g_cclosure_marshal_VOID__STRING (GClosure *closure,
477 GValue *return_value G_GNUC_UNUSED,
478 guint n_param_values,
479 const GValue *param_values,
480 gpointer invocation_hint G_GNUC_UNUSED,
481 gpointer marshal_data)
483 typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
486 register GMarshalFunc_VOID__STRING callback;
487 register GCClosure *cc = (GCClosure*) closure;
488 register gpointer data1, data2;
490 g_return_if_fail (n_param_values == 2);
492 if (G_CCLOSURE_SWAP_DATA (closure))
494 data1 = closure->data;
495 data2 = g_value_peek_pointer (param_values + 0);
499 data1 = g_value_peek_pointer (param_values + 0);
500 data2 = closure->data;
502 callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
505 g_marshal_value_peek_string (param_values + 1),
509 /* VOID:PARAM (./gmarshal.list:19) */
511 g_cclosure_marshal_VOID__PARAM (GClosure *closure,
512 GValue *return_value G_GNUC_UNUSED,
513 guint n_param_values,
514 const GValue *param_values,
515 gpointer invocation_hint G_GNUC_UNUSED,
516 gpointer marshal_data)
518 typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
521 register GMarshalFunc_VOID__PARAM callback;
522 register GCClosure *cc = (GCClosure*) closure;
523 register gpointer data1, data2;
525 g_return_if_fail (n_param_values == 2);
527 if (G_CCLOSURE_SWAP_DATA (closure))
529 data1 = closure->data;
530 data2 = g_value_peek_pointer (param_values + 0);
534 data1 = g_value_peek_pointer (param_values + 0);
535 data2 = closure->data;
537 callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
540 g_marshal_value_peek_param (param_values + 1),
544 /* VOID:BOXED (./gmarshal.list:20) */
546 g_cclosure_marshal_VOID__BOXED (GClosure *closure,
547 GValue *return_value G_GNUC_UNUSED,
548 guint n_param_values,
549 const GValue *param_values,
550 gpointer invocation_hint G_GNUC_UNUSED,
551 gpointer marshal_data)
553 typedef void (*GMarshalFunc_VOID__BOXED) (gpointer data1,
556 register GMarshalFunc_VOID__BOXED callback;
557 register GCClosure *cc = (GCClosure*) closure;
558 register gpointer data1, data2;
560 g_return_if_fail (n_param_values == 2);
562 if (G_CCLOSURE_SWAP_DATA (closure))
564 data1 = closure->data;
565 data2 = g_value_peek_pointer (param_values + 0);
569 data1 = g_value_peek_pointer (param_values + 0);
570 data2 = closure->data;
572 callback = (GMarshalFunc_VOID__BOXED) (marshal_data ? marshal_data : cc->callback);
575 g_marshal_value_peek_boxed (param_values + 1),
579 /* VOID:POINTER (./gmarshal.list:21) */
581 g_cclosure_marshal_VOID__POINTER (GClosure *closure,
582 GValue *return_value G_GNUC_UNUSED,
583 guint n_param_values,
584 const GValue *param_values,
585 gpointer invocation_hint G_GNUC_UNUSED,
586 gpointer marshal_data)
588 typedef void (*GMarshalFunc_VOID__POINTER) (gpointer data1,
591 register GMarshalFunc_VOID__POINTER callback;
592 register GCClosure *cc = (GCClosure*) closure;
593 register gpointer data1, data2;
595 g_return_if_fail (n_param_values == 2);
597 if (G_CCLOSURE_SWAP_DATA (closure))
599 data1 = closure->data;
600 data2 = g_value_peek_pointer (param_values + 0);
604 data1 = g_value_peek_pointer (param_values + 0);
605 data2 = closure->data;
607 callback = (GMarshalFunc_VOID__POINTER) (marshal_data ? marshal_data : cc->callback);
610 g_marshal_value_peek_pointer (param_values + 1),
614 /* VOID:OBJECT (./gmarshal.list:22) */
616 g_cclosure_marshal_VOID__OBJECT (GClosure *closure,
617 GValue *return_value G_GNUC_UNUSED,
618 guint n_param_values,
619 const GValue *param_values,
620 gpointer invocation_hint G_GNUC_UNUSED,
621 gpointer marshal_data)
623 typedef void (*GMarshalFunc_VOID__OBJECT) (gpointer data1,
626 register GMarshalFunc_VOID__OBJECT callback;
627 register GCClosure *cc = (GCClosure*) closure;
628 register gpointer data1, data2;
630 g_return_if_fail (n_param_values == 2);
632 if (G_CCLOSURE_SWAP_DATA (closure))
634 data1 = closure->data;
635 data2 = g_value_peek_pointer (param_values + 0);
639 data1 = g_value_peek_pointer (param_values + 0);
640 data2 = closure->data;
642 callback = (GMarshalFunc_VOID__OBJECT) (marshal_data ? marshal_data : cc->callback);
645 g_marshal_value_peek_object (param_values + 1),
649 /* VOID:VARIANT (./gmarshal.list:23) */
651 g_cclosure_marshal_VOID__VARIANT (GClosure *closure,
652 GValue *return_value G_GNUC_UNUSED,
653 guint n_param_values,
654 const GValue *param_values,
655 gpointer invocation_hint G_GNUC_UNUSED,
656 gpointer marshal_data)
658 typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
661 register GMarshalFunc_VOID__VARIANT callback;
662 register GCClosure *cc = (GCClosure*) closure;
663 register gpointer data1, data2;
665 g_return_if_fail (n_param_values == 2);
667 if (G_CCLOSURE_SWAP_DATA (closure))
669 data1 = closure->data;
670 data2 = g_value_peek_pointer (param_values + 0);
674 data1 = g_value_peek_pointer (param_values + 0);
675 data2 = closure->data;
677 callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
680 g_marshal_value_peek_variant (param_values + 1),
684 /* VOID:UINT,POINTER (./gmarshal.list:26) */
686 g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure,
687 GValue *return_value G_GNUC_UNUSED,
688 guint n_param_values,
689 const GValue *param_values,
690 gpointer invocation_hint G_GNUC_UNUSED,
691 gpointer marshal_data)
693 typedef void (*GMarshalFunc_VOID__UINT_POINTER) (gpointer data1,
697 register GMarshalFunc_VOID__UINT_POINTER callback;
698 register GCClosure *cc = (GCClosure*) closure;
699 register gpointer data1, data2;
701 g_return_if_fail (n_param_values == 3);
703 if (G_CCLOSURE_SWAP_DATA (closure))
705 data1 = closure->data;
706 data2 = g_value_peek_pointer (param_values + 0);
710 data1 = g_value_peek_pointer (param_values + 0);
711 data2 = closure->data;
713 callback = (GMarshalFunc_VOID__UINT_POINTER) (marshal_data ? marshal_data : cc->callback);
716 g_marshal_value_peek_uint (param_values + 1),
717 g_marshal_value_peek_pointer (param_values + 2),
721 /* BOOL:FLAGS (./gmarshal.list:27) */
723 g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure,
724 GValue *return_value G_GNUC_UNUSED,
725 guint n_param_values,
726 const GValue *param_values,
727 gpointer invocation_hint G_GNUC_UNUSED,
728 gpointer marshal_data)
730 typedef gboolean (*GMarshalFunc_BOOLEAN__FLAGS) (gpointer data1,
733 register GMarshalFunc_BOOLEAN__FLAGS callback;
734 register GCClosure *cc = (GCClosure*) closure;
735 register gpointer data1, data2;
738 g_return_if_fail (return_value != NULL);
739 g_return_if_fail (n_param_values == 2);
741 if (G_CCLOSURE_SWAP_DATA (closure))
743 data1 = closure->data;
744 data2 = g_value_peek_pointer (param_values + 0);
748 data1 = g_value_peek_pointer (param_values + 0);
749 data2 = closure->data;
751 callback = (GMarshalFunc_BOOLEAN__FLAGS) (marshal_data ? marshal_data : cc->callback);
753 v_return = callback (data1,
754 g_marshal_value_peek_flags (param_values + 1),
757 g_value_set_boolean (return_value, v_return);
760 /* STRING:OBJECT,POINTER (./gmarshal.list:28) */
762 g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure,
763 GValue *return_value G_GNUC_UNUSED,
764 guint n_param_values,
765 const GValue *param_values,
766 gpointer invocation_hint G_GNUC_UNUSED,
767 gpointer marshal_data)
769 typedef gchar* (*GMarshalFunc_STRING__OBJECT_POINTER) (gpointer data1,
773 register GMarshalFunc_STRING__OBJECT_POINTER callback;
774 register GCClosure *cc = (GCClosure*) closure;
775 register gpointer data1, data2;
778 g_return_if_fail (return_value != NULL);
779 g_return_if_fail (n_param_values == 3);
781 if (G_CCLOSURE_SWAP_DATA (closure))
783 data1 = closure->data;
784 data2 = g_value_peek_pointer (param_values + 0);
788 data1 = g_value_peek_pointer (param_values + 0);
789 data2 = closure->data;
791 callback = (GMarshalFunc_STRING__OBJECT_POINTER) (marshal_data ? marshal_data : cc->callback);
793 v_return = callback (data1,
794 g_marshal_value_peek_object (param_values + 1),
795 g_marshal_value_peek_pointer (param_values + 2),
798 g_value_take_string (return_value, v_return);
801 /* BOOL:BOXED,BOXED (./gmarshal.list:29) */
803 g_cclosure_marshal_BOOLEAN__BOXED_BOXED (GClosure *closure,
804 GValue *return_value G_GNUC_UNUSED,
805 guint n_param_values,
806 const GValue *param_values,
807 gpointer invocation_hint G_GNUC_UNUSED,
808 gpointer marshal_data)
810 typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_BOXED) (gpointer data1,
814 register GMarshalFunc_BOOLEAN__BOXED_BOXED callback;
815 register GCClosure *cc = (GCClosure*) closure;
816 register gpointer data1, data2;
819 g_return_if_fail (return_value != NULL);
820 g_return_if_fail (n_param_values == 3);
822 if (G_CCLOSURE_SWAP_DATA (closure))
824 data1 = closure->data;
825 data2 = g_value_peek_pointer (param_values + 0);
829 data1 = g_value_peek_pointer (param_values + 0);
830 data2 = closure->data;
832 callback = (GMarshalFunc_BOOLEAN__BOXED_BOXED) (marshal_data ? marshal_data : cc->callback);
834 v_return = callback (data1,
835 g_marshal_value_peek_boxed (param_values + 1),
836 g_marshal_value_peek_boxed (param_values + 2),
839 g_value_set_boolean (return_value, v_return);