Mercurial > hg > octave-kai > gnulib-hg
annotate modules/wcsdup @ 14295:34809a158a33
New module 'wcsdup'.
* modules/wcsdup: New file.
* lib/wchar.in.h (wcsdup): New declaration.
* lib/wcsdup.c: New file.
* lib/wcsdup-impl.h: New file, from libutf8 with modifications.
* m4/wcsdup.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsdup is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSDUP, HAVE_WCSDUP.
* modules/wchar (Makefile.am): Substitute GNULIB_WCSDUP, HAVE_WCSDUP.
* tests/test-wchar-c++.cc: Test the declaration of wcsdup.
* doc/posix-functions/wcsdup.texi: Mention the new module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 06 Feb 2011 13:42:05 +0100 |
parents | |
children | efab6978105e |
rev | line source |
---|---|
14295 | 1 Description: |
2 wcsdup() function: duplicate a wide string. | |
3 | |
4 Files: | |
5 lib/wcsdup.c | |
6 lib/wcsdup-impl.h | |
7 m4/wcsdup.m4 | |
8 | |
9 Depends-on: | |
10 wchar | |
11 wcslen | |
12 wmemcpy | |
13 | |
14 configure.ac: | |
15 gl_FUNC_WCSDUP | |
16 gl_WCHAR_MODULE_INDICATOR([wcsdup]) | |
17 | |
18 Makefile.am: | |
19 | |
20 Include: | |
21 <wchar.h> | |
22 | |
23 License: | |
24 LGPL | |
25 | |
26 Maintainer: | |
27 Bruno Haible |