libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

commit afe044b0750f681ec56b7c52eb74ada88c3543cc
parent 0a8a35770c697b0fd9396046b9b19c1f1c8c9b5a
Author: Laslo Hunhold <dev@frign.de>
Date:   Sun, 31 May 2020 22:54:35 +0200

Clarify comments in encoder-testcase-struct

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
Msrc/test_body.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test_body.c b/src/test_body.c @@ -52,8 +52,8 @@ static const struct { }; static const struct { - uint8_t *arr; /* byte array */ - size_t len; /* number of bytes in array */ + uint8_t *arr; /* UTF-8 byte sequence */ + size_t len; /* length of UTF-8 byte sequence */ size_t exp_len; /* expected length returned */ uint32_t exp_cp; /* expected code point returned */ } dec_test[] = {