annotate src/gq-marshal.c @ 1112:b223ad7f4867

Reformat more pages.
author zas_
date Mon, 10 Nov 2008 13:00:29 +0000
parents 1646720364cf
children c9949c19a6d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1012
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
1 #include "gq-marshal.h"
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
2
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
3 #include <glib-object.h>
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
4
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
5
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
6 #ifdef G_ENABLE_DEBUG
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
7 #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
8 #define g_marshal_value_peek_char(v) g_value_get_char (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
9 #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
10 #define g_marshal_value_peek_int(v) g_value_get_int (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
11 #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
12 #define g_marshal_value_peek_long(v) g_value_get_long (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
13 #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
14 #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
15 #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
16 #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
17 #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
18 #define g_marshal_value_peek_float(v) g_value_get_float (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
19 #define g_marshal_value_peek_double(v) g_value_get_double (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
20 #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
21 #define g_marshal_value_peek_param(v) g_value_get_param (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
22 #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
23 #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
24 #define g_marshal_value_peek_object(v) g_value_get_object (v)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
25 #else /* !G_ENABLE_DEBUG */
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
26 /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
27 * Do not access GValues directly in your code. Instead, use the
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
28 * g_value_get_*() functions
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
29 */
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
30 #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
31 #define g_marshal_value_peek_char(v) (v)->data[0].v_int
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
32 #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
33 #define g_marshal_value_peek_int(v) (v)->data[0].v_int
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
34 #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
35 #define g_marshal_value_peek_long(v) (v)->data[0].v_long
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
36 #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
37 #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
38 #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
39 #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
40 #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
41 #define g_marshal_value_peek_float(v) (v)->data[0].v_float
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
42 #define g_marshal_value_peek_double(v) (v)->data[0].v_double
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
43 #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
44 #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
45 #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
46 #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
47 #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
48 #endif /* !G_ENABLE_DEBUG */
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
49
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
50
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
51 /* VOID:VOID (gq-marshal.list:1) */
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
52
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
53 /* VOID:INT,INT,INT,INT (gq-marshal.list:2) */
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
54 void
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
55 gq_marshal_VOID__INT_INT_INT_INT (GClosure *closure,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
56 GValue *return_value G_GNUC_UNUSED,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
57 guint n_param_values,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
58 const GValue *param_values,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
59 gpointer invocation_hint G_GNUC_UNUSED,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
60 gpointer marshal_data)
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
61 {
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
62 typedef void (*GMarshalFunc_VOID__INT_INT_INT_INT) (gpointer data1,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
63 gint arg_1,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
64 gint arg_2,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
65 gint arg_3,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
66 gint arg_4,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
67 gpointer data2);
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
68 register GMarshalFunc_VOID__INT_INT_INT_INT callback;
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
69 register GCClosure *cc = (GCClosure*) closure;
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
70 register gpointer data1, data2;
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
71
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
72 g_return_if_fail (n_param_values == 5);
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
73
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
74 if (G_CCLOSURE_SWAP_DATA (closure))
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
75 {
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
76 data1 = closure->data;
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
77 data2 = g_value_peek_pointer (param_values + 0);
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
78 }
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
79 else
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
80 {
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
81 data1 = g_value_peek_pointer (param_values + 0);
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
82 data2 = closure->data;
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
83 }
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
84 callback = (GMarshalFunc_VOID__INT_INT_INT_INT) (marshal_data ? marshal_data : cc->callback);
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
85
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
86 callback (data1,
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
87 g_marshal_value_peek_int (param_values + 1),
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
88 g_marshal_value_peek_int (param_values + 2),
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
89 g_marshal_value_peek_int (param_values + 3),
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
90 g_marshal_value_peek_int (param_values + 4),
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
91 data2);
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
92 }
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
93
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
94 /* VOID:DOUBLE (gq-marshal.list:3) */
fe82830ab8fd converted image loader to a GObject and use signals for notification
nadvornik
parents:
diff changeset
95
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 1012
diff changeset
96 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */