1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
#include "gtkmarshal.h"
typedef void (*GtkSignal_NONE__POINTER_POINTER) (GtkObject * object,
gpointer arg1,
gpointer arg2,
gpointer user_data);
void
gtk_marshal_NONE__POINTER_POINTER (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
{
GtkSignal_NONE__POINTER_POINTER rfunc;
rfunc = (GtkSignal_NONE__POINTER_POINTER) func;
(*rfunc) (object,
GTK_VALUE_POINTER (args[0]),
GTK_VALUE_POINTER (args[1]),
func_data);
}
typedef gint (*GtkSignal_INT__POINTER_CHAR_CHAR) (GtkObject * object,
gpointer arg1,
char arg2,
char arg3,
gpointer user_data);
void
gtk_marshal_INT__POINTER_CHAR_CHAR (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
{
GtkSignal_INT__POINTER_CHAR_CHAR rfunc;
gint *return_val;
return_val = GTK_RETLOC_INT (args[3]);
rfunc = (GtkSignal_INT__POINTER_CHAR_CHAR) func;
*return_val = (*rfunc) (object,
GTK_VALUE_POINTER (args[0]),
GTK_VALUE_CHAR (args[1]),
GTK_VALUE_CHAR (args[2]),
func_data);
}
typedef void (*GtkSignal_NONE__POINTER) (GtkObject * object,
gpointer arg1,
gpointer user_data);
void
gtk_marshal_NONE__POINTER (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
{
GtkSignal_NONE__POINTER rfunc;
rfunc = (GtkSignal_NONE__POINTER) func;
(*rfunc) (object,
GTK_VALUE_POINTER (args[0]),
func_data);
}
typedef gint (*GtkSignal_INT__POINTER) (GtkObject * object,
gpointer arg1,
gpointer user_data);
void
gtk_marshal_INT__POINTER (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
{
GtkSignal_INT__POINTER rfunc;
gint *return_val;
return_val = GTK_RETLOC_INT (args[1]);
rfunc = (GtkSignal_INT__POINTER) func;
*return_val = (*rfunc) (object,
GTK_VALUE_POINTER (args[0]),
func_data);
}
typedef void (*GtkSignal_NONE__UINT) (GtkObject * object,
guint arg1,
gpointer user_data);
void
gtk_marshal_NONE__UINT (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
{
GtkSignal_NONE__UINT rfunc;
rfunc = (GtkSignal_NONE__UINT) func;
(*rfunc) (object,
GTK_VALUE_UINT (args[0]),
func_data);
}
|