Document g[u]intptr
authorChristian Persch <chpe@gnome.org>
Tue, 27 Jan 2009 18:54:27 +0000 (19:54 +0100)
committerChristian Persch <chpe@gnome.org>
Sat, 23 May 2009 15:56:10 +0000 (17:56 +0200)
Bug 569375.

docs/reference/glib/glib-sections.txt
docs/reference/glib/tmpl/types.sgml

index 6089b50..b99f9b3 100644 (file)
@@ -42,6 +42,10 @@ gssize
 goffset
 G_GOFFSET_CONSTANT
 
+<SUBSECTION>
+gintptr
+guintptr
+
 <SUBSECTION Private>
 GLIB_SIZEOF_VOID_P
 GLIB_SIZEOF_LONG
index 5209110..28ceea3 100644 (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