Why are gsize and gssize typedefs reversed



 Hi,

In types.sgml the typedefs for gsize and gssize are defined as

<!-- ##### TYPEDEF gsize ##### -->
<para>
An unsigned 32-bit integer intended to represent sizes of data structures.
</para>


<!-- ##### TYPEDEF gssize ##### -->
<para>
A signed 32-bit integer intended to represent sizes of data structures.
</para>

This seems a bit confusing because it is the reverse for all other glib data types. For the sake of consistency shouldn't 'gsize' be a signed 32-bit integer and 'gusize' be an unsigned 32-bit integer.

Just wondering,

Jeff








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]