2010-07-02 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Fri, 2 Jul 2010 14:38:47 +0000 (14:38 -0000)
committerZoltan Varga <vargaz@gmail.com>
Fri, 2 Jul 2010 14:38:47 +0000 (14:38 -0000)
* src/glib.h: Define gboolean as int32_t to match mono_bool.

svn path=/trunk/mono/; revision=159814

eglib/ChangeLog
eglib/src/glib.h

index 483836a746c4d2a39d1da0ec3ef1c61b6b27da83..1ae1f13e6b333606de3f9ed0a984ab913cf44ab6 100644 (file)
@@ -1,3 +1,7 @@
+2010-07-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * src/glib.h: Define gboolean as int32_t to match mono_bool.
+
 2010-06-22  Rodrigo Kumpera  <rkumpera@novell.com>
 
        * src/ghashtable.c: Add code to sanity check the
index 6b70c78cbcfe16158f018bcab5433372319ecd1f..39a5ce67c89655a1142f1198016cad3180d50b43 100644 (file)
@@ -43,7 +43,6 @@ G_BEGIN_DECLS
 /*
  * Basic data types
  */
-typedef int            gboolean;
 typedef int            gint;
 typedef unsigned int   guint;
 typedef short          gshort;
@@ -68,6 +67,7 @@ typedef unsigned __int64      guint64;
 typedef float                          gfloat;
 typedef double                         gdouble;
 typedef unsigned __int16       gunichar2;
+typedef int                 gboolean;
 #else
 /* Types defined in terms of the stdint.h */
 typedef int8_t         gint8;
@@ -81,6 +81,7 @@ typedef uint64_t       guint64;
 typedef float          gfloat;
 typedef double         gdouble;
 typedef uint16_t       gunichar2;
+typedef int32_t        gboolean;
 #endif
 #endif