Code

updated slightly
authorishmal <ishmal@users.sourceforge.net>
Mon, 9 Jun 2008 22:19:26 +0000 (22:19 +0000)
committerishmal <ishmal@users.sourceforge.net>
Mon, 9 Jun 2008 22:19:26 +0000 (22:19 +0000)
src/helper/sp-marshal.cpp.mingw
src/helper/sp-marshal.h.mingw

index 8a7e7648c489beafd62ed8c1d604d3f92140470b..241d930afd0c513c08f0ddb611ceb1bb9d99a452 100644 (file)
@@ -1,5 +1,5 @@
-#include "helper/sp-marshal.h"
 
+#include "helper/sp-marshal.h"
 #include       <glib-object.h>
 
 
@@ -36,8 +36,8 @@
 #define g_marshal_value_peek_ulong(v)    (v)->data[0].v_ulong
 #define g_marshal_value_peek_int64(v)    (v)->data[0].v_int64
 #define g_marshal_value_peek_uint64(v)   (v)->data[0].v_uint64
-#define g_marshal_value_peek_enum(v)     (v)->data[0].v_int
-#define g_marshal_value_peek_flags(v)    (v)->data[0].v_uint
+#define g_marshal_value_peek_enum(v)     (v)->data[0].v_long
+#define g_marshal_value_peek_flags(v)    (v)->data[0].v_ulong
 #define g_marshal_value_peek_float(v)    (v)->data[0].v_float
 #define g_marshal_value_peek_double(v)   (v)->data[0].v_double
 #define g_marshal_value_peek_string(v)   (v)->data[0].v_pointer
 /* NONE:POINTER,BOOLEAN (sp-marshal.list:5) */
 void
 sp_marshal_VOID__POINTER_BOOLEAN (GClosure     *closure,
-                                  GValue       *return_value,
+                                  GValue       *return_value G_GNUC_UNUSED,
                                   guint         n_param_values,
                                   const GValue *param_values,
-                                  gpointer      invocation_hint,
+                                  gpointer      invocation_hint G_GNUC_UNUSED,
                                   gpointer      marshal_data)
 {
   typedef void (*GMarshalFunc_VOID__POINTER_BOOLEAN) (gpointer     data1,
@@ -94,10 +94,10 @@ sp_marshal_VOID__POINTER_BOOLEAN (GClosure     *closure,
 /* NONE:POINTER,UINT (sp-marshal.list:6) */
 void
 sp_marshal_VOID__POINTER_UINT (GClosure     *closure,
-                               GValue       *return_value,
+                               GValue       *return_value G_GNUC_UNUSED,
                                guint         n_param_values,
                                const GValue *param_values,
-                               gpointer      invocation_hint,
+                               gpointer      invocation_hint G_GNUC_UNUSED,
                                gpointer      marshal_data)
 {
   typedef void (*GMarshalFunc_VOID__POINTER_UINT) (gpointer     data1,
@@ -131,10 +131,10 @@ sp_marshal_VOID__POINTER_UINT (GClosure     *closure,
 /* NONE:POINTER,DOUBLE (sp-marshal.list:7) */
 void
 sp_marshal_VOID__POINTER_DOUBLE (GClosure     *closure,
-                                 GValue       *return_value,
+                                 GValue       *return_value G_GNUC_UNUSED,
                                  guint         n_param_values,
                                  const GValue *param_values,
-                                 gpointer      invocation_hint,
+                                 gpointer      invocation_hint G_GNUC_UNUSED,
                                  gpointer      marshal_data)
 {
   typedef void (*GMarshalFunc_VOID__POINTER_DOUBLE) (gpointer     data1,
@@ -168,10 +168,10 @@ sp_marshal_VOID__POINTER_DOUBLE (GClosure     *closure,
 /* NONE:DOUBLE,DOUBLE (sp-marshal.list:8) */
 void
 sp_marshal_VOID__DOUBLE_DOUBLE (GClosure     *closure,
-                                GValue       *return_value,
+                                GValue       *return_value G_GNUC_UNUSED,
                                 guint         n_param_values,
                                 const GValue *param_values,
-                                gpointer      invocation_hint,
+                                gpointer      invocation_hint G_GNUC_UNUSED,
                                 gpointer      marshal_data)
 {
   typedef void (*GMarshalFunc_VOID__DOUBLE_DOUBLE) (gpointer     data1,
@@ -205,10 +205,10 @@ sp_marshal_VOID__DOUBLE_DOUBLE (GClosure     *closure,
 /* NONE:STRING,BOOL (sp-marshal.list:9) */
 void
 sp_marshal_VOID__STRING_BOOLEAN (GClosure     *closure,
-                                 GValue       *return_value,
+                                 GValue       *return_value G_GNUC_UNUSED,
                                  guint         n_param_values,
                                  const GValue *param_values,
-                                 gpointer      invocation_hint,
+                                 gpointer      invocation_hint G_GNUC_UNUSED,
                                  gpointer      marshal_data)
 {
   typedef void (*GMarshalFunc_VOID__STRING_BOOLEAN) (gpointer     data1,
@@ -242,10 +242,10 @@ sp_marshal_VOID__STRING_BOOLEAN (GClosure     *closure,
 /* BOOLEAN:NONE (sp-marshal.list:10) */
 void
 sp_marshal_BOOLEAN__VOID (GClosure     *closure,
-                          GValue       *return_value,
+                          GValue       *return_value G_GNUC_UNUSED,
                           guint         n_param_values,
                           const GValue *param_values,
-                          gpointer      invocation_hint,
+                          gpointer      invocation_hint G_GNUC_UNUSED,
                           gpointer      marshal_data)
 {
   typedef gboolean (*GMarshalFunc_BOOLEAN__VOID) (gpointer     data1,
@@ -279,10 +279,10 @@ sp_marshal_BOOLEAN__VOID (GClosure     *closure,
 /* BOOLEAN:UINT (sp-marshal.list:11) */
 void
 sp_marshal_BOOLEAN__UINT (GClosure     *closure,
-                          GValue       *return_value,
+                          GValue       *return_value G_GNUC_UNUSED,
                           guint         n_param_values,
                           const GValue *param_values,
-                          gpointer      invocation_hint,
+                          gpointer      invocation_hint G_GNUC_UNUSED,
                           gpointer      marshal_data)
 {
   typedef gboolean (*GMarshalFunc_BOOLEAN__UINT) (gpointer     data1,
@@ -318,10 +318,10 @@ sp_marshal_BOOLEAN__UINT (GClosure     *closure,
 /* BOOLEAN:POINTER (sp-marshal.list:12) */
 void
 sp_marshal_BOOLEAN__POINTER (GClosure     *closure,
-                             GValue       *return_value,
+                             GValue       *return_value G_GNUC_UNUSED,
                              guint         n_param_values,
                              const GValue *param_values,
-                             gpointer      invocation_hint,
+                             gpointer      invocation_hint G_GNUC_UNUSED,
                              gpointer      marshal_data)
 {
   typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER) (gpointer     data1,
@@ -357,10 +357,10 @@ sp_marshal_BOOLEAN__POINTER (GClosure     *closure,
 /* BOOLEAN:POINTER,UINT (sp-marshal.list:13) */
 void
 sp_marshal_BOOLEAN__POINTER_UINT (GClosure     *closure,
-                                  GValue       *return_value,
+                                  GValue       *return_value G_GNUC_UNUSED,
                                   guint         n_param_values,
                                   const GValue *param_values,
-                                  gpointer      invocation_hint,
+                                  gpointer      invocation_hint G_GNUC_UNUSED,
                                   gpointer      marshal_data)
 {
   typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_UINT) (gpointer     data1,
@@ -398,10 +398,10 @@ sp_marshal_BOOLEAN__POINTER_UINT (GClosure     *closure,
 /* BOOLEAN:POINTER,POINTER (sp-marshal.list:14) */
 void
 sp_marshal_BOOLEAN__POINTER_POINTER (GClosure     *closure,
-                                     GValue       *return_value,
+                                     GValue       *return_value G_GNUC_UNUSED,
                                      guint         n_param_values,
                                      const GValue *param_values,
-                                     gpointer      invocation_hint,
+                                     gpointer      invocation_hint G_GNUC_UNUSED,
                                      gpointer      marshal_data)
 {
   typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_POINTER) (gpointer     data1,
@@ -439,10 +439,10 @@ sp_marshal_BOOLEAN__POINTER_POINTER (GClosure     *closure,
 /* INT:POINTER,POINTER (sp-marshal.list:15) */
 void
 sp_marshal_INT__POINTER_POINTER (GClosure     *closure,
-                                 GValue       *return_value,
+                                 GValue       *return_value G_GNUC_UNUSED,
                                  guint         n_param_values,
                                  const GValue *param_values,
-                                 gpointer      invocation_hint,
+                                 gpointer      invocation_hint G_GNUC_UNUSED,
                                  gpointer      marshal_data)
 {
   typedef gint (*GMarshalFunc_INT__POINTER_POINTER) (gpointer     data1,
@@ -480,10 +480,10 @@ sp_marshal_INT__POINTER_POINTER (GClosure     *closure,
 /* DOUBLE:POINTER,UINT (sp-marshal.list:16) */
 void
 sp_marshal_DOUBLE__POINTER_UINT (GClosure     *closure,
-                                 GValue       *return_value,
+                                 GValue       *return_value G_GNUC_UNUSED,
                                  guint         n_param_values,
                                  const GValue *param_values,
-                                 gpointer      invocation_hint,
+                                 gpointer      invocation_hint G_GNUC_UNUSED,
                                  gpointer      marshal_data)
 {
   typedef gdouble (*GMarshalFunc_DOUBLE__POINTER_UINT) (gpointer     data1,
index 9b573c523760b26c99573c9d07bf775035e86e09..9a97e06aa6529efa3743e2f3eafab377c4a4b7a2 100644 (file)
@@ -2,21 +2,21 @@
 #ifndef __sp_marshal_MARSHAL_H__
 #define __sp_marshal_MARSHAL_H__
 
-#include        <glib-object.h>
+#include       <glib-object.h>
 
 G_BEGIN_DECLS
 
 /* NONE:NONE (sp-marshal.list:2) */
-#define sp_marshal_VOID__VOID   g_cclosure_marshal_VOID__VOID
-#define sp_marshal_NONE__NONE   sp_marshal_VOID__VOID
+#define sp_marshal_VOID__VOID  g_cclosure_marshal_VOID__VOID
+#define sp_marshal_NONE__NONE  sp_marshal_VOID__VOID
 
 /* NONE:UINT (sp-marshal.list:3) */
-#define sp_marshal_VOID__UINT   g_cclosure_marshal_VOID__UINT
-#define sp_marshal_NONE__UINT   sp_marshal_VOID__UINT
+#define sp_marshal_VOID__UINT  g_cclosure_marshal_VOID__UINT
+#define sp_marshal_NONE__UINT  sp_marshal_VOID__UINT
 
 /* NONE:POINTER (sp-marshal.list:4) */
-#define sp_marshal_VOID__POINTER        g_cclosure_marshal_VOID__POINTER
-#define sp_marshal_NONE__POINTER        sp_marshal_VOID__POINTER
+#define sp_marshal_VOID__POINTER       g_cclosure_marshal_VOID__POINTER
+#define sp_marshal_NONE__POINTER       sp_marshal_VOID__POINTER
 
 /* NONE:POINTER,BOOLEAN (sp-marshal.list:5) */
 extern void sp_marshal_VOID__POINTER_BOOLEAN (GClosure     *closure,
@@ -25,7 +25,7 @@ extern void sp_marshal_VOID__POINTER_BOOLEAN (GClosure     *closure,
                                               const GValue *param_values,
                                               gpointer      invocation_hint,
                                               gpointer      marshal_data);
-#define sp_marshal_NONE__POINTER_BOOLEAN        sp_marshal_VOID__POINTER_BOOLEAN
+#define sp_marshal_NONE__POINTER_BOOLEAN       sp_marshal_VOID__POINTER_BOOLEAN
 
 /* NONE:POINTER,UINT (sp-marshal.list:6) */
 extern void sp_marshal_VOID__POINTER_UINT (GClosure     *closure,
@@ -34,7 +34,7 @@ extern void sp_marshal_VOID__POINTER_UINT (GClosure     *closure,
                                            const GValue *param_values,
                                            gpointer      invocation_hint,
                                            gpointer      marshal_data);
-#define sp_marshal_NONE__POINTER_UINT   sp_marshal_VOID__POINTER_UINT
+#define sp_marshal_NONE__POINTER_UINT  sp_marshal_VOID__POINTER_UINT
 
 /* NONE:POINTER,DOUBLE (sp-marshal.list:7) */
 extern void sp_marshal_VOID__POINTER_DOUBLE (GClosure     *closure,
@@ -43,7 +43,7 @@ extern void sp_marshal_VOID__POINTER_DOUBLE (GClosure     *closure,
                                              const GValue *param_values,
                                              gpointer      invocation_hint,
                                              gpointer      marshal_data);
-#define sp_marshal_NONE__POINTER_DOUBLE sp_marshal_VOID__POINTER_DOUBLE
+#define sp_marshal_NONE__POINTER_DOUBLE        sp_marshal_VOID__POINTER_DOUBLE
 
 /* NONE:DOUBLE,DOUBLE (sp-marshal.list:8) */
 extern void sp_marshal_VOID__DOUBLE_DOUBLE (GClosure     *closure,
@@ -52,7 +52,7 @@ extern void sp_marshal_VOID__DOUBLE_DOUBLE (GClosure     *closure,
                                             const GValue *param_values,
                                             gpointer      invocation_hint,
                                             gpointer      marshal_data);
-#define sp_marshal_NONE__DOUBLE_DOUBLE  sp_marshal_VOID__DOUBLE_DOUBLE
+#define sp_marshal_NONE__DOUBLE_DOUBLE sp_marshal_VOID__DOUBLE_DOUBLE
 
 /* NONE:STRING,BOOL (sp-marshal.list:9) */
 extern void sp_marshal_VOID__STRING_BOOLEAN (GClosure     *closure,
@@ -61,7 +61,7 @@ extern void sp_marshal_VOID__STRING_BOOLEAN (GClosure     *closure,
                                              const GValue *param_values,
                                              gpointer      invocation_hint,
                                              gpointer      marshal_data);
-#define sp_marshal_NONE__STRING_BOOL    sp_marshal_VOID__STRING_BOOLEAN
+#define sp_marshal_NONE__STRING_BOOL   sp_marshal_VOID__STRING_BOOLEAN
 
 /* BOOLEAN:NONE (sp-marshal.list:10) */
 extern void sp_marshal_BOOLEAN__VOID (GClosure     *closure,
@@ -70,7 +70,7 @@ extern void sp_marshal_BOOLEAN__VOID (GClosure     *closure,
                                       const GValue *param_values,
                                       gpointer      invocation_hint,
                                       gpointer      marshal_data);
-#define sp_marshal_BOOLEAN__NONE        sp_marshal_BOOLEAN__VOID
+#define sp_marshal_BOOLEAN__NONE       sp_marshal_BOOLEAN__VOID
 
 /* BOOLEAN:UINT (sp-marshal.list:11) */
 extern void sp_marshal_BOOLEAN__UINT (GClosure     *closure,
@@ -123,3 +123,4 @@ extern void sp_marshal_DOUBLE__POINTER_UINT (GClosure     *closure,
 G_END_DECLS
 
 #endif /* __sp_marshal_MARSHAL_H__ */
+