Document g[u]intptr

Bug 569375.
This commit is contained in:
Christian Persch 2009-01-27 19:54:27 +01:00
parent 54b43229f4
commit d046bfe577
2 changed files with 22 additions and 1 deletions

View File

@ -42,6 +42,10 @@ gssize
goffset
G_GOFFSET_CONSTANT
<SUBSECTION>
gintptr
guintptr
<SUBSECTION Private>
GLIB_SIZEOF_VOID_P
GLIB_SIZEOF_LONG

View File

@ -26,7 +26,8 @@ Types which are easier to use than their standard C counterparts -
<listitem><para>
Types which correspond exactly to standard C types, but are included
for completeness - #gchar, #gint, #gshort, #glong, #gfloat, #gdouble.
for completeness - #gchar, #gint, #gshort, #glong, #gfloat, #gdouble,
#gintptr, #guintptr.
</para></listitem>
</itemizedlist>
@ -284,3 +285,19 @@ See also #G_GINT64_CONSTANT.
Since: 2.20
<!-- ##### TYPEDEF gintptr ##### -->
<para>
Corresponds to the C99 type <type>intptr_t</type>, a signed integer type that
can hold any pointer.
</para>
Since: 2.18
<!-- ##### TYPEDEF guintptr ##### -->
<para>
Corresponds to the C99 type <type>uintptr_t</type>, an unsigned integer type that
can hold any pointer.
</para>
Since: 2.18