diff options
author | Bruno Haible <bruno@clisp.org> | 2011-02-07 00:29:31 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-02-09 20:54:32 +0100 |
commit | d3042e83ace41dcd72fdf8d5173ddf55ac645459 (patch) | |
tree | 2b52188d942800670330013bac38eb88d04e7011 /tests/test-wctype-h-c++.cc | |
parent | 52c4f309aad0bce5307f2cca26b59b76ed7574ab (diff) | |
download | gnulib-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/test-wctype-h-c++.cc')
-rw-r--r-- | tests/test-wctype-h-c++.cc | 4 |
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 () |