Fri Jun 22 11:31:27 2007 Tim Janik <timj@gtk.org>
* gtype.h: reintroduce typedef gulong GType; for C++, to avoid
C++ specific ABI breakage.
svn path=/trunk/; revision=5582
+Fri Jun 22 11:31:27 2007 Tim Janik <timj@gtk.org>
+
+ * gtype.h: reintroduce typedef gulong GType; for C++, to avoid
+ C++ specific ABI breakage.
+
2007-06-18 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.5 ===
/* Typedefs
*/
+#if GLIB_SIZEOF_SIZE_T != GLIB_SIZEOF_LONG || !defined __cplusplus
typedef gsize GType;
+#else /* for historic reasons, C++ links against gulong GTypes */
+typedef gulong GType;
+#endif
typedef struct _GValue GValue;
typedef union _GTypeCValue GTypeCValue;
typedef struct _GTypePlugin GTypePlugin;