Author: toshok
Date: 2007-09-20 14:27:15 -0400 (Thu, 20 Sep 2007)
New Revision: 86096

Modified:
   trunk/moon/src/type.h
   trunk/moon/src/type.h.in
Log:
we only need to wrap the C functions with G_BEGIN/END_DECLS

Modified: trunk/moon/src/type.h
===================================================================
--- trunk/moon/src/type.h       2007-09-20 18:14:43 UTC (rev 86095)
+++ trunk/moon/src/type.h       2007-09-20 18:27:15 UTC (rev 86096)
@@ -16,8 +16,6 @@
 #ifndef __TYPE_H__
 #define __TYPE_H__
 
-G_BEGIN_DECLS
-
 #include <glib.h>
 
 typedef gint64 TimeSpan;
@@ -199,6 +197,8 @@
        int type_event_count; /* local_event_base + local_event_count */
 };
 
+G_BEGIN_DECLS
+
 bool type_get_value_type (Type::Kind type);
 
 void types_init (void);

Modified: trunk/moon/src/type.h.in
===================================================================
--- trunk/moon/src/type.h.in    2007-09-20 18:14:43 UTC (rev 86095)
+++ trunk/moon/src/type.h.in    2007-09-20 18:27:15 UTC (rev 86096)
@@ -12,8 +12,6 @@
 #ifndef __TYPE_H__
 #define __TYPE_H__
 
-G_BEGIN_DECLS
-
 #include <glib.h>
 
 typedef gint64 TimeSpan;
@@ -81,6 +79,8 @@
        int type_event_count; /* local_event_base + local_event_count */
 };
 
+G_BEGIN_DECLS
+
 bool type_get_value_type (Type::Kind type);
 
 void types_init (void);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to