From 3e92f4ecbe332fde1f40d4d47dff107a6544e15b Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 15 Dec 2024 12:36:03 +0200 Subject: [PATCH] cont [no ci] --- src/unicode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/unicode.h b/src/unicode.h index 5c28edf20..c27098df7 100644 --- a/src/unicode.h +++ b/src/unicode.h @@ -48,14 +48,14 @@ struct unicode_cpt_flags { size_t unicode_len_utf8(char src); -std::string unicode_cpt_to_utf8 (uint32_t cpt); -uint32_t unicode_cpt_from_utf8 (const std::string & utf8, size_t & offset); +std::string unicode_cpt_to_utf8 (uint32_t cpt); +uint32_t unicode_cpt_from_utf8(const std::string & utf8, size_t & offset); std::vector unicode_cpts_from_utf8(const std::string & utf8); std::vector unicode_cpts_normalize_nfd(const std::vector & cpts); -unicode_cpt_flags unicode_cpt_flags_from_cpt(uint32_t cpt); +unicode_cpt_flags unicode_cpt_flags_from_cpt (uint32_t cpt); unicode_cpt_flags unicode_cpt_flags_from_utf8(const std::string & utf8); std::string unicode_byte_to_utf8(uint8_t byte);