gssize, gsize
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Subject: gssize, gsize
- Date: 06 Jun 2000 13:48:53 -0400
Currently, glib.h has
#define gint32 gssize
#define guint32 gsize
This strikes me as a bad idea. On a 64 bit platforms, attempts to
use these in place of ssize_t and size_t are going to produce warnings
and, in extreme cases, incorrect code.
If we don't want to simply include <stddef.h> and use size_t and ssize_t,
which strikes me as the right course. We should test for the sizes of
these types and mirror that in gssize and gsize.
Right?
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]