summaryrefslogtreecommitdiff
path: root/tests/test-uchar-c++.cc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-01-05 12:23:00 +0100
committerBruno Haible <bruno@clisp.org>2020-01-05 12:23:00 +0100
commit8208c314448c4a26beda29b9666a5626521b7312 (patch)
treecb678a59f8406d24f9c7dc919f90afb412086d72 /tests/test-uchar-c++.cc
parent888c04969a2a067ad6a4ed75cf3461e34765ee51 (diff)
downloadgnulib-8208c314448c4a26beda29b9666a5626521b7312.tar.gz
mbstoc32s: New module.
* lib/uchar.in.h (mbstoc32s): New declaration. * lib/mbstoc32s.c: New file. * m4/uchar.m4 (gl_UCHAR_H_DEFAULTS): Initialize GNULIB_MBSTOC32S. * modules/uchar (Makefile.am): Substitute GNULIB_MBSTOC32S. * modules/mbstoc32s: New file. * tests/test-uchar-c++.cc: Test the signature of mbstoc32s. * doc/posix-functions/mbstowcs.texi: Mention the new module.
Diffstat (limited to 'tests/test-uchar-c++.cc')
-rw-r--r--tests/test-uchar-c++.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-uchar-c++.cc b/tests/test-uchar-c++.cc
index a630eec0e6..3e71c89c82 100644
--- a/tests/test-uchar-c++.cc
+++ b/tests/test-uchar-c++.cc
@@ -48,6 +48,11 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::mbsrtoc32s, size_t,
(char32_t *, const char **, size_t, mbstate_t *));
#endif
+#if GNULIB_TEST_MBSTOC32S
+SIGNATURE_CHECK (GNULIB_NAMESPACE::mbstoc32s, size_t,
+ (char32_t *, const char *, size_t));
+#endif
+
int
main ()