From 53a8c2c5faabcb4bdb55a768f13293f3c0b9b082 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 13 Jul 2023 00:58:13 +0200 Subject: [PATCH] doc: Mention c32_get_type_test, c32_apply_type_test. * doc/posix-functions/wctype.texi: Mention c32_get_type_test. * doc/posix-functions/iswctype.texi: Mention c32_apply_type_test. * doc/strings.texi (Comparison of character APIs): Mention both. --- ChangeLog | 5 +++++ doc/posix-functions/iswctype.texi | 3 +++ doc/posix-functions/wctype.texi | 3 +++ doc/strings.texi | 8 +++++++- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ab0dfc82b4..764fc15ea1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2023-07-12 Bruno Haible + doc: Mention c32_get_type_test, c32_apply_type_test. + * doc/posix-functions/wctype.texi: Mention c32_get_type_test. + * doc/posix-functions/iswctype.texi: Mention c32_apply_type_test. + * doc/strings.texi (Comparison of character APIs): Mention both. + c32_apply_type_test: Add tests. * tests/test-c32_apply_type_test.c: New file. * modules/c32_apply_type_test-tests: New file. diff --git a/doc/posix-functions/iswctype.texi b/doc/posix-functions/iswctype.texi index 16e5a3a132..a58cfc3162 100644 --- a/doc/posix-functions/iswctype.texi +++ b/doc/posix-functions/iswctype.texi @@ -26,4 +26,7 @@ Portability problems not fixed by Gnulib: @item On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and therefore cannot accommodate all Unicode characters. +However, the Gnulib function @code{c32_apply_type_test}, provided by Gnulib +module @code{c32_apply_type_test}, operates on 32-bit wide characters and +therefore does not have this limitation. @end itemize diff --git a/doc/posix-functions/wctype.texi b/doc/posix-functions/wctype.texi index 33c3fad883..4d1deeb904 100644 --- a/doc/posix-functions/wctype.texi +++ b/doc/posix-functions/wctype.texi @@ -22,4 +22,7 @@ Portability problems not fixed by Gnulib: @item On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and therefore cannot accommodate all Unicode characters. +However, the Gnulib function @code{c32_get_type_test}, provided by Gnulib +module @code{c32_get_type_test}, operates on 32-bit wide characters and +therefore does not have this limitation. @end itemize diff --git a/doc/strings.texi b/doc/strings.texi index ecf92f3da4..9ea9c8a5b8 100644 --- a/doc/strings.texi +++ b/doc/strings.texi @@ -834,8 +834,14 @@ POSIX and in Gnulib. @item -- @tab -- -@tab @code{iswctype} +@tab @code{wctype} +@tab @code{c32_get_type_test} @tab -- + +@item -- +@tab -- +@tab @code{iswctype} +@tab @code{c32_apply_type_test} @tab -- @item @code{tolower} -- 2.39.5