mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 10:16:17 +01:00
reintroduce typedef gulong GType; for C++, to avoid C++ specific ABI
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
This commit is contained in:
parent
90240bf12d
commit
ea4efd7bba
@ -1,3 +1,8 @@
|
||||
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 ===
|
||||
|
@ -88,7 +88,11 @@ G_BEGIN_DECLS
|
||||
|
||||
/* 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;
|
||||
|
Loading…
Reference in New Issue
Block a user