diff options
author | Manish Singh <yosh@src.gnome.org> | 1998-06-16 01:17:43 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1998-06-16 01:17:43 +0000 |
commit | 406fd3362c91e42f2263ae74ba1301b1cfa4905f (patch) | |
tree | c8e2ea92aab29b064ae3394aa24fef39503c0744 /gtk | |
parent | 2ee01439f000efd32147f7086499afac1b02027f (diff) | |
download | gtk+-406fd3362c91e42f2263ae74ba1301b1cfa4905f.tar.gz |
Added maintainer-rule autogened files
-Yosh
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/.cvsignore | 2 | ||||
-rw-r--r-- | gtk/gtkmarshal.c | 53 | ||||
-rw-r--r-- | gtk/gtkmarshal.h | 16 |
3 files changed, 69 insertions, 2 deletions
diff --git a/gtk/.cvsignore b/gtk/.cvsignore index 6a292d4a5d..967962f4be 100644 --- a/gtk/.cvsignore +++ b/gtk/.cvsignore @@ -12,5 +12,3 @@ simple testtree gtkfeatures.h testthreads -gtkmarshal.h -gtkmarshal.c diff --git a/gtk/gtkmarshal.c b/gtk/gtkmarshal.c new file mode 100644 index 0000000000..114dfe24fb --- /dev/null +++ b/gtk/gtkmarshal.c @@ -0,0 +1,53 @@ +#include "gtkmarshal.h" +typedef void (*GtkSignal_NONE__POINTER_POINTER)(GtkObject *object, gpointer arg1, +gpointer arg2, +gpointer user_data); +void gtk_marshal_NONE__POINTER_POINTER(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args) +{ +GtkSignal_NONE__POINTER_POINTER rfunc; +rfunc = (GtkSignal_NONE__POINTER_POINTER) func; +(* rfunc)(object, GTK_VALUE_POINTER(args[0]), GTK_VALUE_POINTER(args[1]), func_data); +} + +typedef gint (*GtkSignal_INT__POINTER_CHAR_CHAR)(GtkObject *object, gpointer arg1, +char arg2, +char arg3, +gpointer user_data); +void gtk_marshal_INT__POINTER_CHAR_CHAR(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args) +{ +GtkSignal_INT__POINTER_CHAR_CHAR rfunc; +gint *return_val; +return_val = GTK_RETLOC_INT(args[3]); +rfunc = (GtkSignal_INT__POINTER_CHAR_CHAR) func; +*return_val = (* rfunc)(object, GTK_VALUE_POINTER(args[0]), GTK_VALUE_CHAR(args[1]), GTK_VALUE_CHAR(args[2]), func_data); +} + +typedef void (*GtkSignal_NONE__POINTER)(GtkObject *object, gpointer arg1, +gpointer user_data); +void gtk_marshal_NONE__POINTER(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args) +{ +GtkSignal_NONE__POINTER rfunc; +rfunc = (GtkSignal_NONE__POINTER) func; +(* rfunc)(object, GTK_VALUE_POINTER(args[0]), func_data); +} + +typedef gint (*GtkSignal_INT__POINTER)(GtkObject *object, gpointer arg1, +gpointer user_data); +void gtk_marshal_INT__POINTER(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args) +{ +GtkSignal_INT__POINTER rfunc; +gint *return_val; +return_val = GTK_RETLOC_INT(args[1]); +rfunc = (GtkSignal_INT__POINTER) func; +*return_val = (* rfunc)(object, GTK_VALUE_POINTER(args[0]), func_data); +} + +typedef void (*GtkSignal_NONE__UINT)(GtkObject *object, guint arg1, +gpointer user_data); +void gtk_marshal_NONE__UINT(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args) +{ +GtkSignal_NONE__UINT rfunc; +rfunc = (GtkSignal_NONE__UINT) func; +(* rfunc)(object, GTK_VALUE_UINT(args[0]), func_data); +} + diff --git a/gtk/gtkmarshal.h b/gtk/gtkmarshal.h new file mode 100644 index 0000000000..9fbe4c6a14 --- /dev/null +++ b/gtk/gtkmarshal.h @@ -0,0 +1,16 @@ +#ifndef __GTKMARSHAL_H__ +#define __GTKMARSHAL_H__ 1 + +#include "gtktypeutils.h" +#include "gtkobject.h" +#define gtk_marshal_NONE__POINTER_POINTER gtk_marshal_NONE__POINTER_POINTER +void gtk_marshal_NONE__POINTER_POINTER(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args); +#define gtk_marshal_INT__POINTER_CHAR_CHAR gtk_marshal_INT__POINTER_CHAR_CHAR +void gtk_marshal_INT__POINTER_CHAR_CHAR(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args); +#define gtk_marshal_NONE__POINTER gtk_marshal_NONE__POINTER +void gtk_marshal_NONE__POINTER(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args); +#define gtk_marshal_INT__POINTER gtk_marshal_INT__POINTER +void gtk_marshal_INT__POINTER(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args); +void gtk_marshal_NONE__UINT(GtkObject *object, GtkSignalFunc func, gpointer func_data, GtkArg *args); +#define gtk_marshal_NONE__BOXED gtk_marshal_NONE__POINTER +#endif |