[glib] Document g[u]intptr



commit d046bfe577f71b45b40d8b0592409c88945bb934
Author: Christian Persch <chpe gnome org>
Date:   Tue Jan 27 19:54:27 2009 +0100

    Document g[u]intptr
    
    Bug 569375.
---
 docs/reference/glib/glib-sections.txt |    4 ++++
 docs/reference/glib/tmpl/types.sgml   |   19 ++++++++++++++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt
index 6089b50..b99f9b3 100644
--- a/docs/reference/glib/glib-sections.txt
+++ b/docs/reference/glib/glib-sections.txt
@@ -42,6 +42,10 @@ gssize
 goffset
 G_GOFFSET_CONSTANT
 
+<SUBSECTION>
+gintptr
+guintptr
+
 <SUBSECTION Private>
 GLIB_SIZEOF_VOID_P
 GLIB_SIZEOF_LONG
diff --git a/docs/reference/glib/tmpl/types.sgml b/docs/reference/glib/tmpl/types.sgml
index 5209110..28ceea3 100644
--- a/docs/reference/glib/tmpl/types.sgml
+++ b/docs/reference/glib/tmpl/types.sgml
@@ -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



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