mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 06:13:29 +02:00
gtype.h Revert my change from 2008-07-24. No G_TYPE_FORMAT is needed. Just
2008-07-27 Tor Lillqvist <tml@novell.com> * gtype.h * gtype.c: Revert my change from 2008-07-24. No G_TYPE_FORMAT is needed. Just use G_GSIZE_FORMAT always when printing GType values. svn path=/trunk/; revision=7256
This commit is contained in:
committed by
Tor Lillqvist
parent
a076a30457
commit
e5e4f8bca3
@@ -365,10 +365,8 @@ G_BEGIN_DECLS
|
||||
*/
|
||||
#if GLIB_SIZEOF_SIZE_T != GLIB_SIZEOF_LONG || !defined __cplusplus
|
||||
typedef gsize GType;
|
||||
#define G_TYPE_FORMAT G_GSIZE_FORMAT
|
||||
#else /* for historic reasons, C++ links against gulong GTypes */
|
||||
typedef gulong GType;
|
||||
#define G_TYPE_FORMAT "lu"
|
||||
#endif
|
||||
typedef struct _GValue GValue;
|
||||
typedef union _GTypeCValue GTypeCValue;
|
||||
|
Reference in New Issue
Block a user