corrected descriptions of gsize and gssize.
authorTim Janik <timj@imendio.com>
Tue, 10 Jul 2007 11:12:28 +0000 (11:12 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 10 Jul 2007 11:12:28 +0000 (11:12 +0000)
Tue Jul 10 13:11:55 2007  Tim Janik  <timj@imendio.com>

        * glib/tmpl/types.sgml: corrected descriptions of gsize and gssize.

svn path=/trunk/; revision=5621

docs/reference/ChangeLog
docs/reference/glib/tmpl/types.sgml

index 0228b85..1a869b2 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jul 10 13:11:55 2007  Tim Janik  <timj@imendio.com>
+
+       * glib/tmpl/types.sgml: corrected descriptions of gsize and gssize.
+
 Tue Jul 10 13:04:03 2007  Tim Janik  <timj@imendio.com>
 
        * minor docu build fixes.
index f1c9544..c6c06ee 100644 (file)
@@ -222,13 +222,16 @@ Values of this type can range from -#G_MAXDOUBLE to #G_MAXDOUBLE.
 
 <!-- ##### TYPEDEF gsize ##### -->
 <para>
-An unsigned 32-bit integer intended to represent sizes of data structures.
+An unsigned integer type of the result of the sizeof operator, corresponding
+to the size_t type defined in C99. This type is wide enough to hold the numeric
+value of a pointer, so it is usually 32bit wide on a 32bit platform and
+64bit wide on a 64bit platform.
 </para>
 
 
 <!-- ##### TYPEDEF gssize ##### -->
 <para>
-A signed 32-bit integer intended to represent sizes of data structures.
+A signed variant of gsize, corresponding to the ssize_t defined on most platforms.
 </para>