From 15880a3da91a0403eb287a84db90b54713ac4a09 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 4 May 2023 23:27:12 +0200 Subject: c32swidth: New module. * lib/uchar.in.h (c32swidth): New declaration. * lib/wcswidth-impl.h: Use macros FUNC, UNIT, CHARACTER_WIDTH. * lib/wcswidth.c: Define FUNC, UNIT, CHARACTER_WIDTH before including wcswidth-impl.h. * lib/c32swidth.c: New file. * modules/c32swidth: New file. * m4/uchar_h.m4 (gl_UCHAR_H_REQUIRE_DEFAULTS): Initialize GNULIB_C32SWIDTH. * modules/uchar (Makefile.am): Substitute GNULIB_C32SWIDTH. --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index af99e65a65..d55b5e5120 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2023-05-04 Bruno Haible + + c32swidth: New module. + * lib/uchar.in.h (c32swidth): New declaration. + * lib/wcswidth-impl.h: Use macros FUNC, UNIT, CHARACTER_WIDTH. + * lib/wcswidth.c: Define FUNC, UNIT, CHARACTER_WIDTH before including + wcswidth-impl.h. + * lib/c32swidth.c: New file. + * modules/c32swidth: New file. + * m4/uchar_h.m4 (gl_UCHAR_H_REQUIRE_DEFAULTS): Initialize + GNULIB_C32SWIDTH. + * modules/uchar (Makefile.am): Substitute GNULIB_C32SWIDTH. + 2023-05-04 Bruno Haible wcswidth: Fix result in case of overflow. -- cgit v1.2.1