aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-02 11:03:03 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-02 11:03:03 +0800
commitaae604c8ad9b690467d32d961053eef40e8e3b94 (patch)
tree42354be754277b0f38d1faf6502112e22c1afede
parentf9b79bb0f6f9f372539af46e26c93c1669762c79 (diff)
downloadgsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.tar
gsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.tar.gz
gsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.tar.bz2
gsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.tar.lz
gsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.tar.xz
gsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.tar.zst
gsoc2013-evolution-aae604c8ad9b690467d32d961053eef40e8e3b94.zip
Added e_marshal_INT__INT_INT_POINTER.
2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added e_marshal_INT__INT_INT_POINTER. svn path=/trunk/; revision=3367
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-util.c20
-rw-r--r--e-util/e-util.c-861120
-rw-r--r--e-util/e-util.h5
-rw-r--r--e-util/e-util.h-290025
5 files changed, 54 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index f794614488..554797a10a 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-01 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-util.c, e-util.h: Added e_marshal_INT__INT_INT_POINTER.
+
2000-06-01 Dan Winship <danw@helixcode.com>
* e-util.c (g_int_compare): Duh! -1 != 1. :)
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 9540e0400b..7f8a8d89f8 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -159,3 +159,23 @@ e_write_file(const char *filename, const char *data, int flags)
close(fd);
return 0;
}
+
+typedef gint (*GtkSignal_NONE__INT_INT_POINTER) (GtkObject * object,
+ gint arg1,
+ gint arg2,
+ gpointer arg3,
+ gpointer user_data);
+
+void
+e_marshal_INT__INT_INT_POINTER (GtkObject * object,
+ GtkSignalFunc func,
+ gpointer func_data, GtkArg * args)
+{
+ GtkSignal_NONE__INT_INT_POINTER rfunc;
+ gint *return_val;
+ return_val = GTK_RETLOC_INT (args[1]);
+ rfunc = (GtkSignal_NONE__INT_INT_POINTER) func;
+ *return_val = (*rfunc) (object,
+ GTK_VALUE_INT (args[0]),
+ GTK_VALUE_INT (args[1]), GTK_VALUE_POINTER (args[2]), func_data);
+}
diff --git a/e-util/e-util.c-8611 b/e-util/e-util.c-8611
index 9540e0400b..7f8a8d89f8 100644
--- a/e-util/e-util.c-8611
+++ b/e-util/e-util.c-8611
@@ -159,3 +159,23 @@ e_write_file(const char *filename, const char *data, int flags)
close(fd);
return 0;
}
+
+typedef gint (*GtkSignal_NONE__INT_INT_POINTER) (GtkObject * object,
+ gint arg1,
+ gint arg2,
+ gpointer arg3,
+ gpointer user_data);
+
+void
+e_marshal_INT__INT_INT_POINTER (GtkObject * object,
+ GtkSignalFunc func,
+ gpointer func_data, GtkArg * args)
+{
+ GtkSignal_NONE__INT_INT_POINTER rfunc;
+ gint *return_val;
+ return_val = GTK_RETLOC_INT (args[1]);
+ rfunc = (GtkSignal_NONE__INT_INT_POINTER) func;
+ *return_val = (*rfunc) (object,
+ GTK_VALUE_INT (args[0]),
+ GTK_VALUE_INT (args[1]), GTK_VALUE_POINTER (args[2]), func_data);
+}
diff --git a/e-util/e-util.h b/e-util/e-util.h
index 132c89e9a0..7f036877aa 100644
--- a/e-util/e-util.h
+++ b/e-util/e-util.h
@@ -42,4 +42,9 @@ void e_free_string_list (GList *list);
char *e_read_file (const char *filename);
gint e_write_file(const char *filename, const char *data, int flags);
+void e_marshal_INT__INT_INT_POINTER (GtkObject * object,
+ GtkSignalFunc func,
+ gpointer func_data, GtkArg * args);
+
+
#endif /* _E_UTIL_H_ */
diff --git a/e-util/e-util.h-29002 b/e-util/e-util.h-29002
index 132c89e9a0..7f036877aa 100644
--- a/e-util/e-util.h-29002
+++ b/e-util/e-util.h-29002
@@ -42,4 +42,9 @@ void e_free_string_list (GList *list);
char *e_read_file (const char *filename);
gint e_write_file(const char *filename, const char *data, int flags);
+void e_marshal_INT__INT_INT_POINTER (GtkObject * object,
+ GtkSignalFunc func,
+ gpointer func_data, GtkArg * args);
+
+
#endif /* _E_UTIL_H_ */