docs: Mention gsize, goffset, etc. are in C99

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=569375
This commit is contained in:
Philip Withnall 2017-10-06 12:14:44 +01:00
parent 493723b4d9
commit 5040de9fc7

View File

@ -32,18 +32,20 @@
* and portability * and portability
* *
* GLib defines a number of commonly used types, which can be divided * GLib defines a number of commonly used types, which can be divided
* into 4 groups: * into several groups:
* - New types which are not part of standard C (but are defined in * - New types which are not part of standard C (but are defined in
* various C standard library header files) - #gboolean, #gsize, * various C standard library header files) #gboolean, #gssize.
* #gssize, #goffset, #gintptr, #guintptr.
* - Integer types which are guaranteed to be the same size across * - Integer types which are guaranteed to be the same size across
* all platforms - #gint8, #guint8, #gint16, #guint16, #gint32, * all platforms #gint8, #guint8, #gint16, #guint16, #gint32,
* #guint32, #gint64, #guint64. * #guint32, #gint64, #guint64.
* - Types which are easier to use than their standard C counterparts - * - Types which are easier to use than their standard C counterparts -
* #gpointer, #gconstpointer, #guchar, #guint, #gushort, #gulong. * #gpointer, #gconstpointer, #guchar, #guint, #gushort, #gulong.
* - Types which correspond exactly to standard C types, but are * - Types which correspond exactly to standard C types, but are
* included for completeness - #gchar, #gint, #gshort, #glong, * included for completeness #gchar, #gint, #gshort, #glong,
* #gfloat, #gdouble. * #gfloat, #gdouble.
* - Types which correspond exactly to standard C99 types, but are available
* to use even if your compiler does not support C99 #gsize, #goffset,
* #gintptr, #guintptr.
* *
* GLib also defines macros for the limits of some of the standard * GLib also defines macros for the limits of some of the standard
* integer and floating point types, as well as macros for suitable * integer and floating point types, as well as macros for suitable