aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-02-15 06:53:44 +0800
committerDan Winship <danw@src.gnome.org>2001-02-15 06:53:44 +0800
commit43449a554fb7762c0775f5328a74f760537c3d32 (patch)
tree1f6f828da647dbc9e5d6d7a7405690675dbf8393 /e-util/e-util.c
parent6743dacd6c2de056f80300f3e378bed07cfdf4e4 (diff)
downloadgsoc2013-evolution-43449a554fb7762c0775f5328a74f760537c3d32.tar
gsoc2013-evolution-43449a554fb7762c0775f5328a74f760537c3d32.tar.gz
gsoc2013-evolution-43449a554fb7762c0775f5328a74f760537c3d32.tar.bz2
gsoc2013-evolution-43449a554fb7762c0775f5328a74f760537c3d32.tar.lz
gsoc2013-evolution-43449a554fb7762c0775f5328a74f760537c3d32.tar.xz
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.c66
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,