1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
Bruno Haible 151d374a80 mbiterf: Implement multi-byte per encoding error (MEE) consistently.
* lib/mbiterf.h: Include mbiter-aux.h.
(struct mbif_state): Add field is_utf8.
(mbiterf_next): Invoke mbiter_is_utf8, mbiter_utf8_maximal_subpart.
(mbif_init): Initialize the field is_utf8.
* modules/mbiterf (Depends-on): Add mbiter-aux.
* tests/test-mbsnlen.c (main): Add test cases with incomplete characters
not at the end of the string.
2026-05-26 01:31:22 +02:00

39 lines
495 B
Plaintext

Description:
Iterating through multibyte strings, faster.
Files:
lib/mbiterf.h
lib/mbiterf.c
m4/mbiter.m4
m4/mbrtowc.m4
Depends-on:
extern-inline
mbchar
mbrtoc32
mbsinit
mbszero
mbiter-aux
uchar-h
bool
configure.ac:
gl_MBITER
Makefile.am:
lib_SOURCES += mbiterf.h mbiterf.c
Include:
"mbiterf.h"
Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
License:
LGPLv2+
Maintainer:
all