From d046bfe577f71b45b40d8b0592409c88945bb934 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 27 Jan 2009 19:54:27 +0100 Subject: [PATCH] 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 deletion(-) 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 + +gintptr +guintptr + 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 - 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. @@ -284,3 +285,19 @@ See also #G_GINT64_CONSTANT. Since: 2.20 + + +Corresponds to the C99 type intptr_t, a signed integer type that +can hold any pointer. + + +Since: 2.18 + + + + +Corresponds to the C99 type uintptr_t, an unsigned integer type that +can hold any pointer. + + +Since: 2.18 -- 2.7.4