From 6fdce740b05a5af2afea41a70ab3847001c6af25 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 27 Jun 2001 00:17:18 +0000 Subject: Add a new `e_marshal_INT__POINTER_POINTER_POINTER_POINTER' marshaller and bump version number. (BTW, did I mention that GTK+ marshalling sucks?) svn path=/trunk/; revision=10518 --- e-util/e-util.c | 25 +++++++++++++++++++++++++ e-util/e-util.h | 4 ++++ 2 files changed, 29 insertions(+) (limited to 'e-util') diff --git a/e-util/e-util.c b/e-util/e-util.c index d7770ac3fa..35412510d9 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -662,6 +662,31 @@ e_marshal_INT__POINTER_POINTER_POINTER_POINTER (GtkObject *object, } +typedef int (*GtkSignal_INT__POINTER_POINTER_POINTER_POINTER_POINTER) (GtkObject *, + gpointer, gpointer, gpointer, gpointer, gpointer, + gpointer user_data); +void +e_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args) +{ + GtkSignal_INT__POINTER_POINTER_POINTER_POINTER_POINTER rfunc; + int *return_val; + + rfunc = (GtkSignal_INT__POINTER_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]), + GTK_VALUE_POINTER (args[3]), + func_data); +} + + void e_marshal_NONE__POINTER_INT_INT_INT (GtkObject *object, GtkSignalFunc func, diff --git a/e-util/e-util.h b/e-util/e-util.h index c131676fc6..3c78825628 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -187,6 +187,10 @@ void e_marshal_INT__POINTER_POINTER_POINTER_POINTER (GtkO GtkSignalFunc func, gpointer func_data, GtkArg *args); +void e_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER (GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args); void e_marshal_NONE__POINTER_INT_INT_INT (GtkObject *object, GtkSignalFunc func, gpointer func_data, -- cgit