commit afe044b0750f681ec56b7c52eb74ada88c3543cc Author: Laslo Hunhold <d...@frign.de> AuthorDate: Sun May 31 22:54:35 2020 +0200 Commit: Laslo Hunhold <d...@frign.de> CommitDate: Sun May 31 22:54:35 2020 +0200
Clarify comments in encoder-testcase-struct Signed-off-by: Laslo Hunhold <d...@frign.de> diff --git a/src/test_body.c b/src/test_body.c index f7c0c0b..b7cd6ff 100644 --- 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[] = {