From d2ca51992555eedcd140a6e7e6ed5e5d2996ca67 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 7 Sep 2021 23:16:18 +0200 Subject: Simplify code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index 15801eb..e3c9912 100644 --- a/common.h +++ b/common.h @@ -24,5 +24,7 @@ #define UNICODE_MINUS "−" +#define IS_UTF8_CHAR_CONTINUATION(B) (((B) & 0xC0) == 0x80) + ssize_t libnumtext_num2text_swedish__(char *outbuf, size_t outbuf_size, const char *num, size_t num_len, uint32_t flags); -- cgit v1.2.3-70-g09d2