diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-util.c | 66 | ||||
-rw-r--r-- | e-util/e-util.h | 30 |
2 files changed, 88 insertions, 8 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index 4840bf0ffd..e542574d58 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -449,6 +449,72 @@ e_marshal_NONE__POINTER_POINTER_INT (GtkObject * object, GtkSignalFunc func, GTK_VALUE_INT (args[2]), func_data); } +typedef int (*GtkSignal_INT__POINTER_POINTER) (GtkObject *, + gpointer, gpointer, + gpointer user_data); +void +e_marshal_INT__POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args) +{ + GtkSignal_INT__POINTER_POINTER rfunc; + int *return_val; + + rfunc = (GtkSignal_INT__POINTER_POINTER) func; + return_val = GTK_RETLOC_INT (args[2]); + + *return_val = (*rfunc) (object, + GTK_VALUE_POINTER (args[0]), + GTK_VALUE_POINTER (args[1]), + func_data); +} + +typedef int (*GtkSignal_INT__POINTER_POINTER_POINTER) (GtkObject *, + gpointer, gpointer, gpointer, + gpointer user_data); +void +e_marshal_INT__POINTER_POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args) +{ + GtkSignal_INT__POINTER_POINTER_POINTER rfunc; + int *return_val; + + rfunc = (GtkSignal_INT__POINTER_POINTER_POINTER) func; + return_val = GTK_RETLOC_INT (args[3]); + + *return_val = (*rfunc) (object, + GTK_VALUE_POINTER (args[0]), + GTK_VALUE_POINTER (args[1]), + GTK_VALUE_POINTER (args[2]), + func_data); +} + +typedef int (*GtkSignal_INT__POINTER_POINTER_POINTER_POINTER) (GtkObject *, + gpointer, gpointer, gpointer, gpointer, + gpointer user_data); +void +e_marshal_INT__POINTER_POINTER_POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args) +{ + GtkSignal_INT__POINTER_POINTER_POINTER_POINTER rfunc; + int *return_val; + + rfunc = (GtkSignal_INT__POINTER_POINTER_POINTER_POINTER) func; + return_val = GTK_RETLOC_INT (args[4]); + + *return_val = (*rfunc) (object, + GTK_VALUE_POINTER (args[0]), + GTK_VALUE_POINTER (args[1]), + GTK_VALUE_POINTER (args[2]), + GTK_VALUE_POINTER (args[3]), + func_data); +} + gchar** e_strsplit (const gchar *string, const gchar *delimiter, diff --git a/e-util/e-util.h b/e-util/e-util.h index 1f11635096..5e8e250799 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -89,13 +89,27 @@ void e_marshal_BOOL__INT_INT_POINTER_INT_INT_INT (GtkObject GtkArg *args); #define e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_UINT_UINT e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT -void e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT (GtkObject *object, - GtkSignalFunc func, - gpointer func_data, - GtkArg *args); -void e_marshal_NONE__POINTER_POINTER_INT (GtkObject *object, - GtkSignalFunc func, - gpointer func_data, - GtkArg *args); + +void e_marshal_NONE__INT_INT_POINTER_INT_INT_POINTER_INT_INT (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args); +void e_marshal_NONE__POINTER_POINTER_INT (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args); + +void e_marshal_INT__POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args); +void e_marshal_INT__POINTER_POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args); +void e_marshal_INT__POINTER_POINTER_POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args); #endif /* _E_UTIL_H_ */ |