c32snrtombs: New module.
commit980b40b1d6464d3aa9e68d8a0c19009c6cdaf6fb
authorBruno Haible <bruno@clisp.org>
Fri, 10 Jan 2020 22:28:47 +0000 (10 23:28 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 10 Jan 2020 22:28:47 +0000 (10 23:28 +0100)
treef1f7b75cf983113e5e6c6a0aacce1918be65a3ea
parentf5eb8cea72469348b423ae22068eeb9e1399011b
c32snrtombs: New module.

* lib/uchar.in.h (c32snrtombs): New declaration.
* lib/wcsnrtombs-impl.h: Parameterize: Use macros FUNC, SCHAR_T,
INTERNAL_STATE, WCRTOMB.
* lib/wcsnrtombs.c (FUNC, SCHAR_T, INTERNAL_STATE, WCRTOMB): New macros.
* lib/c32snrtombs.c: New file.
* m4/uchar.m4 (gl_UCHAR_H_DEFAULTS): Initialize GNULIB_C32SNRTOMBS.
* modules/uchar (Makefile.am): Substitute GNULIB_C32SNRTOMBS.
* modules/c32snrtombs: New file.
* tests/test-uchar-c++.cc: Test the signature of c32snrtombs.
* doc/posix-functions/wcsnrtombs.texi: Mention the new module.
ChangeLog
doc/posix-functions/wcsnrtombs.texi
lib/c32snrtombs.c [new file with mode: 0644]
lib/uchar.in.h
lib/wcsnrtombs-impl.h
lib/wcsnrtombs.c
m4/uchar.m4
modules/c32snrtombs [new file with mode: 0644]
modules/uchar
tests/test-uchar-c++.cc