aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--e-util/e-util.c66
-rw-r--r--e-util/e-util.h30
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_ */