summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-02-07 00:29:31 +0100
committerBruno Haible <bruno@clisp.org>2011-02-09 20:54:32 +0100
commitd3042e83ace41dcd72fdf8d5173ddf55ac645459 (patch)
tree2b52188d942800670330013bac38eb88d04e7011 /tests
parent52c4f309aad0bce5307f2cca26b59b76ed7574ab (diff)
downloadgnulib-d3042e83ace41dcd72fdf8d5173ddf55ac645459.tar.gz
New module 'towctrans'.
* modules/towctrans: New file. * lib/wctype.in.h (towctrans): New declaration. * lib/towctrans.c: New file. * lib/towctrans-impl.h: New file. * m4/towctrans.m4: New file. * m4/wctype_h.m4 (gl_WCTYPE_H): Test whether towctrans is declared. (gl_WCTYPE_H_DEFAULTS): Initialize GNULIB_TOWCTRANS. * modules/wctype-h (Makefile.am): Substitute GNULIB_TOWCTRANS. * tests/test-wctype-h-c++.cc: Test the declaration of towctrans. * doc/posix-functions/towctrans.texi: Mention the new module.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-wctype-h-c++.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-wctype-h-c++.cc b/tests/test-wctype-h-c++.cc
index 1b02a9ed72..7208382506 100644
--- a/tests/test-wctype-h-c++.cc
+++ b/tests/test-wctype-h-c++.cc
@@ -54,6 +54,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::towupper, wint_t, (wint_t));
SIGNATURE_CHECK (GNULIB_NAMESPACE::wctrans, wctrans_t, (const char *));
#endif
+#if GNULIB_TEST_TOWCTRANS
+SIGNATURE_CHECK (GNULIB_NAMESPACE::towctrans, wint_t, (wint_t, wctrans_t));
+#endif
+
int
main ()