Merge branch 'master' into rewrite-sheet
[pspp-builds.git] / lib / gtksheet / gtkmarshalers.h
1 /*******************************************************************************
2 **3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 
3 **      10        20        30        40        50        60        70        80
4 **
5 **  library for GtkXPaned-widget, a 2x2 grid-like variation of GtkPaned of gtk+
6 **  Copyright (C) 2005-2006 Mirco "MacSlow" Müller <macslow@bangang.de>
7 **
8 **  This library is free software; you can redistribute it and/or
9 **  modify it under the terms of the GNU Lesser General Public
10 **  License as published by the Free Software Foundation; either
11 **  version 2.1 of the License, or (at your option) any later version.
12 **
13 **  This library is distributed in the hope that it will be useful,
14 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 **  Lesser General Public License for more details.
17 **
18 **  You should have received a copy of the GNU Lesser General Public
19 **  License along with this library; if not, write to the Free Software
20 **  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 **
22 **  GtkXPaned is based on GtkPaned which was done by...
23 **
24 **  "Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald"
25 **
26 **  and later modified by...
27 **
28 **  "the GTK+ Team and others 1997-2000"
29 **
30 *******************************************************************************/
31
32 #ifndef GTK_MARSHALERS_H
33 #define GTK_MARSHALERS_H
34
35 #include <glib-object.h>
36
37 /* lazy copied some marshalers copied from gtk+-2.6.10/gtk/gtkmarshalers.h */
38 #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
39
40 #define g_marshal_value_peek_boolean(v)  (v)->data[0].v_int
41
42 void gtk_marshal_BOOLEAN__BOOLEAN (GClosure* closure,
43                                                                    GValue* return_value,
44                                                                    guint n_param_values,
45                                                                    const GValue* param_values,
46                                                                    gpointer invocation_hint,
47                                                                    gpointer marshal_data);
48
49 void gtk_marshal_BOOLEAN__ENUM (GClosure* closure,
50                                                                 GValue* return_value,
51                                                                 guint n_param_values,
52                                                                 const GValue* param_values,
53                                                                 gpointer invocation_hint,
54                                                                 gpointer marshal_data);
55
56 void gtk_marshal_BOOLEAN__VOID (GClosure* closure,
57                                                                 GValue* return_value,
58                                                                 guint n_param_values,
59                                                                 const GValue* param_values,
60                                                                 gpointer invocation_hint,
61                                                                 gpointer marshal_data);
62
63 #endif /* GTK_MARSHALERS_H */