sl@0
|
1 |
/*
|
sl@0
|
2 |
* Portions copyright (c) 2006-2009 Nokia Corporation. All rights reserved.
|
sl@0
|
3 |
*/
|
sl@0
|
4 |
|
sl@0
|
5 |
|
sl@0
|
6 |
#ifdef G_ENABLE_DEBUG
|
sl@0
|
7 |
#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
|
sl@0
|
8 |
#define g_marshal_value_peek_char(v) g_value_get_char (v)
|
sl@0
|
9 |
#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
|
sl@0
|
10 |
#define g_marshal_value_peek_int(v) g_value_get_int (v)
|
sl@0
|
11 |
#define g_marshal_value_peek_uint(v) g_value_get_uint (v)
|
sl@0
|
12 |
#define g_marshal_value_peek_long(v) g_value_get_long (v)
|
sl@0
|
13 |
#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
|
sl@0
|
14 |
#define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
|
sl@0
|
15 |
#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
|
sl@0
|
16 |
#define g_marshal_value_peek_enum(v) g_value_get_enum (v)
|
sl@0
|
17 |
#define g_marshal_value_peek_flags(v) g_value_get_flags (v)
|
sl@0
|
18 |
#define g_marshal_value_peek_float(v) g_value_get_float (v)
|
sl@0
|
19 |
#define g_marshal_value_peek_double(v) g_value_get_double (v)
|
sl@0
|
20 |
#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
|
sl@0
|
21 |
#define g_marshal_value_peek_param(v) g_value_get_param (v)
|
sl@0
|
22 |
#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
|
sl@0
|
23 |
#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
|
sl@0
|
24 |
#define g_marshal_value_peek_object(v) g_value_get_object (v)
|
sl@0
|
25 |
#else /* !G_ENABLE_DEBUG */
|
sl@0
|
26 |
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
|
sl@0
|
27 |
* Do not access GValues directly in your code. Instead, use the
|
sl@0
|
28 |
* g_value_get_*() functions
|
sl@0
|
29 |
*/
|
sl@0
|
30 |
#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
|
sl@0
|
31 |
#define g_marshal_value_peek_char(v) (v)->data[0].v_int
|
sl@0
|
32 |
#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
|
sl@0
|
33 |
#define g_marshal_value_peek_int(v) (v)->data[0].v_int
|
sl@0
|
34 |
#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
|
sl@0
|
35 |
#define g_marshal_value_peek_long(v) (v)->data[0].v_long
|
sl@0
|
36 |
#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
|
sl@0
|
37 |
#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
|
sl@0
|
38 |
#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
|
sl@0
|
39 |
#define g_marshal_value_peek_enum(v) (v)->data[0].v_long
|
sl@0
|
40 |
#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
|
sl@0
|
41 |
#define g_marshal_value_peek_float(v) (v)->data[0].v_float
|
sl@0
|
42 |
#define g_marshal_value_peek_double(v) (v)->data[0].v_double
|
sl@0
|
43 |
#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
|
sl@0
|
44 |
#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
|
sl@0
|
45 |
#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
|
sl@0
|
46 |
#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
|
sl@0
|
47 |
#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
|
sl@0
|
48 |
#endif /* !G_ENABLE_DEBUG */
|
sl@0
|
49 |
|
sl@0
|
50 |
|
sl@0
|
51 |
/* VOID:VOID (./gmarshal.list:26) */
|
sl@0
|
52 |
EXPORT_C void
|
sl@0
|
53 |
g_cclosure_marshal_VOID__VOID (GClosure *closure,
|
sl@0
|
54 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
55 |
guint n_param_values,
|
sl@0
|
56 |
const GValue *param_values,
|
sl@0
|
57 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
58 |
gpointer marshal_data)
|
sl@0
|
59 |
{
|
sl@0
|
60 |
typedef void (*GMarshalFunc_VOID__VOID) (gpointer data1,
|
sl@0
|
61 |
gpointer data2);
|
sl@0
|
62 |
register GMarshalFunc_VOID__VOID callback;
|
sl@0
|
63 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
64 |
register gpointer data1, data2;
|
sl@0
|
65 |
|
sl@0
|
66 |
g_return_if_fail (n_param_values == 1);
|
sl@0
|
67 |
|
sl@0
|
68 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
69 |
{
|
sl@0
|
70 |
data1 = closure->data;
|
sl@0
|
71 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
72 |
}
|
sl@0
|
73 |
else
|
sl@0
|
74 |
{
|
sl@0
|
75 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
76 |
data2 = closure->data;
|
sl@0
|
77 |
}
|
sl@0
|
78 |
callback = (GMarshalFunc_VOID__VOID) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
79 |
|
sl@0
|
80 |
callback (data1,
|
sl@0
|
81 |
data2);
|
sl@0
|
82 |
}
|
sl@0
|
83 |
|
sl@0
|
84 |
/* VOID:BOOLEAN (./gmarshal.list:27) */
|
sl@0
|
85 |
EXPORT_C void
|
sl@0
|
86 |
g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure,
|
sl@0
|
87 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
88 |
guint n_param_values,
|
sl@0
|
89 |
const GValue *param_values,
|
sl@0
|
90 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
91 |
gpointer marshal_data)
|
sl@0
|
92 |
{
|
sl@0
|
93 |
typedef void (*GMarshalFunc_VOID__BOOLEAN) (gpointer data1,
|
sl@0
|
94 |
gboolean arg_1,
|
sl@0
|
95 |
gpointer data2);
|
sl@0
|
96 |
register GMarshalFunc_VOID__BOOLEAN callback;
|
sl@0
|
97 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
98 |
register gpointer data1, data2;
|
sl@0
|
99 |
|
sl@0
|
100 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
101 |
|
sl@0
|
102 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
103 |
{
|
sl@0
|
104 |
data1 = closure->data;
|
sl@0
|
105 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
106 |
}
|
sl@0
|
107 |
else
|
sl@0
|
108 |
{
|
sl@0
|
109 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
110 |
data2 = closure->data;
|
sl@0
|
111 |
}
|
sl@0
|
112 |
callback = (GMarshalFunc_VOID__BOOLEAN) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
113 |
|
sl@0
|
114 |
callback (data1,
|
sl@0
|
115 |
g_marshal_value_peek_boolean (param_values + 1),
|
sl@0
|
116 |
data2);
|
sl@0
|
117 |
}
|
sl@0
|
118 |
|
sl@0
|
119 |
/* VOID:CHAR (./gmarshal.list:28) */
|
sl@0
|
120 |
EXPORT_C void
|
sl@0
|
121 |
g_cclosure_marshal_VOID__CHAR (GClosure *closure,
|
sl@0
|
122 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
123 |
guint n_param_values,
|
sl@0
|
124 |
const GValue *param_values,
|
sl@0
|
125 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
126 |
gpointer marshal_data)
|
sl@0
|
127 |
{
|
sl@0
|
128 |
typedef void (*GMarshalFunc_VOID__CHAR) (gpointer data1,
|
sl@0
|
129 |
gchar arg_1,
|
sl@0
|
130 |
gpointer data2);
|
sl@0
|
131 |
register GMarshalFunc_VOID__CHAR callback;
|
sl@0
|
132 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
133 |
register gpointer data1, data2;
|
sl@0
|
134 |
|
sl@0
|
135 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
136 |
|
sl@0
|
137 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
138 |
{
|
sl@0
|
139 |
data1 = closure->data;
|
sl@0
|
140 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
141 |
}
|
sl@0
|
142 |
else
|
sl@0
|
143 |
{
|
sl@0
|
144 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
145 |
data2 = closure->data;
|
sl@0
|
146 |
}
|
sl@0
|
147 |
callback = (GMarshalFunc_VOID__CHAR) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
148 |
|
sl@0
|
149 |
callback (data1,
|
sl@0
|
150 |
g_marshal_value_peek_char (param_values + 1),
|
sl@0
|
151 |
data2);
|
sl@0
|
152 |
}
|
sl@0
|
153 |
|
sl@0
|
154 |
/* VOID:UCHAR (./gmarshal.list:29) */
|
sl@0
|
155 |
EXPORT_C void
|
sl@0
|
156 |
g_cclosure_marshal_VOID__UCHAR (GClosure *closure,
|
sl@0
|
157 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
158 |
guint n_param_values,
|
sl@0
|
159 |
const GValue *param_values,
|
sl@0
|
160 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
161 |
gpointer marshal_data)
|
sl@0
|
162 |
{
|
sl@0
|
163 |
typedef void (*GMarshalFunc_VOID__UCHAR) (gpointer data1,
|
sl@0
|
164 |
guchar arg_1,
|
sl@0
|
165 |
gpointer data2);
|
sl@0
|
166 |
register GMarshalFunc_VOID__UCHAR callback;
|
sl@0
|
167 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
168 |
register gpointer data1, data2;
|
sl@0
|
169 |
|
sl@0
|
170 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
171 |
|
sl@0
|
172 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
173 |
{
|
sl@0
|
174 |
data1 = closure->data;
|
sl@0
|
175 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
176 |
}
|
sl@0
|
177 |
else
|
sl@0
|
178 |
{
|
sl@0
|
179 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
180 |
data2 = closure->data;
|
sl@0
|
181 |
}
|
sl@0
|
182 |
callback = (GMarshalFunc_VOID__UCHAR) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
183 |
|
sl@0
|
184 |
callback (data1,
|
sl@0
|
185 |
g_marshal_value_peek_uchar (param_values + 1),
|
sl@0
|
186 |
data2);
|
sl@0
|
187 |
}
|
sl@0
|
188 |
|
sl@0
|
189 |
/* VOID:INT (./gmarshal.list:30) */
|
sl@0
|
190 |
EXPORT_C void
|
sl@0
|
191 |
g_cclosure_marshal_VOID__INT (GClosure *closure,
|
sl@0
|
192 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
193 |
guint n_param_values,
|
sl@0
|
194 |
const GValue *param_values,
|
sl@0
|
195 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
196 |
gpointer marshal_data)
|
sl@0
|
197 |
{
|
sl@0
|
198 |
typedef void (*GMarshalFunc_VOID__INT) (gpointer data1,
|
sl@0
|
199 |
gint arg_1,
|
sl@0
|
200 |
gpointer data2);
|
sl@0
|
201 |
register GMarshalFunc_VOID__INT callback;
|
sl@0
|
202 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
203 |
register gpointer data1, data2;
|
sl@0
|
204 |
|
sl@0
|
205 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
206 |
|
sl@0
|
207 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
208 |
{
|
sl@0
|
209 |
data1 = closure->data;
|
sl@0
|
210 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
211 |
}
|
sl@0
|
212 |
else
|
sl@0
|
213 |
{
|
sl@0
|
214 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
215 |
data2 = closure->data;
|
sl@0
|
216 |
}
|
sl@0
|
217 |
callback = (GMarshalFunc_VOID__INT) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
218 |
|
sl@0
|
219 |
callback (data1,
|
sl@0
|
220 |
g_marshal_value_peek_int (param_values + 1),
|
sl@0
|
221 |
data2);
|
sl@0
|
222 |
}
|
sl@0
|
223 |
|
sl@0
|
224 |
/* VOID:UINT (./gmarshal.list:31) */
|
sl@0
|
225 |
EXPORT_C void
|
sl@0
|
226 |
g_cclosure_marshal_VOID__UINT (GClosure *closure,
|
sl@0
|
227 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
228 |
guint n_param_values,
|
sl@0
|
229 |
const GValue *param_values,
|
sl@0
|
230 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
231 |
gpointer marshal_data)
|
sl@0
|
232 |
{
|
sl@0
|
233 |
typedef void (*GMarshalFunc_VOID__UINT) (gpointer data1,
|
sl@0
|
234 |
guint arg_1,
|
sl@0
|
235 |
gpointer data2);
|
sl@0
|
236 |
register GMarshalFunc_VOID__UINT callback;
|
sl@0
|
237 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
238 |
register gpointer data1, data2;
|
sl@0
|
239 |
|
sl@0
|
240 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
241 |
|
sl@0
|
242 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
243 |
{
|
sl@0
|
244 |
data1 = closure->data;
|
sl@0
|
245 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
246 |
}
|
sl@0
|
247 |
else
|
sl@0
|
248 |
{
|
sl@0
|
249 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
250 |
data2 = closure->data;
|
sl@0
|
251 |
}
|
sl@0
|
252 |
callback = (GMarshalFunc_VOID__UINT) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
253 |
|
sl@0
|
254 |
callback (data1,
|
sl@0
|
255 |
g_marshal_value_peek_uint (param_values + 1),
|
sl@0
|
256 |
data2);
|
sl@0
|
257 |
}
|
sl@0
|
258 |
|
sl@0
|
259 |
/* VOID:LONG (./gmarshal.list:32) */
|
sl@0
|
260 |
EXPORT_C void
|
sl@0
|
261 |
g_cclosure_marshal_VOID__LONG (GClosure *closure,
|
sl@0
|
262 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
263 |
guint n_param_values,
|
sl@0
|
264 |
const GValue *param_values,
|
sl@0
|
265 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
266 |
gpointer marshal_data)
|
sl@0
|
267 |
{
|
sl@0
|
268 |
typedef void (*GMarshalFunc_VOID__LONG) (gpointer data1,
|
sl@0
|
269 |
glong arg_1,
|
sl@0
|
270 |
gpointer data2);
|
sl@0
|
271 |
register GMarshalFunc_VOID__LONG callback;
|
sl@0
|
272 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
273 |
register gpointer data1, data2;
|
sl@0
|
274 |
|
sl@0
|
275 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
276 |
|
sl@0
|
277 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
278 |
{
|
sl@0
|
279 |
data1 = closure->data;
|
sl@0
|
280 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
281 |
}
|
sl@0
|
282 |
else
|
sl@0
|
283 |
{
|
sl@0
|
284 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
285 |
data2 = closure->data;
|
sl@0
|
286 |
}
|
sl@0
|
287 |
callback = (GMarshalFunc_VOID__LONG) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
288 |
|
sl@0
|
289 |
callback (data1,
|
sl@0
|
290 |
g_marshal_value_peek_long (param_values + 1),
|
sl@0
|
291 |
data2);
|
sl@0
|
292 |
}
|
sl@0
|
293 |
|
sl@0
|
294 |
/* VOID:ULONG (./gmarshal.list:33) */
|
sl@0
|
295 |
EXPORT_C void
|
sl@0
|
296 |
g_cclosure_marshal_VOID__ULONG (GClosure *closure,
|
sl@0
|
297 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
298 |
guint n_param_values,
|
sl@0
|
299 |
const GValue *param_values,
|
sl@0
|
300 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
301 |
gpointer marshal_data)
|
sl@0
|
302 |
{
|
sl@0
|
303 |
typedef void (*GMarshalFunc_VOID__ULONG) (gpointer data1,
|
sl@0
|
304 |
gulong arg_1,
|
sl@0
|
305 |
gpointer data2);
|
sl@0
|
306 |
register GMarshalFunc_VOID__ULONG callback;
|
sl@0
|
307 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
308 |
register gpointer data1, data2;
|
sl@0
|
309 |
|
sl@0
|
310 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
311 |
|
sl@0
|
312 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
313 |
{
|
sl@0
|
314 |
data1 = closure->data;
|
sl@0
|
315 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
316 |
}
|
sl@0
|
317 |
else
|
sl@0
|
318 |
{
|
sl@0
|
319 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
320 |
data2 = closure->data;
|
sl@0
|
321 |
}
|
sl@0
|
322 |
callback = (GMarshalFunc_VOID__ULONG) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
323 |
|
sl@0
|
324 |
callback (data1,
|
sl@0
|
325 |
g_marshal_value_peek_ulong (param_values + 1),
|
sl@0
|
326 |
data2);
|
sl@0
|
327 |
}
|
sl@0
|
328 |
|
sl@0
|
329 |
/* VOID:ENUM (./gmarshal.list:34) */
|
sl@0
|
330 |
EXPORT_C void
|
sl@0
|
331 |
g_cclosure_marshal_VOID__ENUM (GClosure *closure,
|
sl@0
|
332 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
333 |
guint n_param_values,
|
sl@0
|
334 |
const GValue *param_values,
|
sl@0
|
335 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
336 |
gpointer marshal_data)
|
sl@0
|
337 |
{
|
sl@0
|
338 |
typedef void (*GMarshalFunc_VOID__ENUM) (gpointer data1,
|
sl@0
|
339 |
gint arg_1,
|
sl@0
|
340 |
gpointer data2);
|
sl@0
|
341 |
register GMarshalFunc_VOID__ENUM callback;
|
sl@0
|
342 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
343 |
register gpointer data1, data2;
|
sl@0
|
344 |
|
sl@0
|
345 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
346 |
|
sl@0
|
347 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
348 |
{
|
sl@0
|
349 |
data1 = closure->data;
|
sl@0
|
350 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
351 |
}
|
sl@0
|
352 |
else
|
sl@0
|
353 |
{
|
sl@0
|
354 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
355 |
data2 = closure->data;
|
sl@0
|
356 |
}
|
sl@0
|
357 |
callback = (GMarshalFunc_VOID__ENUM) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
358 |
|
sl@0
|
359 |
callback (data1,
|
sl@0
|
360 |
g_marshal_value_peek_enum (param_values + 1),
|
sl@0
|
361 |
data2);
|
sl@0
|
362 |
}
|
sl@0
|
363 |
|
sl@0
|
364 |
/* VOID:FLAGS (./gmarshal.list:35) */
|
sl@0
|
365 |
EXPORT_C void
|
sl@0
|
366 |
g_cclosure_marshal_VOID__FLAGS (GClosure *closure,
|
sl@0
|
367 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
368 |
guint n_param_values,
|
sl@0
|
369 |
const GValue *param_values,
|
sl@0
|
370 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
371 |
gpointer marshal_data)
|
sl@0
|
372 |
{
|
sl@0
|
373 |
typedef void (*GMarshalFunc_VOID__FLAGS) (gpointer data1,
|
sl@0
|
374 |
guint arg_1,
|
sl@0
|
375 |
gpointer data2);
|
sl@0
|
376 |
register GMarshalFunc_VOID__FLAGS callback;
|
sl@0
|
377 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
378 |
register gpointer data1, data2;
|
sl@0
|
379 |
|
sl@0
|
380 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
381 |
|
sl@0
|
382 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
383 |
{
|
sl@0
|
384 |
data1 = closure->data;
|
sl@0
|
385 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
386 |
}
|
sl@0
|
387 |
else
|
sl@0
|
388 |
{
|
sl@0
|
389 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
390 |
data2 = closure->data;
|
sl@0
|
391 |
}
|
sl@0
|
392 |
callback = (GMarshalFunc_VOID__FLAGS) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
393 |
|
sl@0
|
394 |
callback (data1,
|
sl@0
|
395 |
g_marshal_value_peek_flags (param_values + 1),
|
sl@0
|
396 |
data2);
|
sl@0
|
397 |
}
|
sl@0
|
398 |
|
sl@0
|
399 |
/* VOID:FLOAT (./gmarshal.list:36) */
|
sl@0
|
400 |
EXPORT_C void
|
sl@0
|
401 |
g_cclosure_marshal_VOID__FLOAT (GClosure *closure,
|
sl@0
|
402 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
403 |
guint n_param_values,
|
sl@0
|
404 |
const GValue *param_values,
|
sl@0
|
405 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
406 |
gpointer marshal_data)
|
sl@0
|
407 |
{
|
sl@0
|
408 |
typedef void (*GMarshalFunc_VOID__FLOAT) (gpointer data1,
|
sl@0
|
409 |
gfloat arg_1,
|
sl@0
|
410 |
gpointer data2);
|
sl@0
|
411 |
register GMarshalFunc_VOID__FLOAT callback;
|
sl@0
|
412 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
413 |
register gpointer data1, data2;
|
sl@0
|
414 |
|
sl@0
|
415 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
416 |
|
sl@0
|
417 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
418 |
{
|
sl@0
|
419 |
data1 = closure->data;
|
sl@0
|
420 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
421 |
}
|
sl@0
|
422 |
else
|
sl@0
|
423 |
{
|
sl@0
|
424 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
425 |
data2 = closure->data;
|
sl@0
|
426 |
}
|
sl@0
|
427 |
callback = (GMarshalFunc_VOID__FLOAT) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
428 |
|
sl@0
|
429 |
callback (data1,
|
sl@0
|
430 |
g_marshal_value_peek_float (param_values + 1),
|
sl@0
|
431 |
data2);
|
sl@0
|
432 |
}
|
sl@0
|
433 |
|
sl@0
|
434 |
/* VOID:DOUBLE (./gmarshal.list:37) */
|
sl@0
|
435 |
EXPORT_C void
|
sl@0
|
436 |
g_cclosure_marshal_VOID__DOUBLE (GClosure *closure,
|
sl@0
|
437 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
438 |
guint n_param_values,
|
sl@0
|
439 |
const GValue *param_values,
|
sl@0
|
440 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
441 |
gpointer marshal_data)
|
sl@0
|
442 |
{
|
sl@0
|
443 |
typedef void (*GMarshalFunc_VOID__DOUBLE) (gpointer data1,
|
sl@0
|
444 |
gdouble arg_1,
|
sl@0
|
445 |
gpointer data2);
|
sl@0
|
446 |
register GMarshalFunc_VOID__DOUBLE callback;
|
sl@0
|
447 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
448 |
register gpointer data1, data2;
|
sl@0
|
449 |
|
sl@0
|
450 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
451 |
|
sl@0
|
452 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
453 |
{
|
sl@0
|
454 |
data1 = closure->data;
|
sl@0
|
455 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
456 |
}
|
sl@0
|
457 |
else
|
sl@0
|
458 |
{
|
sl@0
|
459 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
460 |
data2 = closure->data;
|
sl@0
|
461 |
}
|
sl@0
|
462 |
callback = (GMarshalFunc_VOID__DOUBLE) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
463 |
|
sl@0
|
464 |
callback (data1,
|
sl@0
|
465 |
g_marshal_value_peek_double (param_values + 1),
|
sl@0
|
466 |
data2);
|
sl@0
|
467 |
}
|
sl@0
|
468 |
|
sl@0
|
469 |
/* VOID:STRING (./gmarshal.list:38) */
|
sl@0
|
470 |
EXPORT_C void
|
sl@0
|
471 |
g_cclosure_marshal_VOID__STRING (GClosure *closure,
|
sl@0
|
472 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
473 |
guint n_param_values,
|
sl@0
|
474 |
const GValue *param_values,
|
sl@0
|
475 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
476 |
gpointer marshal_data)
|
sl@0
|
477 |
{
|
sl@0
|
478 |
typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
|
sl@0
|
479 |
gpointer arg_1,
|
sl@0
|
480 |
gpointer data2);
|
sl@0
|
481 |
register GMarshalFunc_VOID__STRING callback;
|
sl@0
|
482 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
483 |
register gpointer data1, data2;
|
sl@0
|
484 |
|
sl@0
|
485 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
486 |
|
sl@0
|
487 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
488 |
{
|
sl@0
|
489 |
data1 = closure->data;
|
sl@0
|
490 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
491 |
}
|
sl@0
|
492 |
else
|
sl@0
|
493 |
{
|
sl@0
|
494 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
495 |
data2 = closure->data;
|
sl@0
|
496 |
}
|
sl@0
|
497 |
callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
498 |
|
sl@0
|
499 |
callback (data1,
|
sl@0
|
500 |
g_marshal_value_peek_string (param_values + 1),
|
sl@0
|
501 |
data2);
|
sl@0
|
502 |
}
|
sl@0
|
503 |
|
sl@0
|
504 |
/* VOID:PARAM (./gmarshal.list:39) */
|
sl@0
|
505 |
EXPORT_C void
|
sl@0
|
506 |
g_cclosure_marshal_VOID__PARAM (GClosure *closure,
|
sl@0
|
507 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
508 |
guint n_param_values,
|
sl@0
|
509 |
const GValue *param_values,
|
sl@0
|
510 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
511 |
gpointer marshal_data)
|
sl@0
|
512 |
{
|
sl@0
|
513 |
typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
|
sl@0
|
514 |
gpointer arg_1,
|
sl@0
|
515 |
gpointer data2);
|
sl@0
|
516 |
register GMarshalFunc_VOID__PARAM callback;
|
sl@0
|
517 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
518 |
register gpointer data1, data2;
|
sl@0
|
519 |
|
sl@0
|
520 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
521 |
|
sl@0
|
522 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
523 |
{
|
sl@0
|
524 |
data1 = closure->data;
|
sl@0
|
525 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
526 |
}
|
sl@0
|
527 |
else
|
sl@0
|
528 |
{
|
sl@0
|
529 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
530 |
data2 = closure->data;
|
sl@0
|
531 |
}
|
sl@0
|
532 |
callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
533 |
|
sl@0
|
534 |
callback (data1,
|
sl@0
|
535 |
g_marshal_value_peek_param (param_values + 1),
|
sl@0
|
536 |
data2);
|
sl@0
|
537 |
}
|
sl@0
|
538 |
|
sl@0
|
539 |
/* VOID:BOXED (./gmarshal.list:40) */
|
sl@0
|
540 |
EXPORT_C void
|
sl@0
|
541 |
g_cclosure_marshal_VOID__BOXED (GClosure *closure,
|
sl@0
|
542 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
543 |
guint n_param_values,
|
sl@0
|
544 |
const GValue *param_values,
|
sl@0
|
545 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
546 |
gpointer marshal_data)
|
sl@0
|
547 |
{
|
sl@0
|
548 |
typedef void (*GMarshalFunc_VOID__BOXED) (gpointer data1,
|
sl@0
|
549 |
gpointer arg_1,
|
sl@0
|
550 |
gpointer data2);
|
sl@0
|
551 |
register GMarshalFunc_VOID__BOXED callback;
|
sl@0
|
552 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
553 |
register gpointer data1, data2;
|
sl@0
|
554 |
|
sl@0
|
555 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
556 |
|
sl@0
|
557 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
558 |
{
|
sl@0
|
559 |
data1 = closure->data;
|
sl@0
|
560 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
561 |
}
|
sl@0
|
562 |
else
|
sl@0
|
563 |
{
|
sl@0
|
564 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
565 |
data2 = closure->data;
|
sl@0
|
566 |
}
|
sl@0
|
567 |
callback = (GMarshalFunc_VOID__BOXED) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
568 |
|
sl@0
|
569 |
callback (data1,
|
sl@0
|
570 |
g_marshal_value_peek_boxed (param_values + 1),
|
sl@0
|
571 |
data2);
|
sl@0
|
572 |
}
|
sl@0
|
573 |
|
sl@0
|
574 |
/* VOID:POINTER (./gmarshal.list:41) */
|
sl@0
|
575 |
EXPORT_C void
|
sl@0
|
576 |
g_cclosure_marshal_VOID__POINTER (GClosure *closure,
|
sl@0
|
577 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
578 |
guint n_param_values,
|
sl@0
|
579 |
const GValue *param_values,
|
sl@0
|
580 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
581 |
gpointer marshal_data)
|
sl@0
|
582 |
{
|
sl@0
|
583 |
typedef void (*GMarshalFunc_VOID__POINTER) (gpointer data1,
|
sl@0
|
584 |
gpointer arg_1,
|
sl@0
|
585 |
gpointer data2);
|
sl@0
|
586 |
register GMarshalFunc_VOID__POINTER callback;
|
sl@0
|
587 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
588 |
register gpointer data1, data2;
|
sl@0
|
589 |
|
sl@0
|
590 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
591 |
|
sl@0
|
592 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
593 |
{
|
sl@0
|
594 |
data1 = closure->data;
|
sl@0
|
595 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
596 |
}
|
sl@0
|
597 |
else
|
sl@0
|
598 |
{
|
sl@0
|
599 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
600 |
data2 = closure->data;
|
sl@0
|
601 |
}
|
sl@0
|
602 |
callback = (GMarshalFunc_VOID__POINTER) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
603 |
|
sl@0
|
604 |
callback (data1,
|
sl@0
|
605 |
g_marshal_value_peek_pointer (param_values + 1),
|
sl@0
|
606 |
data2);
|
sl@0
|
607 |
}
|
sl@0
|
608 |
|
sl@0
|
609 |
/* VOID:OBJECT (./gmarshal.list:42) */
|
sl@0
|
610 |
EXPORT_C void
|
sl@0
|
611 |
g_cclosure_marshal_VOID__OBJECT (GClosure *closure,
|
sl@0
|
612 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
613 |
guint n_param_values,
|
sl@0
|
614 |
const GValue *param_values,
|
sl@0
|
615 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
616 |
gpointer marshal_data)
|
sl@0
|
617 |
{
|
sl@0
|
618 |
typedef void (*GMarshalFunc_VOID__OBJECT) (gpointer data1,
|
sl@0
|
619 |
gpointer arg_1,
|
sl@0
|
620 |
gpointer data2);
|
sl@0
|
621 |
register GMarshalFunc_VOID__OBJECT callback;
|
sl@0
|
622 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
623 |
register gpointer data1, data2;
|
sl@0
|
624 |
|
sl@0
|
625 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
626 |
|
sl@0
|
627 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
628 |
{
|
sl@0
|
629 |
data1 = closure->data;
|
sl@0
|
630 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
631 |
}
|
sl@0
|
632 |
else
|
sl@0
|
633 |
{
|
sl@0
|
634 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
635 |
data2 = closure->data;
|
sl@0
|
636 |
}
|
sl@0
|
637 |
callback = (GMarshalFunc_VOID__OBJECT) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
638 |
|
sl@0
|
639 |
callback (data1,
|
sl@0
|
640 |
g_marshal_value_peek_object (param_values + 1),
|
sl@0
|
641 |
data2);
|
sl@0
|
642 |
}
|
sl@0
|
643 |
|
sl@0
|
644 |
/* VOID:UINT,POINTER (./gmarshal.list:45) */
|
sl@0
|
645 |
EXPORT_C void
|
sl@0
|
646 |
g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure,
|
sl@0
|
647 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
648 |
guint n_param_values,
|
sl@0
|
649 |
const GValue *param_values,
|
sl@0
|
650 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
651 |
gpointer marshal_data)
|
sl@0
|
652 |
{
|
sl@0
|
653 |
typedef void (*GMarshalFunc_VOID__UINT_POINTER) (gpointer data1,
|
sl@0
|
654 |
guint arg_1,
|
sl@0
|
655 |
gpointer arg_2,
|
sl@0
|
656 |
gpointer data2);
|
sl@0
|
657 |
register GMarshalFunc_VOID__UINT_POINTER callback;
|
sl@0
|
658 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
659 |
register gpointer data1, data2;
|
sl@0
|
660 |
|
sl@0
|
661 |
g_return_if_fail (n_param_values == 3);
|
sl@0
|
662 |
|
sl@0
|
663 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
664 |
{
|
sl@0
|
665 |
data1 = closure->data;
|
sl@0
|
666 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
667 |
}
|
sl@0
|
668 |
else
|
sl@0
|
669 |
{
|
sl@0
|
670 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
671 |
data2 = closure->data;
|
sl@0
|
672 |
}
|
sl@0
|
673 |
callback = (GMarshalFunc_VOID__UINT_POINTER) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
674 |
|
sl@0
|
675 |
callback (data1,
|
sl@0
|
676 |
g_marshal_value_peek_uint (param_values + 1),
|
sl@0
|
677 |
g_marshal_value_peek_pointer (param_values + 2),
|
sl@0
|
678 |
data2);
|
sl@0
|
679 |
}
|
sl@0
|
680 |
|
sl@0
|
681 |
/* BOOL:FLAGS (./gmarshal.list:46) */
|
sl@0
|
682 |
EXPORT_C void
|
sl@0
|
683 |
g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure,
|
sl@0
|
684 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
685 |
guint n_param_values,
|
sl@0
|
686 |
const GValue *param_values,
|
sl@0
|
687 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
688 |
gpointer marshal_data)
|
sl@0
|
689 |
{
|
sl@0
|
690 |
typedef gboolean (*GMarshalFunc_BOOLEAN__FLAGS) (gpointer data1,
|
sl@0
|
691 |
guint arg_1,
|
sl@0
|
692 |
gpointer data2);
|
sl@0
|
693 |
register GMarshalFunc_BOOLEAN__FLAGS callback;
|
sl@0
|
694 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
695 |
register gpointer data1, data2;
|
sl@0
|
696 |
gboolean v_return;
|
sl@0
|
697 |
|
sl@0
|
698 |
g_return_if_fail (return_value != NULL);
|
sl@0
|
699 |
g_return_if_fail (n_param_values == 2);
|
sl@0
|
700 |
|
sl@0
|
701 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
702 |
{
|
sl@0
|
703 |
data1 = closure->data;
|
sl@0
|
704 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
705 |
}
|
sl@0
|
706 |
else
|
sl@0
|
707 |
{
|
sl@0
|
708 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
709 |
data2 = closure->data;
|
sl@0
|
710 |
}
|
sl@0
|
711 |
callback = (GMarshalFunc_BOOLEAN__FLAGS) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
712 |
|
sl@0
|
713 |
v_return = callback (data1,
|
sl@0
|
714 |
g_marshal_value_peek_flags (param_values + 1),
|
sl@0
|
715 |
data2);
|
sl@0
|
716 |
|
sl@0
|
717 |
g_value_set_boolean (return_value, v_return);
|
sl@0
|
718 |
}
|
sl@0
|
719 |
|
sl@0
|
720 |
/* STRING:OBJECT,POINTER (./gmarshal.list:47) */
|
sl@0
|
721 |
EXPORT_C void
|
sl@0
|
722 |
g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure,
|
sl@0
|
723 |
GValue *return_value G_GNUC_UNUSED,
|
sl@0
|
724 |
guint n_param_values,
|
sl@0
|
725 |
const GValue *param_values,
|
sl@0
|
726 |
gpointer invocation_hint G_GNUC_UNUSED,
|
sl@0
|
727 |
gpointer marshal_data)
|
sl@0
|
728 |
{
|
sl@0
|
729 |
typedef gchar* (*GMarshalFunc_STRING__OBJECT_POINTER) (gpointer data1,
|
sl@0
|
730 |
gpointer arg_1,
|
sl@0
|
731 |
gpointer arg_2,
|
sl@0
|
732 |
gpointer data2);
|
sl@0
|
733 |
register GMarshalFunc_STRING__OBJECT_POINTER callback;
|
sl@0
|
734 |
register GCClosure *cc = (GCClosure*) closure;
|
sl@0
|
735 |
register gpointer data1, data2;
|
sl@0
|
736 |
gchar* v_return;
|
sl@0
|
737 |
|
sl@0
|
738 |
g_return_if_fail (return_value != NULL);
|
sl@0
|
739 |
g_return_if_fail (n_param_values == 3);
|
sl@0
|
740 |
|
sl@0
|
741 |
if (G_CCLOSURE_SWAP_DATA (closure))
|
sl@0
|
742 |
{
|
sl@0
|
743 |
data1 = closure->data;
|
sl@0
|
744 |
data2 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
745 |
}
|
sl@0
|
746 |
else
|
sl@0
|
747 |
{
|
sl@0
|
748 |
data1 = g_value_peek_pointer (param_values + 0);
|
sl@0
|
749 |
data2 = closure->data;
|
sl@0
|
750 |
}
|
sl@0
|
751 |
callback = (GMarshalFunc_STRING__OBJECT_POINTER) (marshal_data ? marshal_data : cc->callback);
|
sl@0
|
752 |
|
sl@0
|
753 |
v_return = callback (data1,
|
sl@0
|
754 |
g_marshal_value_peek_object (param_values + 1),
|
sl@0
|
755 |
g_marshal_value_peek_pointer (param_values + 2),
|
sl@0
|
756 |
data2);
|
sl@0
|
757 |
|
sl@0
|
758 |
g_value_take_string (return_value, v_return);
|
sl@0
|
759 |
}
|
sl@0
|
760 |
|