mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 11:14:05 +02:00
always define GType unconditionally in terms of gsize, there's no need to
Thu Jun 14 23:32:00 2007 Tim Janik <timj@gtk.org> * gtype.h: always define GType unconditionally in terms of gsize, there's no need to jump through a glong hoop ever and this fixes the printf modifier to %zu. svn path=/trunk/; revision=5560
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Thu Jun 14 23:32:00 2007 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gtype.h: always define GType unconditionally in terms of gsize,
|
||||||
|
there's no need to jump through a glong hoop ever and this fixes
|
||||||
|
the printf modifier to %zu.
|
||||||
|
|
||||||
Thu Jun 14 22:33:11 2007 Tim Janik <timj@imendio.com>
|
Thu Jun 14 22:33:11 2007 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
|
* gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
|
||||||
|
@@ -88,11 +88,7 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
/* Typedefs
|
/* Typedefs
|
||||||
*/
|
*/
|
||||||
#if GLIB_SIZEOF_LONG == GLIB_SIZEOF_SIZE_T
|
|
||||||
typedef gulong GType;
|
|
||||||
#else /* hm, shouldn't happen? */
|
|
||||||
typedef gsize GType;
|
typedef gsize 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;
|
||||||
|
Reference in New Issue
Block a user