[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
new module 'c32swidth'
|
From: |
Bruno Haible |
|
Subject: |
new module 'c32swidth' |
|
Date: |
Thu, 04 May 2023 23:31:54 +0200 |
This module provides a function c32swidth(), that is like wcswidth(), except
that it takes a 32-bit wide string instead of a wide string as argument.
2023-05-04 Bruno Haible <bruno@clisp.org>
c32swidth: Add tests.
* tests/test-c32swidth.c: New file, based on tests/test-c32width.c.
* modules/c32swidth-tests: New file.
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.
0001-c32swidth-New-module.patch
Description: Text Data
0002-c32swidth-Add-tests.patch
Description: Text Data
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- new module 'c32swidth',
Bruno Haible <=