diff options
author | Bruno Haible <bruno@clisp.org> | 2011-02-06 12:25:31 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-02-07 23:36:05 +0100 |
commit | e1cc6ea006da8ff4527e055e7aa2db0d69351a05 (patch) | |
tree | a3d51024cb1a84d9da95be91626c434ba4004168 /tests/test-wchar-c++.cc | |
parent | 98b6cac347783a047671e9a9235933dddd9e5aa8 (diff) | |
download | gnulib-e1cc6ea006da8ff4527e055e7aa2db0d69351a05.tar.gz |
New module 'wcsncasecmp'.
* modules/wcsncasecmp: New file.
* lib/wchar.in.h (wcsncasecmp): New declaration.
* lib/wcsncasecmp.c: New file.
* lib/wcsncasecmp-impl.h: New file, from libutf8 with modifications.
* m4/wcsncasecmp.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsncasecmp is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSNCASECMP, HAVE_WCSNCASECMP.
* modules/wchar (Makefile.am): Substitute GNULIB_WCSNCASECMP,
HAVE_WCSNCASECMP.
* tests/test-wchar-c++.cc: Test the declaration of wcsncasecmp.
* doc/posix-functions/wcsncasecmp.texi: Mention the new module.
Diffstat (limited to 'tests/test-wchar-c++.cc')
-rw-r--r-- | tests/test-wchar-c++.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-wchar-c++.cc b/tests/test-wchar-c++.cc index 58521353c2..842c28d80a 100644 --- a/tests/test-wchar-c++.cc +++ b/tests/test-wchar-c++.cc @@ -153,6 +153,11 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::wcscasecmp, int, (const wchar_t *, const wchar_t *)); #endif +#if GNULIB_TEST_WCSNCASECMP +SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsncasecmp, int, + (const wchar_t *, const wchar_t *, size_t)); +#endif + int main () |