]> Savannah Git Hosting - gnulib.git/commit
mbrtoc32: New module.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Jan 2020 01:32:52 +0000 (02:32 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Jan 2020 01:34:57 +0000 (02:34 +0100)
commit20ff668e934fa7e3bb3ce27027cd56ebe8716188
tree102bc615039405859fcea148d08bafccd4067089
parent40f39973fc0399aa45775ca26564948f77678ab5
mbrtoc32: New module.

* lib/uchar.in.h (mbrtoc32): New declaration.
* lib/mbrtoc32.c: New file, based on lib/mbrtowc.c.
* m4/mbrtoc32.m4: New file, based on m4/mbrtowc.m4.
* m4/uchar.m4 (gl_UCHAR_H): Test whether mbrtoc32 is declared.
(gl_UCHAR_H_DEFAULTS): Initialize GNULIB_MBRTOC32, HAVE_MBRTOC32,
REPLACE_MBRTOC32.
* modules/uchar (Makefile.am): Substitute GNULIB_MBRTOC32,
HAVE_MBRTOC32, REPLACE_MBRTOC32.
* modules/mbrtoc32: New file, based on modules/mbrtowc.
* tests/test-uchar-c++.cc (mbrtoc32): Verify the signature.
* modules/uchar-c++-tests (Makefile.am): Link test-uchar-c++ with
$(LIB_MBRTOWC).
* doc/posix-functions/mbrtoc32.texi: Document the new module.
* doc/posix-functions/mbrtowc.texi: Mention the new module.
ChangeLog
doc/posix-functions/mbrtoc32.texi
doc/posix-functions/mbrtowc.texi
lib/mbrtoc32.c [new file with mode: 0644]
lib/uchar.in.h
m4/mbrtoc32.m4 [new file with mode: 0644]
m4/uchar.m4
modules/mbrtoc32 [new file with mode: 0644]
modules/uchar
modules/uchar-c++-tests
tests/test-uchar-c++.cc