From eb66f3a037ac18ab51636d160523ba99f050b57a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 24 Jan 2026 15:02:15 +0100 Subject: Make UTF-8 decoding function available to the entire library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- lib-common.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib-common.h (limited to 'lib-common.h') diff --git a/lib-common.h b/lib-common.h new file mode 100644 index 0000000..899418c --- /dev/null +++ b/lib-common.h @@ -0,0 +1,6 @@ +/* See LICENSE file for copyright and license details. */ +#include "libcharconv.h" +#include + + +size_t libcharconv_decode_utf8_(const char *s, size_t slen, uint_least32_t *cp); -- cgit v1.2.3-70-g09d2