diff options
author | Dan Winship <danw@src.gnome.org> | 2001-02-15 06:53:44 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-02-15 06:53:44 +0800 |
commit | 43449a554fb7762c0775f5328a74f760537c3d32 (patch) | |
tree | 1f6f828da647dbc9e5d6d7a7405690675dbf8393 /e-util/e-util.c | |
parent | 6743dacd6c2de056f80300f3e378bed07cfdf4e4 (diff) | |
download | gsoc2013-evolution-43449a554fb7762c0775f5328a74f760537c3d32.tar.gz gsoc2013-evolution-43449a554fb7762c0775f5328a74f760537c3d32.tar.zst gsoc2013-evolution-43449a554fb7762c0775f5328a74f760537c3d32.zip |
New marshallers
* gal/util/e-util.c (e_marshal_INT__POINTER_POINTER,
e_marshal_INT__POINTER_POINTER_POINTER_POINTER): New marshallers
svn path=/trunk/; revision=8235
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r-- | e-util/e-util.c | 66 |
1 files changed, 66 insertions, 0 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, |