Branch
Hash :
43128176
Author :
Date :
2024-12-27T23:41:50
Rename module uchar to uchar-h. * modules/uchar-h: Renamed from modules/uchar. * modules/uchar-h-tests: Renamed from modules/uchar-tests. * modules/uchar-h-c++-tests: Renamed from modules/uchar-c++-tests. * tests/test-uchar-h.c: Renamed from tests/test-uchar.c. * tests/test-uchar-h-c++.cc: Renamed from tests/test-uchar-c++.cc. * tests/test-uchar-h-c++2.cc: Renamed from tests/test-uchar-c++2.cc. * doc/posix-headers/uchar.texi: Update. * modules/* (Depends-on): Update. * modules/uchar: New file.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
Description:
mbrtoc32() function: convert multibyte character to 32-bit wide character.
Files:
lib/mbrtoc32.c
lib/mbrtowc-impl.h
lib/mbrtowc-impl-utf8.h
lib/lc-charset-dispatch.h
lib/lc-charset-dispatch.c
lib/mbtowc-lock.h
lib/mbtowc-lock.c
lib/windows-initguard.h
m4/mbrtoc32.m4
m4/c32rtomb.m4
m4/locale-en.m4
m4/locale-fr.m4
m4/locale-zh.m4
m4/codeset.m4
m4/mbrtowc.m4
m4/mbstate_t.m4
m4/threadlib.m4
m4/visibility.m4
Depends-on:
uchar-h
attribute [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]
c99 [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0]
hard-locale [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0]
mbrtowc [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0]
mbsinit [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0]
mbszero [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && test $REPLACE_MBSTATE_T = 0]
assert-h [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]
localcharset [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]
streq [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]
configure.ac:
gl_FUNC_MBRTOC32
gl_CONDITIONAL([GL_COND_OBJ_MBRTOC32],
[test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1])
AM_COND_IF([GL_COND_OBJ_MBRTOC32], [
if test $REPLACE_MBSTATE_T = 1; then
AC_LIBOBJ([lc-charset-dispatch])
AC_LIBOBJ([mbtowc-lock])
gl_PREREQ_MBTOWC_LOCK
fi
gl_PREREQ_MBRTOC32
])
gl_UCHAR_MODULE_INDICATOR([mbrtoc32])
Makefile.am:
if GL_COND_OBJ_MBRTOC32
lib_SOURCES += mbrtoc32.c
endif
Include:
<uchar.h>
Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
License:
LGPLv2+
Maintainer:
Bruno Haible