mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-11 07:10:09 +02: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>
|
2007-06-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* === Released 2.13.5 ===
|
* === Released 2.13.5 ===
|
||||||
|
@ -88,7 +88,11 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
/* Typedefs
|
/* Typedefs
|
||||||
*/
|
*/
|
||||||
|
#if GLIB_SIZEOF_SIZE_T != GLIB_SIZEOF_LONG || !defined __cplusplus
|
||||||
typedef gsize GType;
|
typedef gsize GType;
|
||||||
|
#else /* for historic reasons, C++ links against gulong GTypes */
|
||||||
|
typedef gulong GType;
|
||||||
|
#endif
|
||||||
typedef struct _GValue GValue;
|
typedef struct _GValue GValue;
|
||||||
typedef union _GTypeCValue GTypeCValue;
|
typedef union _GTypeCValue GTypeCValue;
|
||||||
typedef struct _GTypePlugin GTypePlugin;
|
typedef struct _GTypePlugin GTypePlugin;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user