[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
new module 'mbsnrtoc32s'
From: |
Bruno Haible |
Subject: |
new module 'mbsnrtoc32s' |
Date: |
Sun, 05 Jan 2020 02:37:42 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-170-generic; KDE/5.18.0; x86_64; ; ) |
This function corresponds to mbsnrtowcs, but it writes a sequence of char32_t,
not wchar_t.
2020-01-04 Bruno Haible <address@hidden>
mbsnrtoc32s: Add tests.
* tests/test-mbsnrtoc32s.c: New file, based on tests/test-mbsnrtowcs.c.
* tests/test-mbsnrtoc32s-1.sh: New file, based on
tests/test-mbsnrtowcs1.sh.
* tests/test-mbsnrtoc32s-2.sh: New file, based on
tests/test-mbsnrtowcs2.sh.
* tests/test-mbsnrtoc32s-3.sh: New file, based on
tests/test-mbsnrtowcs3.sh.
* tests/test-mbsnrtoc32s-4.sh: New file, based on
tests/test-mbsnrtowcs4.sh.
* modules/mbsnrtoc32s-tests: New file, based on
modules/mbsnrtowcs-tests.
mbsnrtoc32s: New module.
* lib/uchar.in.h (mbsnrtoc32s): New declaration.
* lib/mbsnrtowcs-impl.h: Parameterize: Use macros FUNC, DCHAR_T,
INTERNAL_STATE, MBRTOWC.
* lib/mbsnrtowcs.c (FUNC, DCHAR_T, INTERNAL_STATE, MBRTOWC): New macros.
* lib/mbsnrtoc32s.c: New file.
* m4/uchar.m4 (gl_UCHAR_H_DEFAULTS): Initialize GNULIB_MBSNRTOC32S.
* modules/uchar (Makefile.am): Substitute GNULIB_MBSNRTOC32S.
* modules/mbsnrtoc32s: New file.
* tests/test-uchar-c++.cc: Test the signature of mbsnrtoc32s.
* doc/posix-functions/mbsnrtowcs.texi: Mention the new module.
0001-mbsnrtoc32s-New-module.patch
Description: Text Data
0002-mbsnrtoc32s-Add-tests.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- new module 'mbsnrtoc32s',
Bruno Haible <=