GTK eradication -- the build chain.
[sxemacs] / src / emacs-marshals.c
1 #define GTK_VALUE_ARRAY(x) GTK_VALUE_POINTER(x)
2
3 #define GTK_VALUE_LIST(x) GTK_VALUE_POINTER(x)
4
5 static void
6 emacs_gtk_marshal_BOOL__OBJECT_INT(ffi_actual_function func, GtkArg * args)
7 {
8         __BOOL_fn rfunc = (__BOOL_fn) func;
9         gboolean *return_val;
10
11         return_val = GTK_RETLOC_BOOL(args[2]);
12         *return_val =
13             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]));
14 }
15
16 static void
17 emacs_gtk_marshal_BOOL__OBJECT_OBJECT_OBJECT(ffi_actual_function func,
18                                              GtkArg * args)
19 {
20         __BOOL_fn rfunc = (__BOOL_fn) func;
21         gboolean *return_val;
22
23         return_val = GTK_RETLOC_BOOL(args[3]);
24         *return_val =
25             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
26                       GTK_VALUE_OBJECT(args[2]));
27 }
28
29 static void
30 emacs_gtk_marshal_BOOL__OBJECT_OBJECT(ffi_actual_function func, GtkArg * args)
31 {
32         __BOOL_fn rfunc = (__BOOL_fn) func;
33         gboolean *return_val;
34
35         return_val = GTK_RETLOC_BOOL(args[2]);
36         *return_val =
37             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]));
38 }
39
40 static void
41 emacs_gtk_marshal_BOOL__OBJECT_POINTER(ffi_actual_function func, GtkArg * args)
42 {
43         __BOOL_fn rfunc = (__BOOL_fn) func;
44         gboolean *return_val;
45
46         return_val = GTK_RETLOC_BOOL(args[2]);
47         *return_val =
48             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]));
49 }
50
51 static void
52 emacs_gtk_marshal_BOOL__OBJECT_STRING(ffi_actual_function func, GtkArg * args)
53 {
54         __BOOL_fn rfunc = (__BOOL_fn) func;
55         gboolean *return_val;
56
57         return_val = GTK_RETLOC_BOOL(args[2]);
58         *return_val =
59             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]));
60 }
61
62 static void
63 emacs_gtk_marshal_BOOL__OBJECT(ffi_actual_function func, GtkArg * args)
64 {
65         __BOOL_fn rfunc = (__BOOL_fn) func;
66         gboolean *return_val;
67
68         return_val = GTK_RETLOC_BOOL(args[1]);
69         *return_val = (*rfunc) (GTK_VALUE_OBJECT(args[0]));
70 }
71
72 static void
73 emacs_gtk_marshal_BOOL__POINTER_BOOL(ffi_actual_function func, GtkArg * args)
74 {
75         __BOOL_fn rfunc = (__BOOL_fn) func;
76         gboolean *return_val;
77
78         return_val = GTK_RETLOC_BOOL(args[2]);
79         *return_val =
80             (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_BOOL(args[1]));
81 }
82
83 static void
84 emacs_gtk_marshal_BOOL__POINTER(ffi_actual_function func, GtkArg * args)
85 {
86         __BOOL_fn rfunc = (__BOOL_fn) func;
87         gboolean *return_val;
88
89         return_val = GTK_RETLOC_BOOL(args[1]);
90         *return_val = (*rfunc) (GTK_VALUE_POINTER(args[0]));
91 }
92
93 static void
94 emacs_gtk_marshal_BOOL__NONE(ffi_actual_function func, GtkArg * args)
95 {
96         __BOOL_fn rfunc = (__BOOL_fn) func;
97         gboolean *return_val;
98
99         return_val = GTK_RETLOC_BOOL(args[0]);
100         *return_val = (*rfunc) ();
101 }
102
103 typedef gfloat(*__FLOAT__OBJECT_FLOAT_fn) (GtkObject *, gfloat);
104
105 static void
106 emacs_gtk_marshal_FLOAT__OBJECT_FLOAT(ffi_actual_function func, GtkArg * args)
107 {
108         __FLOAT__OBJECT_FLOAT_fn rfunc = (__FLOAT__OBJECT_FLOAT_fn) func;
109         gfloat *return_val;
110
111         return_val = GTK_RETLOC_FLOAT(args[2]);
112         *return_val =
113             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_FLOAT(args[1]));
114 }
115
116 static void
117 emacs_gtk_marshal_FLOAT__OBJECT(ffi_actual_function func, GtkArg * args)
118 {
119         __FLOAT_fn rfunc = (__FLOAT_fn) func;
120         gfloat *return_val;
121
122         return_val = GTK_RETLOC_FLOAT(args[1]);
123         *return_val = (*rfunc) (GTK_VALUE_OBJECT(args[0]));
124 }
125
126 static void emacs_gtk_marshal_INT__BOOL(ffi_actual_function func, GtkArg * args)
127 {
128         __INT_fn rfunc = (__INT_fn) func;
129         guint *return_val;
130
131         return_val = GTK_RETLOC_INT(args[1]);
132         *return_val = (*rfunc) (GTK_VALUE_BOOL(args[0]));
133 }
134
135 static void
136 emacs_gtk_marshal_INT__OBJECT_ARRAY(ffi_actual_function func, GtkArg * args)
137 {
138         __INT_fn rfunc = (__INT_fn) func;
139         guint *return_val;
140
141         return_val = GTK_RETLOC_INT(args[2]);
142         *return_val =
143             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_ARRAY(args[1]));
144 }
145
146 static void
147 emacs_gtk_marshal_INT__OBJECT_INT_ARRAY(ffi_actual_function func, GtkArg * args)
148 {
149         __INT_fn rfunc = (__INT_fn) func;
150         guint *return_val;
151
152         return_val = GTK_RETLOC_INT(args[3]);
153         *return_val =
154             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
155                       GTK_VALUE_ARRAY(args[2]));
156 }
157
158 static void
159 emacs_gtk_marshal_INT__OBJECT_INT_INT(ffi_actual_function func, GtkArg * args)
160 {
161         __INT_fn rfunc = (__INT_fn) func;
162         guint *return_val;
163
164         return_val = GTK_RETLOC_INT(args[3]);
165         *return_val =
166             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
167                       GTK_VALUE_INT(args[2]));
168 }
169
170 static void
171 emacs_gtk_marshal_INT__OBJECT_INT_STRING(ffi_actual_function func,
172                                          GtkArg * args)
173 {
174         __INT_fn rfunc = (__INT_fn) func;
175         guint *return_val;
176
177         return_val = GTK_RETLOC_INT(args[3]);
178         *return_val =
179             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
180                       GTK_VALUE_STRING(args[2]));
181 }
182
183 static void
184 emacs_gtk_marshal_INT__OBJECT_INT(ffi_actual_function func, GtkArg * args)
185 {
186         __INT_fn rfunc = (__INT_fn) func;
187         guint *return_val;
188
189         return_val = GTK_RETLOC_INT(args[2]);
190         *return_val =
191             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]));
192 }
193
194 static void
195 emacs_gtk_marshal_INT__OBJECT_OBJECT(ffi_actual_function func, GtkArg * args)
196 {
197         __INT_fn rfunc = (__INT_fn) func;
198         guint *return_val;
199
200         return_val = GTK_RETLOC_INT(args[2]);
201         *return_val =
202             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]));
203 }
204
205 static void
206 emacs_gtk_marshal_INT__OBJECT_POINTER_INT_INT(ffi_actual_function func,
207                                               GtkArg * args)
208 {
209         __INT_fn rfunc = (__INT_fn) func;
210         guint *return_val;
211
212         return_val = GTK_RETLOC_INT(args[4]);
213         *return_val =
214             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
215                       GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]));
216 }
217
218 static void
219 emacs_gtk_marshal_INT__OBJECT_POINTER_INT(ffi_actual_function func,
220                                           GtkArg * args)
221 {
222         __INT_fn rfunc = (__INT_fn) func;
223         guint *return_val;
224
225         return_val = GTK_RETLOC_INT(args[3]);
226         *return_val =
227             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
228                       GTK_VALUE_INT(args[2]));
229 }
230
231 static void
232 emacs_gtk_marshal_INT__OBJECT_POINTER(ffi_actual_function func, GtkArg * args)
233 {
234         __INT_fn rfunc = (__INT_fn) func;
235         guint *return_val;
236
237         return_val = GTK_RETLOC_INT(args[2]);
238         *return_val =
239             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]));
240 }
241
242 static void
243 emacs_gtk_marshal_INT__OBJECT_STRING(ffi_actual_function func, GtkArg * args)
244 {
245         __INT_fn rfunc = (__INT_fn) func;
246         guint *return_val;
247
248         return_val = GTK_RETLOC_INT(args[2]);
249         *return_val =
250             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]));
251 }
252
253 static void
254 emacs_gtk_marshal_INT__OBJECT(ffi_actual_function func, GtkArg * args)
255 {
256         __INT_fn rfunc = (__INT_fn) func;
257         guint *return_val;
258
259         return_val = GTK_RETLOC_INT(args[1]);
260         *return_val = (*rfunc) (GTK_VALUE_OBJECT(args[0]));
261 }
262
263 static void
264 emacs_gtk_marshal_INT__POINTER(ffi_actual_function func, GtkArg * args)
265 {
266         __INT_fn rfunc = (__INT_fn) func;
267         guint *return_val;
268
269         return_val = GTK_RETLOC_INT(args[1]);
270         *return_val = (*rfunc) (GTK_VALUE_POINTER(args[0]));
271 }
272
273 static void
274 emacs_gtk_marshal_INT__STRING_STRING_INT_ARRAY(ffi_actual_function func,
275                                                GtkArg * args)
276 {
277         __INT_fn rfunc = (__INT_fn) func;
278         guint *return_val;
279
280         return_val = GTK_RETLOC_INT(args[4]);
281         *return_val =
282             (*rfunc) (GTK_VALUE_STRING(args[0]), GTK_VALUE_STRING(args[1]),
283                       GTK_VALUE_INT(args[2]), GTK_VALUE_ARRAY(args[3]));
284 }
285
286 static void
287 emacs_gtk_marshal_INT__STRING(ffi_actual_function func, GtkArg * args)
288 {
289         __INT_fn rfunc = (__INT_fn) func;
290         guint *return_val;
291
292         return_val = GTK_RETLOC_INT(args[1]);
293         *return_val = (*rfunc) (GTK_VALUE_STRING(args[0]));
294 }
295
296 static void emacs_gtk_marshal_INT__NONE(ffi_actual_function func, GtkArg * args)
297 {
298         __INT_fn rfunc = (__INT_fn) func;
299         guint *return_val;
300
301         return_val = GTK_RETLOC_INT(args[0]);
302         *return_val = (*rfunc) ();
303 }
304
305 static void
306 emacs_gtk_marshal_LIST__OBJECT(ffi_actual_function func, GtkArg * args)
307 {
308         __LIST_fn rfunc = (__LIST_fn) func;
309         void **return_val;
310
311         return_val = GTK_RETLOC_POINTER(args[1]);
312         *return_val = (*rfunc) (GTK_VALUE_OBJECT(args[0]));
313 }
314
315 static void
316 emacs_gtk_marshal_LIST__NONE(ffi_actual_function func, GtkArg * args)
317 {
318         __LIST_fn rfunc = (__LIST_fn) func;
319         void **return_val;
320
321         return_val = GTK_RETLOC_POINTER(args[0]);
322         *return_val = (*rfunc) ();
323 }
324
325 static void
326 emacs_gtk_marshal_NONE__BOOL(ffi_actual_function func, GtkArg * args)
327 {
328         __NONE_fn rfunc = (__NONE_fn) func;
329         (*rfunc) (GTK_VALUE_BOOL(args[0]));
330 }
331
332 static void
333 emacs_gtk_marshal_NONE__INT_INT(ffi_actual_function func, GtkArg * args)
334 {
335         __NONE_fn rfunc = (__NONE_fn) func;
336         (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_INT(args[1]));
337 }
338
339 static void emacs_gtk_marshal_NONE__INT(ffi_actual_function func, GtkArg * args)
340 {
341         __NONE_fn rfunc = (__NONE_fn) func;
342         (*rfunc) (GTK_VALUE_INT(args[0]));
343 }
344
345 static void
346 emacs_gtk_marshal_NONE__OBJECT_BOOL_INT(ffi_actual_function func, GtkArg * args)
347 {
348         __NONE_fn rfunc = (__NONE_fn) func;
349         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_BOOL(args[1]),
350                   GTK_VALUE_INT(args[2]));
351 }
352
353 static void
354 emacs_gtk_marshal_NONE__OBJECT_BOOL(ffi_actual_function func, GtkArg * args)
355 {
356         __NONE_fn rfunc = (__NONE_fn) func;
357         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_BOOL(args[1]));
358 }
359 typedef void (*__NONE__OBJECT_FLOAT_FLOAT_FLOAT_BOOL_fn) (GtkObject *, gfloat,
360                                                           gfloat, gfloat,
361                                                           gboolean);
362
363 static void
364 emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT_FLOAT_BOOL(ffi_actual_function func,
365                                                       GtkArg * args)
366 {
367         __NONE__OBJECT_FLOAT_FLOAT_FLOAT_BOOL_fn rfunc =
368             (__NONE__OBJECT_FLOAT_FLOAT_FLOAT_BOOL_fn) func;
369         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_FLOAT(args[1]),
370                   GTK_VALUE_FLOAT(args[2]), GTK_VALUE_FLOAT(args[3]),
371                   GTK_VALUE_BOOL(args[4]));
372 }
373 typedef void (*__NONE__OBJECT_FLOAT_FLOAT_FLOAT_FLOAT_fn) (GtkObject *, gfloat,
374                                                            gfloat, gfloat,
375                                                            gfloat);
376
377 static void
378 emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT_FLOAT_FLOAT(ffi_actual_function func,
379                                                        GtkArg * args)
380 {
381         __NONE__OBJECT_FLOAT_FLOAT_FLOAT_FLOAT_fn rfunc =
382             (__NONE__OBJECT_FLOAT_FLOAT_FLOAT_FLOAT_fn) func;
383         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_FLOAT(args[1]),
384                   GTK_VALUE_FLOAT(args[2]), GTK_VALUE_FLOAT(args[3]),
385                   GTK_VALUE_FLOAT(args[4]));
386 }
387 typedef void (*__NONE__OBJECT_FLOAT_FLOAT_FLOAT_fn) (GtkObject *, gfloat,
388                                                      gfloat, gfloat);
389
390 static void
391 emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT_FLOAT(ffi_actual_function func,
392                                                  GtkArg * args)
393 {
394         __NONE__OBJECT_FLOAT_FLOAT_FLOAT_fn rfunc =
395             (__NONE__OBJECT_FLOAT_FLOAT_FLOAT_fn) func;
396         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_FLOAT(args[1]),
397                   GTK_VALUE_FLOAT(args[2]), GTK_VALUE_FLOAT(args[3]));
398 }
399 typedef void (*__NONE__OBJECT_FLOAT_FLOAT_fn) (GtkObject *, gfloat, gfloat);
400
401 static void
402 emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT(ffi_actual_function func,
403                                            GtkArg * args)
404 {
405         __NONE__OBJECT_FLOAT_FLOAT_fn rfunc =
406             (__NONE__OBJECT_FLOAT_FLOAT_fn) func;
407         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_FLOAT(args[1]),
408                   GTK_VALUE_FLOAT(args[2]));
409 }
410 typedef void (*__NONE__OBJECT_FLOAT_fn) (GtkObject *, gfloat);
411
412 static void
413 emacs_gtk_marshal_NONE__OBJECT_FLOAT(ffi_actual_function func, GtkArg * args)
414 {
415         __NONE__OBJECT_FLOAT_fn rfunc = (__NONE__OBJECT_FLOAT_fn) func;
416         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_FLOAT(args[1]));
417 }
418
419 static void
420 emacs_gtk_marshal_NONE__OBJECT_INT_BOOL(ffi_actual_function func, GtkArg * args)
421 {
422         __NONE_fn rfunc = (__NONE_fn) func;
423         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
424                   GTK_VALUE_BOOL(args[2]));
425 }
426 typedef void (*__NONE__OBJECT_INT_FLOAT_BOOL_fn) (GtkObject *, guint, gfloat,
427                                                   gboolean);
428
429 static void
430 emacs_gtk_marshal_NONE__OBJECT_INT_FLOAT_BOOL(ffi_actual_function func,
431                                               GtkArg * args)
432 {
433         __NONE__OBJECT_INT_FLOAT_BOOL_fn rfunc =
434             (__NONE__OBJECT_INT_FLOAT_BOOL_fn) func;
435         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
436                   GTK_VALUE_FLOAT(args[2]), GTK_VALUE_BOOL(args[3]));
437 }
438 typedef void (*__NONE__OBJECT_INT_FLOAT_fn) (GtkObject *, guint, gfloat);
439
440 static void
441 emacs_gtk_marshal_NONE__OBJECT_INT_FLOAT(ffi_actual_function func,
442                                          GtkArg * args)
443 {
444         __NONE__OBJECT_INT_FLOAT_fn rfunc = (__NONE__OBJECT_INT_FLOAT_fn) func;
445         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
446                   GTK_VALUE_FLOAT(args[2]));
447 }
448
449 static void
450 emacs_gtk_marshal_NONE__OBJECT_INT_INT_ARRAY_ARRAY_ARRAY_ARRAY_ARRAY_ARRAY
451 (ffi_actual_function func, GtkArg * args)
452 {
453         __NONE_fn rfunc = (__NONE_fn) func;
454         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
455                   GTK_VALUE_INT(args[2]), GTK_VALUE_ARRAY(args[3]),
456                   GTK_VALUE_ARRAY(args[4]), GTK_VALUE_ARRAY(args[5]),
457                   GTK_VALUE_ARRAY(args[6]), GTK_VALUE_ARRAY(args[7]),
458                   GTK_VALUE_ARRAY(args[8]));
459 }
460
461 static void
462 emacs_gtk_marshal_NONE__OBJECT_INT_INT_ARRAY(ffi_actual_function func,
463                                              GtkArg * args)
464 {
465         __NONE_fn rfunc = (__NONE_fn) func;
466         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
467                   GTK_VALUE_INT(args[2]), GTK_VALUE_ARRAY(args[3]));
468 }
469 typedef void (*__NONE__OBJECT_INT_INT_FLOAT_FLOAT_fn) (GtkObject *, guint,
470                                                        guint, gfloat, gfloat);
471
472 static void
473 emacs_gtk_marshal_NONE__OBJECT_INT_INT_FLOAT_FLOAT(ffi_actual_function func,
474                                                    GtkArg * args)
475 {
476         __NONE__OBJECT_INT_INT_FLOAT_FLOAT_fn rfunc =
477             (__NONE__OBJECT_INT_INT_FLOAT_FLOAT_fn) func;
478         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
479                   GTK_VALUE_INT(args[2]), GTK_VALUE_FLOAT(args[3]),
480                   GTK_VALUE_FLOAT(args[4]));
481 }
482
483 static void
484 emacs_gtk_marshal_NONE__OBJECT_INT_INT_INT_INT(ffi_actual_function func,
485                                                GtkArg * args)
486 {
487         __NONE_fn rfunc = (__NONE_fn) func;
488         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
489                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]),
490                   GTK_VALUE_INT(args[4]));
491 }
492
493 static void
494 emacs_gtk_marshal_NONE__OBJECT_INT_INT_INT(ffi_actual_function func,
495                                            GtkArg * args)
496 {
497         __NONE_fn rfunc = (__NONE_fn) func;
498         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
499                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]));
500 }
501
502 static void
503 emacs_gtk_marshal_NONE__OBJECT_INT_INT_POINTER_POINTER(ffi_actual_function func,
504                                                        GtkArg * args)
505 {
506         __NONE_fn rfunc = (__NONE_fn) func;
507         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
508                   GTK_VALUE_INT(args[2]), GTK_VALUE_POINTER(args[3]),
509                   GTK_VALUE_POINTER(args[4]));
510 }
511
512 static void
513 emacs_gtk_marshal_NONE__OBJECT_INT_INT_POINTER(ffi_actual_function func,
514                                                GtkArg * args)
515 {
516         __NONE_fn rfunc = (__NONE_fn) func;
517         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
518                   GTK_VALUE_INT(args[2]), GTK_VALUE_POINTER(args[3]));
519 }
520
521 static void
522 emacs_gtk_marshal_NONE__OBJECT_INT_INT_STRING_INT_POINTER_POINTER
523 (ffi_actual_function func, GtkArg * args)
524 {
525         __NONE_fn rfunc = (__NONE_fn) func;
526         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
527                   GTK_VALUE_INT(args[2]), GTK_VALUE_STRING(args[3]),
528                   GTK_VALUE_INT(args[4]), GTK_VALUE_POINTER(args[5]),
529                   GTK_VALUE_POINTER(args[6]));
530 }
531
532 static void
533 emacs_gtk_marshal_NONE__OBJECT_INT_INT_STRING(ffi_actual_function func,
534                                               GtkArg * args)
535 {
536         __NONE_fn rfunc = (__NONE_fn) func;
537         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
538                   GTK_VALUE_INT(args[2]), GTK_VALUE_STRING(args[3]));
539 }
540
541 static void
542 emacs_gtk_marshal_NONE__OBJECT_INT_INT(ffi_actual_function func, GtkArg * args)
543 {
544         __NONE_fn rfunc = (__NONE_fn) func;
545         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
546                   GTK_VALUE_INT(args[2]));
547 }
548
549 static void
550 emacs_gtk_marshal_NONE__OBJECT_INT_OBJECT(ffi_actual_function func,
551                                           GtkArg * args)
552 {
553         __NONE_fn rfunc = (__NONE_fn) func;
554         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
555                   GTK_VALUE_OBJECT(args[2]));
556 }
557
558 static void
559 emacs_gtk_marshal_NONE__OBJECT_INT_POINTER(ffi_actual_function func,
560                                            GtkArg * args)
561 {
562         __NONE_fn rfunc = (__NONE_fn) func;
563         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
564                   GTK_VALUE_POINTER(args[2]));
565 }
566
567 static void
568 emacs_gtk_marshal_NONE__OBJECT_INT_STRING(ffi_actual_function func,
569                                           GtkArg * args)
570 {
571         __NONE_fn rfunc = (__NONE_fn) func;
572         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
573                   GTK_VALUE_STRING(args[2]));
574 }
575
576 static void
577 emacs_gtk_marshal_NONE__OBJECT_INT(ffi_actual_function func, GtkArg * args)
578 {
579         __NONE_fn rfunc = (__NONE_fn) func;
580         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]));
581 }
582
583 static void
584 emacs_gtk_marshal_NONE__OBJECT_LIST_INT(ffi_actual_function func, GtkArg * args)
585 {
586         __NONE_fn rfunc = (__NONE_fn) func;
587         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_LIST(args[1]),
588                   GTK_VALUE_INT(args[2]));
589 }
590
591 static void
592 emacs_gtk_marshal_NONE__OBJECT_LIST(ffi_actual_function func, GtkArg * args)
593 {
594         __NONE_fn rfunc = (__NONE_fn) func;
595         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_LIST(args[1]));
596 }
597
598 static void
599 emacs_gtk_marshal_NONE__OBJECT_OBJECT_BOOL_BOOL_INT_INT(ffi_actual_function
600                                                         func, GtkArg * args)
601 {
602         __NONE_fn rfunc = (__NONE_fn) func;
603         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
604                   GTK_VALUE_BOOL(args[2]), GTK_VALUE_BOOL(args[3]),
605                   GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]));
606 }
607
608 static void
609 emacs_gtk_marshal_NONE__OBJECT_OBJECT_BOOL_BOOL_INT(ffi_actual_function func,
610                                                     GtkArg * args)
611 {
612         __NONE_fn rfunc = (__NONE_fn) func;
613         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
614                   GTK_VALUE_BOOL(args[2]), GTK_VALUE_BOOL(args[3]),
615                   GTK_VALUE_INT(args[4]));
616 }
617
618 static void
619 emacs_gtk_marshal_NONE__OBJECT_OBJECT_BOOL_BOOL(ffi_actual_function func,
620                                                 GtkArg * args)
621 {
622         __NONE_fn rfunc = (__NONE_fn) func;
623         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
624                   GTK_VALUE_BOOL(args[2]), GTK_VALUE_BOOL(args[3]));
625 }
626 typedef void (*__NONE__OBJECT_OBJECT_FLOAT_INT_fn) (GtkObject *, GtkObject *,
627                                                     gfloat, guint);
628
629 static void
630 emacs_gtk_marshal_NONE__OBJECT_OBJECT_FLOAT_INT(ffi_actual_function func,
631                                                 GtkArg * args)
632 {
633         __NONE__OBJECT_OBJECT_FLOAT_INT_fn rfunc =
634             (__NONE__OBJECT_OBJECT_FLOAT_INT_fn) func;
635         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
636                   GTK_VALUE_FLOAT(args[2]), GTK_VALUE_INT(args[3]));
637 }
638
639 static void
640 emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT_INT_INT_INT_INT_INT_INT
641 (ffi_actual_function func, GtkArg * args)
642 {
643         __NONE_fn rfunc = (__NONE_fn) func;
644         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
645                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]),
646                   GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]),
647                   GTK_VALUE_INT(args[6]), GTK_VALUE_INT(args[7]),
648                   GTK_VALUE_INT(args[8]), GTK_VALUE_INT(args[9]));
649 }
650
651 static void
652 emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT_INT_INT(ffi_actual_function func,
653                                                       GtkArg * args)
654 {
655         __NONE_fn rfunc = (__NONE_fn) func;
656         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
657                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]),
658                   GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]));
659 }
660
661 static void
662 emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT_INT(ffi_actual_function func,
663                                                   GtkArg * args)
664 {
665         __NONE_fn rfunc = (__NONE_fn) func;
666         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
667                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]),
668                   GTK_VALUE_INT(args[4]));
669 }
670
671 static void
672 emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT(ffi_actual_function func,
673                                               GtkArg * args)
674 {
675         __NONE_fn rfunc = (__NONE_fn) func;
676         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
677                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]));
678 }
679
680 static void
681 emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT(ffi_actual_function func,
682                                           GtkArg * args)
683 {
684         __NONE_fn rfunc = (__NONE_fn) func;
685         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
686                   GTK_VALUE_INT(args[2]));
687 }
688
689 static void
690 emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_INT(ffi_actual_function func,
691                                                  GtkArg * args)
692 {
693         __NONE_fn rfunc = (__NONE_fn) func;
694         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
695                   GTK_VALUE_OBJECT(args[2]), GTK_VALUE_INT(args[3]));
696 }
697
698 static void
699 emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_OBJECT_INT(ffi_actual_function
700                                                         func, GtkArg * args)
701 {
702         __NONE_fn rfunc = (__NONE_fn) func;
703         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
704                   GTK_VALUE_OBJECT(args[2]), GTK_VALUE_OBJECT(args[3]),
705                   GTK_VALUE_INT(args[4]));
706 }
707
708 static void
709 emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_OBJECT(ffi_actual_function func,
710                                                     GtkArg * args)
711 {
712         __NONE_fn rfunc = (__NONE_fn) func;
713         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
714                   GTK_VALUE_OBJECT(args[2]), GTK_VALUE_OBJECT(args[3]));
715 }
716
717 static void
718 emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_POINTER_POINTER_INT_INT
719 (ffi_actual_function func, GtkArg * args)
720 {
721         __NONE_fn rfunc = (__NONE_fn) func;
722         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
723                   GTK_VALUE_OBJECT(args[2]), GTK_VALUE_POINTER(args[3]),
724                   GTK_VALUE_POINTER(args[4]), GTK_VALUE_INT(args[5]),
725                   GTK_VALUE_INT(args[6]));
726 }
727
728 static void
729 emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT(ffi_actual_function func,
730                                              GtkArg * args)
731 {
732         __NONE_fn rfunc = (__NONE_fn) func;
733         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
734                   GTK_VALUE_OBJECT(args[2]));
735 }
736
737 static void
738 emacs_gtk_marshal_NONE__OBJECT_OBJECT_POINTER(ffi_actual_function func,
739                                               GtkArg * args)
740 {
741         __NONE_fn rfunc = (__NONE_fn) func;
742         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
743                   GTK_VALUE_POINTER(args[2]));
744 }
745
746 static void
747 emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING_INT_INT_INT_INT_INT
748 (ffi_actual_function func, GtkArg * args)
749 {
750         __NONE_fn rfunc = (__NONE_fn) func;
751         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
752                   GTK_VALUE_STRING(args[2]), GTK_VALUE_INT(args[3]),
753                   GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]),
754                   GTK_VALUE_INT(args[6]), GTK_VALUE_INT(args[7]));
755 }
756
757 static void
758 emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING_STRING_INT(ffi_actual_function
759                                                         func, GtkArg * args)
760 {
761         __NONE_fn rfunc = (__NONE_fn) func;
762         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
763                   GTK_VALUE_STRING(args[2]), GTK_VALUE_STRING(args[3]),
764                   GTK_VALUE_INT(args[4]));
765 }
766
767 static void
768 emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING_STRING(ffi_actual_function func,
769                                                     GtkArg * args)
770 {
771         __NONE_fn rfunc = (__NONE_fn) func;
772         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
773                   GTK_VALUE_STRING(args[2]), GTK_VALUE_STRING(args[3]));
774 }
775
776 static void
777 emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING(ffi_actual_function func,
778                                              GtkArg * args)
779 {
780         __NONE_fn rfunc = (__NONE_fn) func;
781         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]),
782                   GTK_VALUE_STRING(args[2]));
783 }
784
785 static void
786 emacs_gtk_marshal_NONE__OBJECT_OBJECT(ffi_actual_function func, GtkArg * args)
787 {
788         __NONE_fn rfunc = (__NONE_fn) func;
789         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]));
790 }
791
792 static void
793 emacs_gtk_marshal_NONE__OBJECT_POINTER_BOOL(ffi_actual_function func,
794                                             GtkArg * args)
795 {
796         __NONE_fn rfunc = (__NONE_fn) func;
797         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
798                   GTK_VALUE_BOOL(args[2]));
799 }
800 typedef void (*__NONE__OBJECT_POINTER_INT_FLOAT_FLOAT_fn) (GtkObject *, void *,
801                                                            guint, gfloat,
802                                                            gfloat);
803
804 static void
805 emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_FLOAT_FLOAT(ffi_actual_function func,
806                                                        GtkArg * args)
807 {
808         __NONE__OBJECT_POINTER_INT_FLOAT_FLOAT_fn rfunc =
809             (__NONE__OBJECT_POINTER_INT_FLOAT_FLOAT_fn) func;
810         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
811                   GTK_VALUE_INT(args[2]), GTK_VALUE_FLOAT(args[3]),
812                   GTK_VALUE_FLOAT(args[4]));
813 }
814
815 static void
816 emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_INT_INT(ffi_actual_function func,
817                                                    GtkArg * args)
818 {
819         __NONE_fn rfunc = (__NONE_fn) func;
820         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
821                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]),
822                   GTK_VALUE_INT(args[4]));
823 }
824
825 static void
826 emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_INT(ffi_actual_function func,
827                                                GtkArg * args)
828 {
829         __NONE_fn rfunc = (__NONE_fn) func;
830         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
831                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]));
832 }
833
834 static void
835 emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_POINTER_POINTER(ffi_actual_function
836                                                            func, GtkArg * args)
837 {
838         __NONE_fn rfunc = (__NONE_fn) func;
839         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
840                   GTK_VALUE_INT(args[2]), GTK_VALUE_POINTER(args[3]),
841                   GTK_VALUE_POINTER(args[4]));
842 }
843
844 static void
845 emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_POINTER(ffi_actual_function func,
846                                                    GtkArg * args)
847 {
848         __NONE_fn rfunc = (__NONE_fn) func;
849         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
850                   GTK_VALUE_INT(args[2]), GTK_VALUE_POINTER(args[3]));
851 }
852
853 static void
854 emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_STRING_INT_POINTER_POINTER
855 (ffi_actual_function func, GtkArg * args)
856 {
857         __NONE_fn rfunc = (__NONE_fn) func;
858         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
859                   GTK_VALUE_INT(args[2]), GTK_VALUE_STRING(args[3]),
860                   GTK_VALUE_INT(args[4]), GTK_VALUE_POINTER(args[5]),
861                   GTK_VALUE_POINTER(args[6]));
862 }
863
864 static void
865 emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_STRING(ffi_actual_function func,
866                                                   GtkArg * args)
867 {
868         __NONE_fn rfunc = (__NONE_fn) func;
869         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
870                   GTK_VALUE_INT(args[2]), GTK_VALUE_STRING(args[3]));
871 }
872
873 static void
874 emacs_gtk_marshal_NONE__OBJECT_POINTER_INT(ffi_actual_function func,
875                                            GtkArg * args)
876 {
877         __NONE_fn rfunc = (__NONE_fn) func;
878         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
879                   GTK_VALUE_INT(args[2]));
880 }
881
882 static void
883 emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER_POINTER_STRING_INT
884 (ffi_actual_function func, GtkArg * args)
885 {
886         __NONE_fn rfunc = (__NONE_fn) func;
887         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
888                   GTK_VALUE_POINTER(args[2]), GTK_VALUE_POINTER(args[3]),
889                   GTK_VALUE_STRING(args[4]), GTK_VALUE_INT(args[5]));
890 }
891
892 static void
893 emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER_POINTER(ffi_actual_function func,
894                                                        GtkArg * args)
895 {
896         __NONE_fn rfunc = (__NONE_fn) func;
897         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
898                   GTK_VALUE_POINTER(args[2]), GTK_VALUE_POINTER(args[3]));
899 }
900
901 static void
902 emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER(ffi_actual_function func,
903                                                GtkArg * args)
904 {
905         __NONE_fn rfunc = (__NONE_fn) func;
906         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
907                   GTK_VALUE_POINTER(args[2]));
908 }
909
910 static void
911 emacs_gtk_marshal_NONE__OBJECT_POINTER_STRING_INT_POINTER_POINTER_POINTER_POINTER_BOOL_BOOL
912 (ffi_actual_function func, GtkArg * args)
913 {
914         __NONE_fn rfunc = (__NONE_fn) func;
915         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
916                   GTK_VALUE_STRING(args[2]), GTK_VALUE_INT(args[3]),
917                   GTK_VALUE_POINTER(args[4]), GTK_VALUE_POINTER(args[5]),
918                   GTK_VALUE_POINTER(args[6]), GTK_VALUE_POINTER(args[7]),
919                   GTK_VALUE_BOOL(args[8]), GTK_VALUE_BOOL(args[9]));
920 }
921
922 static void
923 emacs_gtk_marshal_NONE__OBJECT_POINTER(ffi_actual_function func, GtkArg * args)
924 {
925         __NONE_fn rfunc = (__NONE_fn) func;
926         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]));
927 }
928
929 static void
930 emacs_gtk_marshal_NONE__OBJECT_STRING_BOOL(ffi_actual_function func,
931                                            GtkArg * args)
932 {
933         __NONE_fn rfunc = (__NONE_fn) func;
934         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]),
935                   GTK_VALUE_BOOL(args[2]));
936 }
937
938 static void
939 emacs_gtk_marshal_NONE__OBJECT_STRING_POINTER_INT_INT_INT(ffi_actual_function
940                                                           func, GtkArg * args)
941 {
942         __NONE_fn rfunc = (__NONE_fn) func;
943         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]),
944                   GTK_VALUE_POINTER(args[2]), GTK_VALUE_INT(args[3]),
945                   GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]));
946 }
947
948 static void
949 emacs_gtk_marshal_NONE__OBJECT_STRING_POINTER_INT_INT(ffi_actual_function func,
950                                                       GtkArg * args)
951 {
952         __NONE_fn rfunc = (__NONE_fn) func;
953         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]),
954                   GTK_VALUE_POINTER(args[2]), GTK_VALUE_INT(args[3]),
955                   GTK_VALUE_INT(args[4]));
956 }
957
958 static void
959 emacs_gtk_marshal_NONE__OBJECT_STRING_STRING(ffi_actual_function func,
960                                              GtkArg * args)
961 {
962         __NONE_fn rfunc = (__NONE_fn) func;
963         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]),
964                   GTK_VALUE_STRING(args[2]));
965 }
966
967 static void
968 emacs_gtk_marshal_NONE__OBJECT_STRING(ffi_actual_function func, GtkArg * args)
969 {
970         __NONE_fn rfunc = (__NONE_fn) func;
971         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]));
972 }
973
974 static void
975 emacs_gtk_marshal_NONE__OBJECT(ffi_actual_function func, GtkArg * args)
976 {
977         __NONE_fn rfunc = (__NONE_fn) func;
978         (*rfunc) (GTK_VALUE_OBJECT(args[0]));
979 }
980
981 static void
982 emacs_gtk_marshal_NONE__POINTER_INT(ffi_actual_function func, GtkArg * args)
983 {
984         __NONE_fn rfunc = (__NONE_fn) func;
985         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_INT(args[1]));
986 }
987
988 static void
989 emacs_gtk_marshal_NONE__POINTER_POINTER_BOOL_INT_INT_INT_INT_INT_INT
990 (ffi_actual_function func, GtkArg * args)
991 {
992         __NONE_fn rfunc = (__NONE_fn) func;
993         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]),
994                   GTK_VALUE_BOOL(args[2]), GTK_VALUE_INT(args[3]),
995                   GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]),
996                   GTK_VALUE_INT(args[6]), GTK_VALUE_INT(args[7]),
997                   GTK_VALUE_INT(args[8]));
998 }
999
1000 static void
1001 emacs_gtk_marshal_NONE__POINTER_POINTER_BOOL_INT_INT_INT_INT(ffi_actual_function
1002                                                              func,
1003                                                              GtkArg * args)
1004 {
1005         __NONE_fn rfunc = (__NONE_fn) func;
1006         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]),
1007                   GTK_VALUE_BOOL(args[2]), GTK_VALUE_INT(args[3]),
1008                   GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]),
1009                   GTK_VALUE_INT(args[6]));
1010 }
1011
1012 static void
1013 emacs_gtk_marshal_NONE__POINTER_POINTER_INT_INT_INT_INT(ffi_actual_function
1014                                                         func, GtkArg * args)
1015 {
1016         __NONE_fn rfunc = (__NONE_fn) func;
1017         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]),
1018                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]),
1019                   GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]));
1020 }
1021
1022 static void
1023 emacs_gtk_marshal_NONE__POINTER_POINTER_INT_INT(ffi_actual_function func,
1024                                                 GtkArg * args)
1025 {
1026         __NONE_fn rfunc = (__NONE_fn) func;
1027         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]),
1028                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]));
1029 }
1030
1031 static void
1032 emacs_gtk_marshal_NONE__POINTER_POINTER_POINTER_INT_INT_STRING_INT
1033 (ffi_actual_function func, GtkArg * args)
1034 {
1035         __NONE_fn rfunc = (__NONE_fn) func;
1036         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]),
1037                   GTK_VALUE_POINTER(args[2]), GTK_VALUE_INT(args[3]),
1038                   GTK_VALUE_INT(args[4]), GTK_VALUE_STRING(args[5]),
1039                   GTK_VALUE_INT(args[6]));
1040 }
1041
1042 static void
1043 emacs_gtk_marshal_NONE__POINTER_POINTER_POINTER_INT_INT_STRING
1044 (ffi_actual_function func, GtkArg * args)
1045 {
1046         __NONE_fn rfunc = (__NONE_fn) func;
1047         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]),
1048                   GTK_VALUE_POINTER(args[2]), GTK_VALUE_INT(args[3]),
1049                   GTK_VALUE_INT(args[4]), GTK_VALUE_STRING(args[5]));
1050 }
1051
1052 static void
1053 emacs_gtk_marshal_NONE__POINTER_POINTER_POINTER_POINTER(ffi_actual_function
1054                                                         func, GtkArg * args)
1055 {
1056         __NONE_fn rfunc = (__NONE_fn) func;
1057         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]),
1058                   GTK_VALUE_POINTER(args[2]), GTK_VALUE_POINTER(args[3]));
1059 }
1060
1061 static void
1062 emacs_gtk_marshal_NONE__POINTER_POINTER(ffi_actual_function func, GtkArg * args)
1063 {
1064         __NONE_fn rfunc = (__NONE_fn) func;
1065         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]));
1066 }
1067
1068 static void
1069 emacs_gtk_marshal_NONE__POINTER_STRING(ffi_actual_function func, GtkArg * args)
1070 {
1071         __NONE_fn rfunc = (__NONE_fn) func;
1072         (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_STRING(args[1]));
1073 }
1074
1075 static void
1076 emacs_gtk_marshal_NONE__POINTER(ffi_actual_function func, GtkArg * args)
1077 {
1078         __NONE_fn rfunc = (__NONE_fn) func;
1079         (*rfunc) (GTK_VALUE_POINTER(args[0]));
1080 }
1081
1082 static void
1083 emacs_gtk_marshal_NONE__NONE(ffi_actual_function func, GtkArg * args)
1084 {
1085         __NONE_fn rfunc = (__NONE_fn) func;
1086         (*rfunc) ();
1087 }
1088
1089 static void
1090 emacs_gtk_marshal_OBJECT__BOOL_BOOL_INT(ffi_actual_function func, GtkArg * args)
1091 {
1092         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1093         GtkObject **return_val;
1094
1095         return_val = GTK_RETLOC_OBJECT(args[3]);
1096         *return_val =
1097             (*rfunc) (GTK_VALUE_BOOL(args[0]), GTK_VALUE_BOOL(args[1]),
1098                       GTK_VALUE_INT(args[2]));
1099 }
1100
1101 static void
1102 emacs_gtk_marshal_OBJECT__BOOL_INT(ffi_actual_function func, GtkArg * args)
1103 {
1104         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1105         GtkObject **return_val;
1106
1107         return_val = GTK_RETLOC_OBJECT(args[2]);
1108         *return_val =
1109             (*rfunc) (GTK_VALUE_BOOL(args[0]), GTK_VALUE_INT(args[1]));
1110 }
1111 typedef GtkObject *(*__OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_fn) (gfloat,
1112                                                                         gfloat,
1113                                                                         gfloat,
1114                                                                         gfloat,
1115                                                                         gfloat,
1116                                                                         gfloat);
1117
1118 static void
1119 emacs_gtk_marshal_OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_FLOAT
1120 (ffi_actual_function func, GtkArg * args)
1121 {
1122         __OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_fn rfunc =
1123             (__OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_fn) func;
1124         GtkObject **return_val;
1125
1126         return_val = GTK_RETLOC_OBJECT(args[6]);
1127         *return_val =
1128             (*rfunc) (GTK_VALUE_FLOAT(args[0]), GTK_VALUE_FLOAT(args[1]),
1129                       GTK_VALUE_FLOAT(args[2]), GTK_VALUE_FLOAT(args[3]),
1130                       GTK_VALUE_FLOAT(args[4]), GTK_VALUE_FLOAT(args[5]));
1131 }
1132 typedef GtkObject *(*__OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_fn) (gfloat,
1133                                                                   gfloat,
1134                                                                   gfloat,
1135                                                                   gfloat,
1136                                                                   gfloat);
1137
1138 static void
1139 emacs_gtk_marshal_OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT(ffi_actual_function
1140                                                         func, GtkArg * args)
1141 {
1142         __OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_fn rfunc =
1143             (__OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_fn) func;
1144         GtkObject **return_val;
1145
1146         return_val = GTK_RETLOC_OBJECT(args[5]);
1147         *return_val =
1148             (*rfunc) (GTK_VALUE_FLOAT(args[0]), GTK_VALUE_FLOAT(args[1]),
1149                       GTK_VALUE_FLOAT(args[2]), GTK_VALUE_FLOAT(args[3]),
1150                       GTK_VALUE_FLOAT(args[4]));
1151 }
1152 typedef GtkObject *(*__OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_fn) (gfloat, gfloat,
1153                                                             gfloat, gfloat);
1154
1155 static void
1156 emacs_gtk_marshal_OBJECT__FLOAT_FLOAT_FLOAT_FLOAT(ffi_actual_function func,
1157                                                   GtkArg * args)
1158 {
1159         __OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_fn rfunc =
1160             (__OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_fn) func;
1161         GtkObject **return_val;
1162
1163         return_val = GTK_RETLOC_OBJECT(args[4]);
1164         *return_val =
1165             (*rfunc) (GTK_VALUE_FLOAT(args[0]), GTK_VALUE_FLOAT(args[1]),
1166                       GTK_VALUE_FLOAT(args[2]), GTK_VALUE_FLOAT(args[3]));
1167 }
1168
1169 static void
1170 emacs_gtk_marshal_OBJECT__INT_ARRAY(ffi_actual_function func, GtkArg * args)
1171 {
1172         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1173         GtkObject **return_val;
1174
1175         return_val = GTK_RETLOC_OBJECT(args[2]);
1176         *return_val =
1177             (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_ARRAY(args[1]));
1178 }
1179
1180 static void
1181 emacs_gtk_marshal_OBJECT__INT_BOOL_BOOL(ffi_actual_function func, GtkArg * args)
1182 {
1183         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1184         GtkObject **return_val;
1185
1186         return_val = GTK_RETLOC_OBJECT(args[3]);
1187         *return_val =
1188             (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_BOOL(args[1]),
1189                       GTK_VALUE_BOOL(args[2]));
1190 }
1191
1192 static void
1193 emacs_gtk_marshal_OBJECT__INT_INT_ARRAY(ffi_actual_function func, GtkArg * args)
1194 {
1195         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1196         GtkObject **return_val;
1197
1198         return_val = GTK_RETLOC_OBJECT(args[3]);
1199         *return_val =
1200             (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_INT(args[1]),
1201                       GTK_VALUE_ARRAY(args[2]));
1202 }
1203
1204 static void
1205 emacs_gtk_marshal_OBJECT__INT_INT_BOOL(ffi_actual_function func, GtkArg * args)
1206 {
1207         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1208         GtkObject **return_val;
1209
1210         return_val = GTK_RETLOC_OBJECT(args[3]);
1211         *return_val =
1212             (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_INT(args[1]),
1213                       GTK_VALUE_BOOL(args[2]));
1214 }
1215
1216 static void
1217 emacs_gtk_marshal_OBJECT__INT_INT_STRING(ffi_actual_function func,
1218                                          GtkArg * args)
1219 {
1220         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1221         GtkObject **return_val;
1222
1223         return_val = GTK_RETLOC_OBJECT(args[3]);
1224         *return_val =
1225             (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_INT(args[1]),
1226                       GTK_VALUE_STRING(args[2]));
1227 }
1228
1229 static void
1230 emacs_gtk_marshal_OBJECT__INT_INT(ffi_actual_function func, GtkArg * args)
1231 {
1232         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1233         GtkObject **return_val;
1234
1235         return_val = GTK_RETLOC_OBJECT(args[2]);
1236         *return_val = (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_INT(args[1]));
1237 }
1238
1239 static void
1240 emacs_gtk_marshal_OBJECT__INT(ffi_actual_function func, GtkArg * args)
1241 {
1242         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1243         GtkObject **return_val;
1244
1245         return_val = GTK_RETLOC_OBJECT(args[1]);
1246         *return_val = (*rfunc) (GTK_VALUE_INT(args[0]));
1247 }
1248 typedef GtkObject *(*__OBJECT__OBJECT_FLOAT_INT_fn) (GtkObject *, gfloat,
1249                                                      guint);
1250
1251 static void
1252 emacs_gtk_marshal_OBJECT__OBJECT_FLOAT_INT(ffi_actual_function func,
1253                                            GtkArg * args)
1254 {
1255         __OBJECT__OBJECT_FLOAT_INT_fn rfunc =
1256             (__OBJECT__OBJECT_FLOAT_INT_fn) func;
1257         GtkObject **return_val;
1258
1259         return_val = GTK_RETLOC_OBJECT(args[3]);
1260         *return_val =
1261             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_FLOAT(args[1]),
1262                       GTK_VALUE_INT(args[2]));
1263 }
1264
1265 static void
1266 emacs_gtk_marshal_OBJECT__OBJECT_INT(ffi_actual_function func, GtkArg * args)
1267 {
1268         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1269         GtkObject **return_val;
1270
1271         return_val = GTK_RETLOC_OBJECT(args[2]);
1272         *return_val =
1273             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]));
1274 }
1275
1276 static void
1277 emacs_gtk_marshal_OBJECT__OBJECT_OBJECT(ffi_actual_function func, GtkArg * args)
1278 {
1279         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1280         GtkObject **return_val;
1281
1282         return_val = GTK_RETLOC_OBJECT(args[2]);
1283         *return_val =
1284             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_OBJECT(args[1]));
1285 }
1286
1287 static void
1288 emacs_gtk_marshal_OBJECT__OBJECT_STRING_INT_INT_INT_INT_INT(ffi_actual_function
1289                                                             func, GtkArg * args)
1290 {
1291         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1292         GtkObject **return_val;
1293
1294         return_val = GTK_RETLOC_OBJECT(args[7]);
1295         *return_val =
1296             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]),
1297                       GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]),
1298                       GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]),
1299                       GTK_VALUE_INT(args[6]));
1300 }
1301
1302 static void
1303 emacs_gtk_marshal_OBJECT__OBJECT_STRING_INT_INT_INT_INT(ffi_actual_function
1304                                                         func, GtkArg * args)
1305 {
1306         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1307         GtkObject **return_val;
1308
1309         return_val = GTK_RETLOC_OBJECT(args[6]);
1310         *return_val =
1311             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]),
1312                       GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]),
1313                       GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]));
1314 }
1315
1316 static void
1317 emacs_gtk_marshal_OBJECT__OBJECT_STRING_INT_INT(ffi_actual_function func,
1318                                                 GtkArg * args)
1319 {
1320         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1321         GtkObject **return_val;
1322
1323         return_val = GTK_RETLOC_OBJECT(args[4]);
1324         *return_val =
1325             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]),
1326                       GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]));
1327 }
1328
1329 static void
1330 emacs_gtk_marshal_OBJECT__OBJECT_STRING(ffi_actual_function func, GtkArg * args)
1331 {
1332         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1333         GtkObject **return_val;
1334
1335         return_val = GTK_RETLOC_OBJECT(args[2]);
1336         *return_val =
1337             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]));
1338 }
1339
1340 static void
1341 emacs_gtk_marshal_OBJECT__OBJECT(ffi_actual_function func, GtkArg * args)
1342 {
1343         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1344         GtkObject **return_val;
1345
1346         return_val = GTK_RETLOC_OBJECT(args[1]);
1347         *return_val = (*rfunc) (GTK_VALUE_OBJECT(args[0]));
1348 }
1349
1350 static void
1351 emacs_gtk_marshal_OBJECT__POINTER_POINTER(ffi_actual_function func,
1352                                           GtkArg * args)
1353 {
1354         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1355         GtkObject **return_val;
1356
1357         return_val = GTK_RETLOC_OBJECT(args[2]);
1358         *return_val =
1359             (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]));
1360 }
1361
1362 static void
1363 emacs_gtk_marshal_OBJECT__POINTER_STRING(ffi_actual_function func,
1364                                          GtkArg * args)
1365 {
1366         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1367         GtkObject **return_val;
1368
1369         return_val = GTK_RETLOC_OBJECT(args[2]);
1370         *return_val =
1371             (*rfunc) (GTK_VALUE_POINTER(args[0]), GTK_VALUE_STRING(args[1]));
1372 }
1373
1374 static void
1375 emacs_gtk_marshal_OBJECT__POINTER(ffi_actual_function func, GtkArg * args)
1376 {
1377         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1378         GtkObject **return_val;
1379
1380         return_val = GTK_RETLOC_OBJECT(args[1]);
1381         *return_val = (*rfunc) (GTK_VALUE_POINTER(args[0]));
1382 }
1383 typedef GtkObject *(*__OBJECT__STRING_FLOAT_FLOAT_FLOAT_BOOL_fn) (gchar *,
1384                                                                   gfloat,
1385                                                                   gfloat,
1386                                                                   gfloat,
1387                                                                   gboolean);
1388
1389 static void
1390 emacs_gtk_marshal_OBJECT__STRING_FLOAT_FLOAT_FLOAT_BOOL(ffi_actual_function
1391                                                         func, GtkArg * args)
1392 {
1393         __OBJECT__STRING_FLOAT_FLOAT_FLOAT_BOOL_fn rfunc =
1394             (__OBJECT__STRING_FLOAT_FLOAT_FLOAT_BOOL_fn) func;
1395         GtkObject **return_val;
1396
1397         return_val = GTK_RETLOC_OBJECT(args[5]);
1398         *return_val =
1399             (*rfunc) (GTK_VALUE_STRING(args[0]), GTK_VALUE_FLOAT(args[1]),
1400                       GTK_VALUE_FLOAT(args[2]), GTK_VALUE_FLOAT(args[3]),
1401                       GTK_VALUE_BOOL(args[4]));
1402 }
1403
1404 static void
1405 emacs_gtk_marshal_OBJECT__STRING_INT_STRING_STRING(ffi_actual_function func,
1406                                                    GtkArg * args)
1407 {
1408         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1409         GtkObject **return_val;
1410
1411         return_val = GTK_RETLOC_OBJECT(args[4]);
1412         *return_val =
1413             (*rfunc) (GTK_VALUE_STRING(args[0]), GTK_VALUE_INT(args[1]),
1414                       GTK_VALUE_STRING(args[2]), GTK_VALUE_STRING(args[3]));
1415 }
1416
1417 static void
1418 emacs_gtk_marshal_OBJECT__STRING_OBJECT(ffi_actual_function func, GtkArg * args)
1419 {
1420         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1421         GtkObject **return_val;
1422
1423         return_val = GTK_RETLOC_OBJECT(args[2]);
1424         *return_val =
1425             (*rfunc) (GTK_VALUE_STRING(args[0]), GTK_VALUE_OBJECT(args[1]));
1426 }
1427
1428 static void
1429 emacs_gtk_marshal_OBJECT__STRING_STRING_STRING_ARRAY_STRING_STRING
1430 (ffi_actual_function func, GtkArg * args)
1431 {
1432         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1433         GtkObject **return_val;
1434
1435         return_val = GTK_RETLOC_OBJECT(args[6]);
1436         *return_val =
1437             (*rfunc) (GTK_VALUE_STRING(args[0]), GTK_VALUE_STRING(args[1]),
1438                       GTK_VALUE_STRING(args[2]), GTK_VALUE_ARRAY(args[3]),
1439                       GTK_VALUE_STRING(args[4]), GTK_VALUE_STRING(args[5]));
1440 }
1441
1442 static void
1443 emacs_gtk_marshal_OBJECT__STRING_STRING(ffi_actual_function func, GtkArg * args)
1444 {
1445         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1446         GtkObject **return_val;
1447
1448         return_val = GTK_RETLOC_OBJECT(args[2]);
1449         *return_val =
1450             (*rfunc) (GTK_VALUE_STRING(args[0]), GTK_VALUE_STRING(args[1]));
1451 }
1452
1453 static void
1454 emacs_gtk_marshal_OBJECT__STRING(ffi_actual_function func, GtkArg * args)
1455 {
1456         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1457         GtkObject **return_val;
1458
1459         return_val = GTK_RETLOC_OBJECT(args[1]);
1460         *return_val = (*rfunc) (GTK_VALUE_STRING(args[0]));
1461 }
1462
1463 static void
1464 emacs_gtk_marshal_OBJECT__NONE(ffi_actual_function func, GtkArg * args)
1465 {
1466         __OBJECT_fn rfunc = (__OBJECT_fn) func;
1467         GtkObject **return_val;
1468
1469         return_val = GTK_RETLOC_OBJECT(args[0]);
1470         *return_val = (*rfunc) ();
1471 }
1472
1473 static void
1474 emacs_gtk_marshal_POINTER__INT_INT(ffi_actual_function func, GtkArg * args)
1475 {
1476         __POINTER_fn rfunc = (__POINTER_fn) func;
1477         void **return_val;
1478
1479         return_val = GTK_RETLOC_POINTER(args[2]);
1480         *return_val = (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_INT(args[1]));
1481 }
1482
1483 static void
1484 emacs_gtk_marshal_POINTER__INT(ffi_actual_function func, GtkArg * args)
1485 {
1486         __POINTER_fn rfunc = (__POINTER_fn) func;
1487         void **return_val;
1488
1489         return_val = GTK_RETLOC_POINTER(args[1]);
1490         *return_val = (*rfunc) (GTK_VALUE_INT(args[0]));
1491 }
1492
1493 static void
1494 emacs_gtk_marshal_POINTER__OBJECT_INT_INT(ffi_actual_function func,
1495                                           GtkArg * args)
1496 {
1497         __POINTER_fn rfunc = (__POINTER_fn) func;
1498         void **return_val;
1499
1500         return_val = GTK_RETLOC_POINTER(args[3]);
1501         *return_val =
1502             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
1503                       GTK_VALUE_INT(args[2]));
1504 }
1505
1506 static void
1507 emacs_gtk_marshal_POINTER__OBJECT_INT(ffi_actual_function func, GtkArg * args)
1508 {
1509         __POINTER_fn rfunc = (__POINTER_fn) func;
1510         void **return_val;
1511
1512         return_val = GTK_RETLOC_POINTER(args[2]);
1513         *return_val =
1514             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]));
1515 }
1516
1517 static void
1518 emacs_gtk_marshal_POINTER__OBJECT_POINTER_INT(ffi_actual_function func,
1519                                               GtkArg * args)
1520 {
1521         __POINTER_fn rfunc = (__POINTER_fn) func;
1522         void **return_val;
1523
1524         return_val = GTK_RETLOC_POINTER(args[3]);
1525         *return_val =
1526             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
1527                       GTK_VALUE_INT(args[2]));
1528 }
1529
1530 static void
1531 emacs_gtk_marshal_POINTER__OBJECT_POINTER_POINTER_ARRAY_INT_POINTER_POINTER_POINTER_POINTER_BOOL_BOOL
1532 (ffi_actual_function func, GtkArg * args)
1533 {
1534         __POINTER_fn rfunc = (__POINTER_fn) func;
1535         void **return_val;
1536
1537         return_val = GTK_RETLOC_POINTER(args[11]);
1538         *return_val =
1539             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
1540                       GTK_VALUE_POINTER(args[2]), GTK_VALUE_ARRAY(args[3]),
1541                       GTK_VALUE_INT(args[4]), GTK_VALUE_POINTER(args[5]),
1542                       GTK_VALUE_POINTER(args[6]), GTK_VALUE_POINTER(args[7]),
1543                       GTK_VALUE_POINTER(args[8]), GTK_VALUE_BOOL(args[9]),
1544                       GTK_VALUE_BOOL(args[10]));
1545 }
1546
1547 static void
1548 emacs_gtk_marshal_POINTER__OBJECT_POINTER(ffi_actual_function func,
1549                                           GtkArg * args)
1550 {
1551         __POINTER_fn rfunc = (__POINTER_fn) func;
1552         void **return_val;
1553
1554         return_val = GTK_RETLOC_POINTER(args[2]);
1555         *return_val =
1556             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]));
1557 }
1558
1559 static void
1560 emacs_gtk_marshal_POINTER__OBJECT(ffi_actual_function func, GtkArg * args)
1561 {
1562         __POINTER_fn rfunc = (__POINTER_fn) func;
1563         void **return_val;
1564
1565         return_val = GTK_RETLOC_POINTER(args[1]);
1566         *return_val = (*rfunc) (GTK_VALUE_OBJECT(args[0]));
1567 }
1568
1569 static void
1570 emacs_gtk_marshal_POINTER__POINTER(ffi_actual_function func, GtkArg * args)
1571 {
1572         __POINTER_fn rfunc = (__POINTER_fn) func;
1573         void **return_val;
1574
1575         return_val = GTK_RETLOC_POINTER(args[1]);
1576         *return_val = (*rfunc) (GTK_VALUE_POINTER(args[0]));
1577 }
1578
1579 static void
1580 emacs_gtk_marshal_POINTER__NONE(ffi_actual_function func, GtkArg * args)
1581 {
1582         __POINTER_fn rfunc = (__POINTER_fn) func;
1583         void **return_val;
1584
1585         return_val = GTK_RETLOC_POINTER(args[0]);
1586         *return_val = (*rfunc) ();
1587 }
1588
1589 static void
1590 emacs_gtk_marshal_STRING__INT_INT_INT(ffi_actual_function func, GtkArg * args)
1591 {
1592         __STRING_fn rfunc = (__STRING_fn) func;
1593         gchar **return_val;
1594
1595         return_val = GTK_RETLOC_STRING(args[3]);
1596         *return_val =
1597             (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_INT(args[1]),
1598                       GTK_VALUE_INT(args[2]));
1599 }
1600
1601 static void
1602 emacs_gtk_marshal_STRING__INT(ffi_actual_function func, GtkArg * args)
1603 {
1604         __STRING_fn rfunc = (__STRING_fn) func;
1605         gchar **return_val;
1606
1607         return_val = GTK_RETLOC_STRING(args[1]);
1608         *return_val = (*rfunc) (GTK_VALUE_INT(args[0]));
1609 }
1610
1611 static void
1612 emacs_gtk_marshal_STRING__OBJECT_BOOL(ffi_actual_function func, GtkArg * args)
1613 {
1614         __STRING_fn rfunc = (__STRING_fn) func;
1615         gchar **return_val;
1616
1617         return_val = GTK_RETLOC_STRING(args[2]);
1618         *return_val =
1619             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_BOOL(args[1]));
1620 }
1621 typedef gchar *(*__STRING__OBJECT_FLOAT_fn) (GtkObject *, gfloat);
1622
1623 static void
1624 emacs_gtk_marshal_STRING__OBJECT_FLOAT(ffi_actual_function func, GtkArg * args)
1625 {
1626         __STRING__OBJECT_FLOAT_fn rfunc = (__STRING__OBJECT_FLOAT_fn) func;
1627         gchar **return_val;
1628
1629         return_val = GTK_RETLOC_STRING(args[2]);
1630         *return_val =
1631             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_FLOAT(args[1]));
1632 }
1633
1634 static void
1635 emacs_gtk_marshal_STRING__OBJECT_INT_INT(ffi_actual_function func,
1636                                          GtkArg * args)
1637 {
1638         __STRING_fn rfunc = (__STRING_fn) func;
1639         gchar **return_val;
1640
1641         return_val = GTK_RETLOC_STRING(args[3]);
1642         *return_val =
1643             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]),
1644                       GTK_VALUE_INT(args[2]));
1645 }
1646
1647 static void
1648 emacs_gtk_marshal_STRING__OBJECT_INT(ffi_actual_function func, GtkArg * args)
1649 {
1650         __STRING_fn rfunc = (__STRING_fn) func;
1651         gchar **return_val;
1652
1653         return_val = GTK_RETLOC_STRING(args[2]);
1654         *return_val =
1655             (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_INT(args[1]));
1656 }
1657
1658 static void
1659 emacs_gtk_marshal_STRING__OBJECT(ffi_actual_function func, GtkArg * args)
1660 {
1661         __STRING_fn rfunc = (__STRING_fn) func;
1662         gchar **return_val;
1663
1664         return_val = GTK_RETLOC_STRING(args[1]);
1665         *return_val = (*rfunc) (GTK_VALUE_OBJECT(args[0]));
1666 }
1667
1668 static void
1669 emacs_gtk_marshal_STRING__NONE(ffi_actual_function func, GtkArg * args)
1670 {
1671         __STRING_fn rfunc = (__STRING_fn) func;
1672         gchar **return_val;
1673
1674         return_val = GTK_RETLOC_STRING(args[0]);
1675         *return_val = (*rfunc) ();
1676 }
1677
1678 static void
1679 emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER_INT_INT_INT_INT_INT_INT
1680 (ffi_actual_function func, GtkArg * args)
1681 {
1682         __NONE_fn rfunc = (__NONE_fn) func;
1683         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_POINTER(args[1]),
1684                   GTK_VALUE_POINTER(args[2]), GTK_VALUE_INT(args[3]),
1685                   GTK_VALUE_INT(args[4]), GTK_VALUE_INT(args[5]),
1686                   GTK_VALUE_INT(args[6]), GTK_VALUE_INT(args[7]),
1687                   GTK_VALUE_INT(args[8]));
1688 }
1689
1690 static void
1691 emacs_gtk_marshal_NONE__OBJECT_STRING_INT_INT_INT(ffi_actual_function func,
1692                                                   GtkArg * args)
1693 {
1694         __NONE_fn rfunc = (__NONE_fn) func;
1695         (*rfunc) (GTK_VALUE_OBJECT(args[0]), GTK_VALUE_STRING(args[1]),
1696                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]),
1697                   GTK_VALUE_INT(args[4]));
1698 }
1699
1700 static void
1701 emacs_gtk_marshal_NONE__INT_INT_INT_INT(ffi_actual_function func, GtkArg * args)
1702 {
1703         __NONE_fn rfunc = (__NONE_fn) func;
1704         (*rfunc) (GTK_VALUE_INT(args[0]), GTK_VALUE_INT(args[1]),
1705                   GTK_VALUE_INT(args[2]), GTK_VALUE_INT(args[3]));
1706 }
1707 \f
1708 #include "hash.h"
1709 static struct hash_table *marshaller_hashtable;
1710
1711 extern unsigned long string_hash(const char *xv);
1712
1713 static int our_string_eq(const void *st1, const void *st2)
1714 {
1715         if (!st1)
1716                 return st2 ? 0 : 1;
1717         else if (!st2)
1718                 return 0;
1719         else
1720                 return !strcmp((const char *)st1, (const char *)st2);
1721 }
1722
1723 unsigned long our_string_hash(const void *xv)
1724 {
1725         unsigned int h = 0;
1726         unsigned const char *x = (unsigned const char *)xv;
1727
1728         if (!x)
1729                 return 0;
1730
1731         while (*x) {
1732                 unsigned int g;
1733                 h = (h << 4) + *x++;
1734                 if ((g = h & 0xf0000000) != 0)
1735                         h = (h ^ (g >> 24)) ^ g;
1736         }
1737
1738         return h;
1739 }
1740
1741 static void initialize_marshaller_storage(void)
1742 {
1743         if (!marshaller_hashtable) {
1744                 marshaller_hashtable =
1745                     make_general_hash_table(100, our_string_hash,
1746                                             our_string_eq);
1747                 puthash("emacs_gtk_marshal_BOOL__OBJECT_INT",
1748                         (void *)emacs_gtk_marshal_BOOL__OBJECT_INT,
1749                         marshaller_hashtable);
1750                 puthash("emacs_gtk_marshal_BOOL__OBJECT_OBJECT_OBJECT",
1751                         (void *)emacs_gtk_marshal_BOOL__OBJECT_OBJECT_OBJECT,
1752                         marshaller_hashtable);
1753                 puthash("emacs_gtk_marshal_BOOL__OBJECT_OBJECT",
1754                         (void *)emacs_gtk_marshal_BOOL__OBJECT_OBJECT,
1755                         marshaller_hashtable);
1756                 puthash("emacs_gtk_marshal_BOOL__OBJECT_POINTER",
1757                         (void *)emacs_gtk_marshal_BOOL__OBJECT_POINTER,
1758                         marshaller_hashtable);
1759                 puthash("emacs_gtk_marshal_BOOL__OBJECT_STRING",
1760                         (void *)emacs_gtk_marshal_BOOL__OBJECT_STRING,
1761                         marshaller_hashtable);
1762                 puthash("emacs_gtk_marshal_BOOL__OBJECT",
1763                         (void *)emacs_gtk_marshal_BOOL__OBJECT,
1764                         marshaller_hashtable);
1765                 puthash("emacs_gtk_marshal_BOOL__POINTER_BOOL",
1766                         (void *)emacs_gtk_marshal_BOOL__POINTER_BOOL,
1767                         marshaller_hashtable);
1768                 puthash("emacs_gtk_marshal_BOOL__POINTER",
1769                         (void *)emacs_gtk_marshal_BOOL__POINTER,
1770                         marshaller_hashtable);
1771                 puthash("emacs_gtk_marshal_BOOL__NONE",
1772                         (void *)emacs_gtk_marshal_BOOL__NONE,
1773                         marshaller_hashtable);
1774                 puthash("emacs_gtk_marshal_FLOAT__OBJECT_FLOAT",
1775                         (void *)emacs_gtk_marshal_FLOAT__OBJECT_FLOAT,
1776                         marshaller_hashtable);
1777                 puthash("emacs_gtk_marshal_FLOAT__OBJECT",
1778                         (void *)emacs_gtk_marshal_FLOAT__OBJECT,
1779                         marshaller_hashtable);
1780                 puthash("emacs_gtk_marshal_INT__BOOL",
1781                         (void *)emacs_gtk_marshal_INT__BOOL,
1782                         marshaller_hashtable);
1783                 puthash("emacs_gtk_marshal_INT__OBJECT_ARRAY",
1784                         (void *)emacs_gtk_marshal_INT__OBJECT_ARRAY,
1785                         marshaller_hashtable);
1786                 puthash("emacs_gtk_marshal_INT__OBJECT_INT_ARRAY",
1787                         (void *)emacs_gtk_marshal_INT__OBJECT_INT_ARRAY,
1788                         marshaller_hashtable);
1789                 puthash("emacs_gtk_marshal_INT__OBJECT_INT_INT",
1790                         (void *)emacs_gtk_marshal_INT__OBJECT_INT_INT,
1791                         marshaller_hashtable);
1792                 puthash("emacs_gtk_marshal_INT__OBJECT_INT_STRING",
1793                         (void *)emacs_gtk_marshal_INT__OBJECT_INT_STRING,
1794                         marshaller_hashtable);
1795                 puthash("emacs_gtk_marshal_INT__OBJECT_INT",
1796                         (void *)emacs_gtk_marshal_INT__OBJECT_INT,
1797                         marshaller_hashtable);
1798                 puthash("emacs_gtk_marshal_INT__OBJECT_OBJECT",
1799                         (void *)emacs_gtk_marshal_INT__OBJECT_OBJECT,
1800                         marshaller_hashtable);
1801                 puthash("emacs_gtk_marshal_INT__OBJECT_POINTER_INT_INT",
1802                         (void *)emacs_gtk_marshal_INT__OBJECT_POINTER_INT_INT,
1803                         marshaller_hashtable);
1804                 puthash("emacs_gtk_marshal_INT__OBJECT_POINTER_INT",
1805                         (void *)emacs_gtk_marshal_INT__OBJECT_POINTER_INT,
1806                         marshaller_hashtable);
1807                 puthash("emacs_gtk_marshal_INT__OBJECT_POINTER",
1808                         (void *)emacs_gtk_marshal_INT__OBJECT_POINTER,
1809                         marshaller_hashtable);
1810                 puthash("emacs_gtk_marshal_INT__OBJECT_STRING",
1811                         (void *)emacs_gtk_marshal_INT__OBJECT_STRING,
1812                         marshaller_hashtable);
1813                 puthash("emacs_gtk_marshal_INT__OBJECT",
1814                         (void *)emacs_gtk_marshal_INT__OBJECT,
1815                         marshaller_hashtable);
1816                 puthash("emacs_gtk_marshal_INT__POINTER",
1817                         (void *)emacs_gtk_marshal_INT__POINTER,
1818                         marshaller_hashtable);
1819                 puthash("emacs_gtk_marshal_INT__STRING_STRING_INT_ARRAY",
1820                         (void *)emacs_gtk_marshal_INT__STRING_STRING_INT_ARRAY,
1821                         marshaller_hashtable);
1822                 puthash("emacs_gtk_marshal_INT__STRING",
1823                         (void *)emacs_gtk_marshal_INT__STRING,
1824                         marshaller_hashtable);
1825                 puthash("emacs_gtk_marshal_INT__NONE",
1826                         (void *)emacs_gtk_marshal_INT__NONE,
1827                         marshaller_hashtable);
1828                 puthash("emacs_gtk_marshal_LIST__OBJECT",
1829                         (void *)emacs_gtk_marshal_LIST__OBJECT,
1830                         marshaller_hashtable);
1831                 puthash("emacs_gtk_marshal_LIST__NONE",
1832                         (void *)emacs_gtk_marshal_LIST__NONE,
1833                         marshaller_hashtable);
1834                 puthash("emacs_gtk_marshal_NONE__BOOL",
1835                         (void *)emacs_gtk_marshal_NONE__BOOL,
1836                         marshaller_hashtable);
1837                 puthash("emacs_gtk_marshal_NONE__INT_INT",
1838                         (void *)emacs_gtk_marshal_NONE__INT_INT,
1839                         marshaller_hashtable);
1840                 puthash("emacs_gtk_marshal_NONE__INT",
1841                         (void *)emacs_gtk_marshal_NONE__INT,
1842                         marshaller_hashtable);
1843                 puthash("emacs_gtk_marshal_NONE__OBJECT_BOOL_INT",
1844                         (void *)emacs_gtk_marshal_NONE__OBJECT_BOOL_INT,
1845                         marshaller_hashtable);
1846                 puthash("emacs_gtk_marshal_NONE__OBJECT_BOOL",
1847                         (void *)emacs_gtk_marshal_NONE__OBJECT_BOOL,
1848                         marshaller_hashtable);
1849                 puthash("emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT_FLOAT_BOOL",
1850                         (void *)
1851                         emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT_FLOAT_BOOL,
1852                         marshaller_hashtable);
1853                 puthash
1854                     ("emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT_FLOAT_FLOAT",
1855                      (void *)
1856                      emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT_FLOAT_FLOAT,
1857                      marshaller_hashtable);
1858                 puthash("emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT_FLOAT",
1859                         (void *)
1860                         emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT_FLOAT,
1861                         marshaller_hashtable);
1862                 puthash("emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT",
1863                         (void *)emacs_gtk_marshal_NONE__OBJECT_FLOAT_FLOAT,
1864                         marshaller_hashtable);
1865                 puthash("emacs_gtk_marshal_NONE__OBJECT_FLOAT",
1866                         (void *)emacs_gtk_marshal_NONE__OBJECT_FLOAT,
1867                         marshaller_hashtable);
1868                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_BOOL",
1869                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_BOOL,
1870                         marshaller_hashtable);
1871                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_FLOAT_BOOL",
1872                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_FLOAT_BOOL,
1873                         marshaller_hashtable);
1874                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_FLOAT",
1875                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_FLOAT,
1876                         marshaller_hashtable);
1877                 puthash
1878                     ("emacs_gtk_marshal_NONE__OBJECT_INT_INT_ARRAY_ARRAY_ARRAY_ARRAY_ARRAY_ARRAY",
1879                      (void *)
1880                      emacs_gtk_marshal_NONE__OBJECT_INT_INT_ARRAY_ARRAY_ARRAY_ARRAY_ARRAY_ARRAY,
1881                      marshaller_hashtable);
1882                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_INT_ARRAY",
1883                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_INT_ARRAY,
1884                         marshaller_hashtable);
1885                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_INT_FLOAT_FLOAT",
1886                         (void *)
1887                         emacs_gtk_marshal_NONE__OBJECT_INT_INT_FLOAT_FLOAT,
1888                         marshaller_hashtable);
1889                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_INT_INT_INT",
1890                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_INT_INT_INT,
1891                         marshaller_hashtable);
1892                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_INT_INT",
1893                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_INT_INT,
1894                         marshaller_hashtable);
1895                 puthash
1896                     ("emacs_gtk_marshal_NONE__OBJECT_INT_INT_POINTER_POINTER",
1897                      (void *)
1898                      emacs_gtk_marshal_NONE__OBJECT_INT_INT_POINTER_POINTER,
1899                      marshaller_hashtable);
1900                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_INT_POINTER",
1901                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_INT_POINTER,
1902                         marshaller_hashtable);
1903                 puthash
1904                     ("emacs_gtk_marshal_NONE__OBJECT_INT_INT_STRING_INT_POINTER_POINTER",
1905                      (void *)
1906                      emacs_gtk_marshal_NONE__OBJECT_INT_INT_STRING_INT_POINTER_POINTER,
1907                      marshaller_hashtable);
1908                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_INT_STRING",
1909                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_INT_STRING,
1910                         marshaller_hashtable);
1911                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_INT",
1912                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_INT,
1913                         marshaller_hashtable);
1914                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_OBJECT",
1915                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_OBJECT,
1916                         marshaller_hashtable);
1917                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_POINTER",
1918                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_POINTER,
1919                         marshaller_hashtable);
1920                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT_STRING",
1921                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT_STRING,
1922                         marshaller_hashtable);
1923                 puthash("emacs_gtk_marshal_NONE__OBJECT_INT",
1924                         (void *)emacs_gtk_marshal_NONE__OBJECT_INT,
1925                         marshaller_hashtable);
1926                 puthash("emacs_gtk_marshal_NONE__OBJECT_LIST_INT",
1927                         (void *)emacs_gtk_marshal_NONE__OBJECT_LIST_INT,
1928                         marshaller_hashtable);
1929                 puthash("emacs_gtk_marshal_NONE__OBJECT_LIST",
1930                         (void *)emacs_gtk_marshal_NONE__OBJECT_LIST,
1931                         marshaller_hashtable);
1932                 puthash
1933                     ("emacs_gtk_marshal_NONE__OBJECT_OBJECT_BOOL_BOOL_INT_INT",
1934                      (void *)
1935                      emacs_gtk_marshal_NONE__OBJECT_OBJECT_BOOL_BOOL_INT_INT,
1936                      marshaller_hashtable);
1937                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_BOOL_BOOL_INT",
1938                         (void *)
1939                         emacs_gtk_marshal_NONE__OBJECT_OBJECT_BOOL_BOOL_INT,
1940                         marshaller_hashtable);
1941                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_BOOL_BOOL",
1942                         (void *)emacs_gtk_marshal_NONE__OBJECT_OBJECT_BOOL_BOOL,
1943                         marshaller_hashtable);
1944                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_FLOAT_INT",
1945                         (void *)emacs_gtk_marshal_NONE__OBJECT_OBJECT_FLOAT_INT,
1946                         marshaller_hashtable);
1947                 puthash
1948                     ("emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT_INT_INT_INT_INT_INT_INT",
1949                      (void *)
1950                      emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT_INT_INT_INT_INT_INT_INT,
1951                      marshaller_hashtable);
1952                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT_INT_INT",
1953                         (void *)
1954                         emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT_INT_INT,
1955                         marshaller_hashtable);
1956                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT_INT",
1957                         (void *)
1958                         emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT_INT,
1959                         marshaller_hashtable);
1960                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT",
1961                         (void *)emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT_INT,
1962                         marshaller_hashtable);
1963                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT",
1964                         (void *)emacs_gtk_marshal_NONE__OBJECT_OBJECT_INT,
1965                         marshaller_hashtable);
1966                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_INT",
1967                         (void *)
1968                         emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_INT,
1969                         marshaller_hashtable);
1970                 puthash
1971                     ("emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_OBJECT_INT",
1972                      (void *)
1973                      emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_OBJECT_INT,
1974                      marshaller_hashtable);
1975                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_OBJECT",
1976                         (void *)
1977                         emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_OBJECT,
1978                         marshaller_hashtable);
1979                 puthash
1980                     ("emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_POINTER_POINTER_INT_INT",
1981                      (void *)
1982                      emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT_POINTER_POINTER_INT_INT,
1983                      marshaller_hashtable);
1984                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT",
1985                         (void *)emacs_gtk_marshal_NONE__OBJECT_OBJECT_OBJECT,
1986                         marshaller_hashtable);
1987                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_POINTER",
1988                         (void *)emacs_gtk_marshal_NONE__OBJECT_OBJECT_POINTER,
1989                         marshaller_hashtable);
1990                 puthash
1991                     ("emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING_INT_INT_INT_INT_INT",
1992                      (void *)
1993                      emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING_INT_INT_INT_INT_INT,
1994                      marshaller_hashtable);
1995                 puthash
1996                     ("emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING_STRING_INT",
1997                      (void *)
1998                      emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING_STRING_INT,
1999                      marshaller_hashtable);
2000                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING_STRING",
2001                         (void *)
2002                         emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING_STRING,
2003                         marshaller_hashtable);
2004                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING",
2005                         (void *)emacs_gtk_marshal_NONE__OBJECT_OBJECT_STRING,
2006                         marshaller_hashtable);
2007                 puthash("emacs_gtk_marshal_NONE__OBJECT_OBJECT",
2008                         (void *)emacs_gtk_marshal_NONE__OBJECT_OBJECT,
2009                         marshaller_hashtable);
2010                 puthash("emacs_gtk_marshal_NONE__OBJECT_POINTER_BOOL",
2011                         (void *)emacs_gtk_marshal_NONE__OBJECT_POINTER_BOOL,
2012                         marshaller_hashtable);
2013                 puthash
2014                     ("emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_FLOAT_FLOAT",
2015                      (void *)
2016                      emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_FLOAT_FLOAT,
2017                      marshaller_hashtable);
2018                 puthash("emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_INT_INT",
2019                         (void *)
2020                         emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_INT_INT,
2021                         marshaller_hashtable);
2022                 puthash("emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_INT",
2023                         (void *)emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_INT,
2024                         marshaller_hashtable);
2025                 puthash
2026                     ("emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_POINTER_POINTER",
2027                      (void *)
2028                      emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_POINTER_POINTER,
2029                      marshaller_hashtable);
2030                 puthash("emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_POINTER",
2031                         (void *)
2032                         emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_POINTER,
2033                         marshaller_hashtable);
2034                 puthash
2035                     ("emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_STRING_INT_POINTER_POINTER",
2036                      (void *)
2037                      emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_STRING_INT_POINTER_POINTER,
2038                      marshaller_hashtable);
2039                 puthash("emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_STRING",
2040                         (void *)
2041                         emacs_gtk_marshal_NONE__OBJECT_POINTER_INT_STRING,
2042                         marshaller_hashtable);
2043                 puthash("emacs_gtk_marshal_NONE__OBJECT_POINTER_INT",
2044                         (void *)emacs_gtk_marshal_NONE__OBJECT_POINTER_INT,
2045                         marshaller_hashtable);
2046                 puthash
2047                     ("emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER_POINTER_STRING_INT",
2048                      (void *)
2049                      emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER_POINTER_STRING_INT,
2050                      marshaller_hashtable);
2051                 puthash
2052                     ("emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER_POINTER",
2053                      (void *)
2054                      emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER_POINTER,
2055                      marshaller_hashtable);
2056                 puthash("emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER",
2057                         (void *)emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER,
2058                         marshaller_hashtable);
2059                 puthash
2060                     ("emacs_gtk_marshal_NONE__OBJECT_POINTER_STRING_INT_POINTER_POINTER_POINTER_POINTER_BOOL_BOOL",
2061                      (void *)
2062                      emacs_gtk_marshal_NONE__OBJECT_POINTER_STRING_INT_POINTER_POINTER_POINTER_POINTER_BOOL_BOOL,
2063                      marshaller_hashtable);
2064                 puthash("emacs_gtk_marshal_NONE__OBJECT_POINTER",
2065                         (void *)emacs_gtk_marshal_NONE__OBJECT_POINTER,
2066                         marshaller_hashtable);
2067                 puthash("emacs_gtk_marshal_NONE__OBJECT_STRING_BOOL",
2068                         (void *)emacs_gtk_marshal_NONE__OBJECT_STRING_BOOL,
2069                         marshaller_hashtable);
2070                 puthash
2071                     ("emacs_gtk_marshal_NONE__OBJECT_STRING_POINTER_INT_INT_INT",
2072                      (void *)
2073                      emacs_gtk_marshal_NONE__OBJECT_STRING_POINTER_INT_INT_INT,
2074                      marshaller_hashtable);
2075                 puthash("emacs_gtk_marshal_NONE__OBJECT_STRING_POINTER_INT_INT",
2076                         (void *)
2077                         emacs_gtk_marshal_NONE__OBJECT_STRING_POINTER_INT_INT,
2078                         marshaller_hashtable);
2079                 puthash("emacs_gtk_marshal_NONE__OBJECT_STRING_STRING",
2080                         (void *)emacs_gtk_marshal_NONE__OBJECT_STRING_STRING,
2081                         marshaller_hashtable);
2082                 puthash("emacs_gtk_marshal_NONE__OBJECT_STRING",
2083                         (void *)emacs_gtk_marshal_NONE__OBJECT_STRING,
2084                         marshaller_hashtable);
2085                 puthash("emacs_gtk_marshal_NONE__OBJECT",
2086                         (void *)emacs_gtk_marshal_NONE__OBJECT,
2087                         marshaller_hashtable);
2088                 puthash("emacs_gtk_marshal_NONE__POINTER_INT",
2089                         (void *)emacs_gtk_marshal_NONE__POINTER_INT,
2090                         marshaller_hashtable);
2091                 puthash
2092                     ("emacs_gtk_marshal_NONE__POINTER_POINTER_BOOL_INT_INT_INT_INT_INT_INT",
2093                      (void *)
2094                      emacs_gtk_marshal_NONE__POINTER_POINTER_BOOL_INT_INT_INT_INT_INT_INT,
2095                      marshaller_hashtable);
2096                 puthash
2097                     ("emacs_gtk_marshal_NONE__POINTER_POINTER_BOOL_INT_INT_INT_INT",
2098                      (void *)
2099                      emacs_gtk_marshal_NONE__POINTER_POINTER_BOOL_INT_INT_INT_INT,
2100                      marshaller_hashtable);
2101                 puthash
2102                     ("emacs_gtk_marshal_NONE__POINTER_POINTER_INT_INT_INT_INT",
2103                      (void *)
2104                      emacs_gtk_marshal_NONE__POINTER_POINTER_INT_INT_INT_INT,
2105                      marshaller_hashtable);
2106                 puthash("emacs_gtk_marshal_NONE__POINTER_POINTER_INT_INT",
2107                         (void *)emacs_gtk_marshal_NONE__POINTER_POINTER_INT_INT,
2108                         marshaller_hashtable);
2109                 puthash
2110                     ("emacs_gtk_marshal_NONE__POINTER_POINTER_POINTER_INT_INT_STRING_INT",
2111                      (void *)
2112                      emacs_gtk_marshal_NONE__POINTER_POINTER_POINTER_INT_INT_STRING_INT,
2113                      marshaller_hashtable);
2114                 puthash
2115                     ("emacs_gtk_marshal_NONE__POINTER_POINTER_POINTER_INT_INT_STRING",
2116                      (void *)
2117                      emacs_gtk_marshal_NONE__POINTER_POINTER_POINTER_INT_INT_STRING,
2118                      marshaller_hashtable);
2119                 puthash
2120                     ("emacs_gtk_marshal_NONE__POINTER_POINTER_POINTER_POINTER",
2121                      (void *)
2122                      emacs_gtk_marshal_NONE__POINTER_POINTER_POINTER_POINTER,
2123                      marshaller_hashtable);
2124                 puthash("emacs_gtk_marshal_NONE__POINTER_POINTER",
2125                         (void *)emacs_gtk_marshal_NONE__POINTER_POINTER,
2126                         marshaller_hashtable);
2127                 puthash("emacs_gtk_marshal_NONE__POINTER_STRING",
2128                         (void *)emacs_gtk_marshal_NONE__POINTER_STRING,
2129                         marshaller_hashtable);
2130                 puthash("emacs_gtk_marshal_NONE__POINTER",
2131                         (void *)emacs_gtk_marshal_NONE__POINTER,
2132                         marshaller_hashtable);
2133                 puthash("emacs_gtk_marshal_NONE__NONE",
2134                         (void *)emacs_gtk_marshal_NONE__NONE,
2135                         marshaller_hashtable);
2136                 puthash("emacs_gtk_marshal_OBJECT__BOOL_BOOL_INT",
2137                         (void *)emacs_gtk_marshal_OBJECT__BOOL_BOOL_INT,
2138                         marshaller_hashtable);
2139                 puthash("emacs_gtk_marshal_OBJECT__BOOL_INT",
2140                         (void *)emacs_gtk_marshal_OBJECT__BOOL_INT,
2141                         marshaller_hashtable);
2142                 puthash
2143                     ("emacs_gtk_marshal_OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_FLOAT",
2144                      (void *)
2145                      emacs_gtk_marshal_OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT_FLOAT,
2146                      marshaller_hashtable);
2147                 puthash
2148                     ("emacs_gtk_marshal_OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT",
2149                      (void *)
2150                      emacs_gtk_marshal_OBJECT__FLOAT_FLOAT_FLOAT_FLOAT_FLOAT,
2151                      marshaller_hashtable);
2152                 puthash("emacs_gtk_marshal_OBJECT__FLOAT_FLOAT_FLOAT_FLOAT",
2153                         (void *)
2154                         emacs_gtk_marshal_OBJECT__FLOAT_FLOAT_FLOAT_FLOAT,
2155                         marshaller_hashtable);
2156                 puthash("emacs_gtk_marshal_OBJECT__INT_ARRAY",
2157                         (void *)emacs_gtk_marshal_OBJECT__INT_ARRAY,
2158                         marshaller_hashtable);
2159                 puthash("emacs_gtk_marshal_OBJECT__INT_BOOL_BOOL",
2160                         (void *)emacs_gtk_marshal_OBJECT__INT_BOOL_BOOL,
2161                         marshaller_hashtable);
2162                 puthash("emacs_gtk_marshal_OBJECT__INT_INT_ARRAY",
2163                         (void *)emacs_gtk_marshal_OBJECT__INT_INT_ARRAY,
2164                         marshaller_hashtable);
2165                 puthash("emacs_gtk_marshal_OBJECT__INT_INT_BOOL",
2166                         (void *)emacs_gtk_marshal_OBJECT__INT_INT_BOOL,
2167                         marshaller_hashtable);
2168                 puthash("emacs_gtk_marshal_OBJECT__INT_INT_STRING",
2169                         (void *)emacs_gtk_marshal_OBJECT__INT_INT_STRING,
2170                         marshaller_hashtable);
2171                 puthash("emacs_gtk_marshal_OBJECT__INT_INT",
2172                         (void *)emacs_gtk_marshal_OBJECT__INT_INT,
2173                         marshaller_hashtable);
2174                 puthash("emacs_gtk_marshal_OBJECT__INT",
2175                         (void *)emacs_gtk_marshal_OBJECT__INT,
2176                         marshaller_hashtable);
2177                 puthash("emacs_gtk_marshal_OBJECT__OBJECT_FLOAT_INT",
2178                         (void *)emacs_gtk_marshal_OBJECT__OBJECT_FLOAT_INT,
2179                         marshaller_hashtable);
2180                 puthash("emacs_gtk_marshal_OBJECT__OBJECT_INT",
2181                         (void *)emacs_gtk_marshal_OBJECT__OBJECT_INT,
2182                         marshaller_hashtable);
2183                 puthash("emacs_gtk_marshal_OBJECT__OBJECT_OBJECT",
2184                         (void *)emacs_gtk_marshal_OBJECT__OBJECT_OBJECT,
2185                         marshaller_hashtable);
2186                 puthash
2187                     ("emacs_gtk_marshal_OBJECT__OBJECT_STRING_INT_INT_INT_INT_INT",
2188                      (void *)
2189                      emacs_gtk_marshal_OBJECT__OBJECT_STRING_INT_INT_INT_INT_INT,
2190                      marshaller_hashtable);
2191                 puthash
2192                     ("emacs_gtk_marshal_OBJECT__OBJECT_STRING_INT_INT_INT_INT",
2193                      (void *)
2194                      emacs_gtk_marshal_OBJECT__OBJECT_STRING_INT_INT_INT_INT,
2195                      marshaller_hashtable);
2196                 puthash("emacs_gtk_marshal_OBJECT__OBJECT_STRING_INT_INT",
2197                         (void *)emacs_gtk_marshal_OBJECT__OBJECT_STRING_INT_INT,
2198                         marshaller_hashtable);
2199                 puthash("emacs_gtk_marshal_OBJECT__OBJECT_STRING",
2200                         (void *)emacs_gtk_marshal_OBJECT__OBJECT_STRING,
2201                         marshaller_hashtable);
2202                 puthash("emacs_gtk_marshal_OBJECT__OBJECT",
2203                         (void *)emacs_gtk_marshal_OBJECT__OBJECT,
2204                         marshaller_hashtable);
2205                 puthash("emacs_gtk_marshal_OBJECT__POINTER_POINTER",
2206                         (void *)emacs_gtk_marshal_OBJECT__POINTER_POINTER,
2207                         marshaller_hashtable);
2208                 puthash("emacs_gtk_marshal_OBJECT__POINTER_STRING",
2209                         (void *)emacs_gtk_marshal_OBJECT__POINTER_STRING,
2210                         marshaller_hashtable);
2211                 puthash("emacs_gtk_marshal_OBJECT__POINTER",
2212                         (void *)emacs_gtk_marshal_OBJECT__POINTER,
2213                         marshaller_hashtable);
2214                 puthash
2215                     ("emacs_gtk_marshal_OBJECT__STRING_FLOAT_FLOAT_FLOAT_BOOL",
2216                      (void *)
2217                      emacs_gtk_marshal_OBJECT__STRING_FLOAT_FLOAT_FLOAT_BOOL,
2218                      marshaller_hashtable);
2219                 puthash("emacs_gtk_marshal_OBJECT__STRING_INT_STRING_STRING",
2220                         (void *)
2221                         emacs_gtk_marshal_OBJECT__STRING_INT_STRING_STRING,
2222                         marshaller_hashtable);
2223                 puthash("emacs_gtk_marshal_OBJECT__STRING_OBJECT",
2224                         (void *)emacs_gtk_marshal_OBJECT__STRING_OBJECT,
2225                         marshaller_hashtable);
2226                 puthash
2227                     ("emacs_gtk_marshal_OBJECT__STRING_STRING_STRING_ARRAY_STRING_STRING",
2228                      (void *)
2229                      emacs_gtk_marshal_OBJECT__STRING_STRING_STRING_ARRAY_STRING_STRING,
2230                      marshaller_hashtable);
2231                 puthash("emacs_gtk_marshal_OBJECT__STRING_STRING",
2232                         (void *)emacs_gtk_marshal_OBJECT__STRING_STRING,
2233                         marshaller_hashtable);
2234                 puthash("emacs_gtk_marshal_OBJECT__STRING",
2235                         (void *)emacs_gtk_marshal_OBJECT__STRING,
2236                         marshaller_hashtable);
2237                 puthash("emacs_gtk_marshal_OBJECT__NONE",
2238                         (void *)emacs_gtk_marshal_OBJECT__NONE,
2239                         marshaller_hashtable);
2240                 puthash("emacs_gtk_marshal_POINTER__INT_INT",
2241                         (void *)emacs_gtk_marshal_POINTER__INT_INT,
2242                         marshaller_hashtable);
2243                 puthash("emacs_gtk_marshal_POINTER__INT",
2244                         (void *)emacs_gtk_marshal_POINTER__INT,
2245                         marshaller_hashtable);
2246                 puthash("emacs_gtk_marshal_POINTER__OBJECT_INT_INT",
2247                         (void *)emacs_gtk_marshal_POINTER__OBJECT_INT_INT,
2248                         marshaller_hashtable);
2249                 puthash("emacs_gtk_marshal_POINTER__OBJECT_INT",
2250                         (void *)emacs_gtk_marshal_POINTER__OBJECT_INT,
2251                         marshaller_hashtable);
2252                 puthash("emacs_gtk_marshal_POINTER__OBJECT_POINTER_INT",
2253                         (void *)emacs_gtk_marshal_POINTER__OBJECT_POINTER_INT,
2254                         marshaller_hashtable);
2255                 puthash
2256                     ("emacs_gtk_marshal_POINTER__OBJECT_POINTER_POINTER_ARRAY_INT_POINTER_POINTER_POINTER_POINTER_BOOL_BOOL",
2257                      (void *)
2258                      emacs_gtk_marshal_POINTER__OBJECT_POINTER_POINTER_ARRAY_INT_POINTER_POINTER_POINTER_POINTER_BOOL_BOOL,
2259                      marshaller_hashtable);
2260                 puthash("emacs_gtk_marshal_POINTER__OBJECT_POINTER",
2261                         (void *)emacs_gtk_marshal_POINTER__OBJECT_POINTER,
2262                         marshaller_hashtable);
2263                 puthash("emacs_gtk_marshal_POINTER__OBJECT",
2264                         (void *)emacs_gtk_marshal_POINTER__OBJECT,
2265                         marshaller_hashtable);
2266                 puthash("emacs_gtk_marshal_POINTER__POINTER",
2267                         (void *)emacs_gtk_marshal_POINTER__POINTER,
2268                         marshaller_hashtable);
2269                 puthash("emacs_gtk_marshal_POINTER__NONE",
2270                         (void *)emacs_gtk_marshal_POINTER__NONE,
2271                         marshaller_hashtable);
2272                 puthash("emacs_gtk_marshal_STRING__INT_INT_INT",
2273                         (void *)emacs_gtk_marshal_STRING__INT_INT_INT,
2274                         marshaller_hashtable);
2275                 puthash("emacs_gtk_marshal_STRING__INT",
2276                         (void *)emacs_gtk_marshal_STRING__INT,
2277                         marshaller_hashtable);
2278                 puthash("emacs_gtk_marshal_STRING__OBJECT_BOOL",
2279                         (void *)emacs_gtk_marshal_STRING__OBJECT_BOOL,
2280                         marshaller_hashtable);
2281                 puthash("emacs_gtk_marshal_STRING__OBJECT_FLOAT",
2282                         (void *)emacs_gtk_marshal_STRING__OBJECT_FLOAT,
2283                         marshaller_hashtable);
2284                 puthash("emacs_gtk_marshal_STRING__OBJECT_INT_INT",
2285                         (void *)emacs_gtk_marshal_STRING__OBJECT_INT_INT,
2286                         marshaller_hashtable);
2287                 puthash("emacs_gtk_marshal_STRING__OBJECT_INT",
2288                         (void *)emacs_gtk_marshal_STRING__OBJECT_INT,
2289                         marshaller_hashtable);
2290                 puthash("emacs_gtk_marshal_STRING__OBJECT",
2291                         (void *)emacs_gtk_marshal_STRING__OBJECT,
2292                         marshaller_hashtable);
2293                 puthash("emacs_gtk_marshal_STRING__NONE",
2294                         (void *)emacs_gtk_marshal_STRING__NONE,
2295                         marshaller_hashtable);
2296                 puthash
2297                     ("emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER_INT_INT_INT_INT_INT_INT",
2298                      (void *)
2299                      emacs_gtk_marshal_NONE__OBJECT_POINTER_POINTER_INT_INT_INT_INT_INT_INT,
2300                      marshaller_hashtable);
2301                 puthash("emacs_gtk_marshal_NONE__OBJECT_STRING_INT_INT_INT",
2302                         (void *)
2303                         emacs_gtk_marshal_NONE__OBJECT_STRING_INT_INT_INT,
2304                         marshaller_hashtable);
2305                 puthash("emacs_gtk_marshal_NONE__INT_INT_INT_INT",
2306                         (void *)emacs_gtk_marshal_NONE__INT_INT_INT_INT,
2307                         marshaller_hashtable);
2308         };
2309 }
2310
2311 static void *find_marshaller(const char *func_name)
2312 {
2313         void *fn = NULL;
2314         initialize_marshaller_storage();
2315
2316         if (gethash(func_name, marshaller_hashtable, (const void **)&fn)) {
2317                 return (fn);
2318         }
2319
2320         return (NULL);
2321 }