1 #include "anjuta-marshal.h"
2 /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
3 #include <glib-object.h>
4
5 #ifdef G_ENABLE_DEBUG
6 #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
7 #define g_marshal_value_peek_char(v) g_value_get_schar (v)
8 #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
9 #define g_marshal_value_peek_int(v) g_value_get_int (v)
10 #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
11 #define g_marshal_value_peek_long(v) g_value_get_long (v)
12 #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
13 #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
14 #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
15 #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
16 #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
17 #define g_marshal_value_peek_float(v) g_value_get_float (v)
18 #define g_marshal_value_peek_double(v) g_value_get_double (v)
19 #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
20 #define g_marshal_value_peek_param(v) g_value_get_param (v)
21 #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
22 #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
23 #define g_marshal_value_peek_object(v) g_value_get_object (v)
24 #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
25 #else /* !G_ENABLE_DEBUG */
26 /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
27 * Do not access GValues directly in your code. Instead, use the
28 * g_value_get_*() functions
29 */
30 #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
31 #define g_marshal_value_peek_char(v) (v)->data[0].v_int
32 #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
33 #define g_marshal_value_peek_int(v) (v)->data[0].v_int
34 #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
35 #define g_marshal_value_peek_long(v) (v)->data[0].v_long
36 #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
37 #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
38 #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
39 #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
40 #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
41 #define g_marshal_value_peek_float(v) (v)->data[0].v_float
42 #define g_marshal_value_peek_double(v) (v)->data[0].v_double
43 #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
44 #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
45 #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
46 #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
47 #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
48 #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
49 #endif /* !G_ENABLE_DEBUG */
50
51 /* VOID:INT,STRING (./anjuta-marshal.list:27) */
52 void
anjuta_cclosure_marshal_VOID__INT_STRING(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)53 anjuta_cclosure_marshal_VOID__INT_STRING (GClosure *closure,
54 GValue *return_value G_GNUC_UNUSED,
55 guint n_param_values,
56 const GValue *param_values,
57 gpointer invocation_hint G_GNUC_UNUSED,
58 gpointer marshal_data)
59 {
60 typedef void (*GMarshalFunc_VOID__INT_STRING) (gpointer data1,
61 gint arg1,
62 gpointer arg2,
63 gpointer data2);
64 GCClosure *cc = (GCClosure *) closure;
65 gpointer data1, data2;
66 GMarshalFunc_VOID__INT_STRING callback;
67
68 g_return_if_fail (n_param_values == 3);
69
70 if (G_CCLOSURE_SWAP_DATA (closure))
71 {
72 data1 = closure->data;
73 data2 = g_value_peek_pointer (param_values + 0);
74 }
75 else
76 {
77 data1 = g_value_peek_pointer (param_values + 0);
78 data2 = closure->data;
79 }
80 callback = (GMarshalFunc_VOID__INT_STRING) (marshal_data ? marshal_data : cc->callback);
81
82 callback (data1,
83 g_marshal_value_peek_int (param_values + 1),
84 g_marshal_value_peek_string (param_values + 2),
85 data2);
86 }
87
88 /* VOID:INT,OBJECT (./anjuta-marshal.list:28) */
89 void
anjuta_cclosure_marshal_VOID__INT_OBJECT(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)90 anjuta_cclosure_marshal_VOID__INT_OBJECT (GClosure *closure,
91 GValue *return_value G_GNUC_UNUSED,
92 guint n_param_values,
93 const GValue *param_values,
94 gpointer invocation_hint G_GNUC_UNUSED,
95 gpointer marshal_data)
96 {
97 typedef void (*GMarshalFunc_VOID__INT_OBJECT) (gpointer data1,
98 gint arg1,
99 gpointer arg2,
100 gpointer data2);
101 GCClosure *cc = (GCClosure *) closure;
102 gpointer data1, data2;
103 GMarshalFunc_VOID__INT_OBJECT callback;
104
105 g_return_if_fail (n_param_values == 3);
106
107 if (G_CCLOSURE_SWAP_DATA (closure))
108 {
109 data1 = closure->data;
110 data2 = g_value_peek_pointer (param_values + 0);
111 }
112 else
113 {
114 data1 = g_value_peek_pointer (param_values + 0);
115 data2 = closure->data;
116 }
117 callback = (GMarshalFunc_VOID__INT_OBJECT) (marshal_data ? marshal_data : cc->callback);
118
119 callback (data1,
120 g_marshal_value_peek_int (param_values + 1),
121 g_marshal_value_peek_object (param_values + 2),
122 data2);
123 }
124
125 /* VOID:INT,INT,ULONG (./anjuta-marshal.list:29) */
126 void
anjuta_cclosure_marshal_VOID__INT_INT_ULONG(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)127 anjuta_cclosure_marshal_VOID__INT_INT_ULONG (GClosure *closure,
128 GValue *return_value G_GNUC_UNUSED,
129 guint n_param_values,
130 const GValue *param_values,
131 gpointer invocation_hint G_GNUC_UNUSED,
132 gpointer marshal_data)
133 {
134 typedef void (*GMarshalFunc_VOID__INT_INT_ULONG) (gpointer data1,
135 gint arg1,
136 gint arg2,
137 gulong arg3,
138 gpointer data2);
139 GCClosure *cc = (GCClosure *) closure;
140 gpointer data1, data2;
141 GMarshalFunc_VOID__INT_INT_ULONG callback;
142
143 g_return_if_fail (n_param_values == 4);
144
145 if (G_CCLOSURE_SWAP_DATA (closure))
146 {
147 data1 = closure->data;
148 data2 = g_value_peek_pointer (param_values + 0);
149 }
150 else
151 {
152 data1 = g_value_peek_pointer (param_values + 0);
153 data2 = closure->data;
154 }
155 callback = (GMarshalFunc_VOID__INT_INT_ULONG) (marshal_data ? marshal_data : cc->callback);
156
157 callback (data1,
158 g_marshal_value_peek_int (param_values + 1),
159 g_marshal_value_peek_int (param_values + 2),
160 g_marshal_value_peek_ulong (param_values + 3),
161 data2);
162 }
163
164 /* VOID:STRING,POINTER (./anjuta-marshal.list:30) */
165 void
anjuta_cclosure_marshal_VOID__STRING_POINTER(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)166 anjuta_cclosure_marshal_VOID__STRING_POINTER (GClosure *closure,
167 GValue *return_value G_GNUC_UNUSED,
168 guint n_param_values,
169 const GValue *param_values,
170 gpointer invocation_hint G_GNUC_UNUSED,
171 gpointer marshal_data)
172 {
173 typedef void (*GMarshalFunc_VOID__STRING_POINTER) (gpointer data1,
174 gpointer arg1,
175 gpointer arg2,
176 gpointer data2);
177 GCClosure *cc = (GCClosure *) closure;
178 gpointer data1, data2;
179 GMarshalFunc_VOID__STRING_POINTER callback;
180
181 g_return_if_fail (n_param_values == 3);
182
183 if (G_CCLOSURE_SWAP_DATA (closure))
184 {
185 data1 = closure->data;
186 data2 = g_value_peek_pointer (param_values + 0);
187 }
188 else
189 {
190 data1 = g_value_peek_pointer (param_values + 0);
191 data2 = closure->data;
192 }
193 callback = (GMarshalFunc_VOID__STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
194
195 callback (data1,
196 g_marshal_value_peek_string (param_values + 1),
197 g_marshal_value_peek_pointer (param_values + 2),
198 data2);
199 }
200
201 /* VOID:STRING,INT (./anjuta-marshal.list:32) */
202 void
anjuta_cclosure_marshal_VOID__STRING_INT(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)203 anjuta_cclosure_marshal_VOID__STRING_INT (GClosure *closure,
204 GValue *return_value G_GNUC_UNUSED,
205 guint n_param_values,
206 const GValue *param_values,
207 gpointer invocation_hint G_GNUC_UNUSED,
208 gpointer marshal_data)
209 {
210 typedef void (*GMarshalFunc_VOID__STRING_INT) (gpointer data1,
211 gpointer arg1,
212 gint arg2,
213 gpointer data2);
214 GCClosure *cc = (GCClosure *) closure;
215 gpointer data1, data2;
216 GMarshalFunc_VOID__STRING_INT callback;
217
218 g_return_if_fail (n_param_values == 3);
219
220 if (G_CCLOSURE_SWAP_DATA (closure))
221 {
222 data1 = closure->data;
223 data2 = g_value_peek_pointer (param_values + 0);
224 }
225 else
226 {
227 data1 = g_value_peek_pointer (param_values + 0);
228 data2 = closure->data;
229 }
230 callback = (GMarshalFunc_VOID__STRING_INT) (marshal_data ? marshal_data : cc->callback);
231
232 callback (data1,
233 g_marshal_value_peek_string (param_values + 1),
234 g_marshal_value_peek_int (param_values + 2),
235 data2);
236 }
237
238 /* VOID:STRING,INT,STRING (./anjuta-marshal.list:33) */
239 void
anjuta_cclosure_marshal_VOID__STRING_INT_STRING(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)240 anjuta_cclosure_marshal_VOID__STRING_INT_STRING (GClosure *closure,
241 GValue *return_value G_GNUC_UNUSED,
242 guint n_param_values,
243 const GValue *param_values,
244 gpointer invocation_hint G_GNUC_UNUSED,
245 gpointer marshal_data)
246 {
247 typedef void (*GMarshalFunc_VOID__STRING_INT_STRING) (gpointer data1,
248 gpointer arg1,
249 gint arg2,
250 gpointer arg3,
251 gpointer data2);
252 GCClosure *cc = (GCClosure *) closure;
253 gpointer data1, data2;
254 GMarshalFunc_VOID__STRING_INT_STRING callback;
255
256 g_return_if_fail (n_param_values == 4);
257
258 if (G_CCLOSURE_SWAP_DATA (closure))
259 {
260 data1 = closure->data;
261 data2 = g_value_peek_pointer (param_values + 0);
262 }
263 else
264 {
265 data1 = g_value_peek_pointer (param_values + 0);
266 data2 = closure->data;
267 }
268 callback = (GMarshalFunc_VOID__STRING_INT_STRING) (marshal_data ? marshal_data : cc->callback);
269
270 callback (data1,
271 g_marshal_value_peek_string (param_values + 1),
272 g_marshal_value_peek_int (param_values + 2),
273 g_marshal_value_peek_string (param_values + 3),
274 data2);
275 }
276
277 /* VOID:STRING,BOXED (./anjuta-marshal.list:34) */
278 void
anjuta_cclosure_marshal_VOID__STRING_BOXED(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)279 anjuta_cclosure_marshal_VOID__STRING_BOXED (GClosure *closure,
280 GValue *return_value G_GNUC_UNUSED,
281 guint n_param_values,
282 const GValue *param_values,
283 gpointer invocation_hint G_GNUC_UNUSED,
284 gpointer marshal_data)
285 {
286 typedef void (*GMarshalFunc_VOID__STRING_BOXED) (gpointer data1,
287 gpointer arg1,
288 gpointer arg2,
289 gpointer data2);
290 GCClosure *cc = (GCClosure *) closure;
291 gpointer data1, data2;
292 GMarshalFunc_VOID__STRING_BOXED callback;
293
294 g_return_if_fail (n_param_values == 3);
295
296 if (G_CCLOSURE_SWAP_DATA (closure))
297 {
298 data1 = closure->data;
299 data2 = g_value_peek_pointer (param_values + 0);
300 }
301 else
302 {
303 data1 = g_value_peek_pointer (param_values + 0);
304 data2 = closure->data;
305 }
306 callback = (GMarshalFunc_VOID__STRING_BOXED) (marshal_data ? marshal_data : cc->callback);
307
308 callback (data1,
309 g_marshal_value_peek_string (param_values + 1),
310 g_marshal_value_peek_boxed (param_values + 2),
311 data2);
312 }
313
314 /* VOID:BOXED,ENUM (./anjuta-marshal.list:37) */
315 void
anjuta_cclosure_marshal_VOID__BOXED_ENUM(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)316 anjuta_cclosure_marshal_VOID__BOXED_ENUM (GClosure *closure,
317 GValue *return_value G_GNUC_UNUSED,
318 guint n_param_values,
319 const GValue *param_values,
320 gpointer invocation_hint G_GNUC_UNUSED,
321 gpointer marshal_data)
322 {
323 typedef void (*GMarshalFunc_VOID__BOXED_ENUM) (gpointer data1,
324 gpointer arg1,
325 gint arg2,
326 gpointer data2);
327 GCClosure *cc = (GCClosure *) closure;
328 gpointer data1, data2;
329 GMarshalFunc_VOID__BOXED_ENUM callback;
330
331 g_return_if_fail (n_param_values == 3);
332
333 if (G_CCLOSURE_SWAP_DATA (closure))
334 {
335 data1 = closure->data;
336 data2 = g_value_peek_pointer (param_values + 0);
337 }
338 else
339 {
340 data1 = g_value_peek_pointer (param_values + 0);
341 data2 = closure->data;
342 }
343 callback = (GMarshalFunc_VOID__BOXED_ENUM) (marshal_data ? marshal_data : cc->callback);
344
345 callback (data1,
346 g_marshal_value_peek_boxed (param_values + 1),
347 g_marshal_value_peek_enum (param_values + 2),
348 data2);
349 }
350
351 /* VOID:POINTER,OBJECT (./anjuta-marshal.list:38) */
352 void
anjuta_cclosure_marshal_VOID__POINTER_OBJECT(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)353 anjuta_cclosure_marshal_VOID__POINTER_OBJECT (GClosure *closure,
354 GValue *return_value G_GNUC_UNUSED,
355 guint n_param_values,
356 const GValue *param_values,
357 gpointer invocation_hint G_GNUC_UNUSED,
358 gpointer marshal_data)
359 {
360 typedef void (*GMarshalFunc_VOID__POINTER_OBJECT) (gpointer data1,
361 gpointer arg1,
362 gpointer arg2,
363 gpointer data2);
364 GCClosure *cc = (GCClosure *) closure;
365 gpointer data1, data2;
366 GMarshalFunc_VOID__POINTER_OBJECT callback;
367
368 g_return_if_fail (n_param_values == 3);
369
370 if (G_CCLOSURE_SWAP_DATA (closure))
371 {
372 data1 = closure->data;
373 data2 = g_value_peek_pointer (param_values + 0);
374 }
375 else
376 {
377 data1 = g_value_peek_pointer (param_values + 0);
378 data2 = closure->data;
379 }
380 callback = (GMarshalFunc_VOID__POINTER_OBJECT) (marshal_data ? marshal_data : cc->callback);
381
382 callback (data1,
383 g_marshal_value_peek_pointer (param_values + 1),
384 g_marshal_value_peek_object (param_values + 2),
385 data2);
386 }
387
388