From 3c801c0e2eeb3fbf0b7029296143de869c893bfb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 21 Dec 2025 13:27:17 +0100 Subject: Add range print functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcmap.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libcmap.h') diff --git a/libcmap.h b/libcmap.h index 7ee5d74..e849ffb 100644 --- a/libcmap.h +++ b/libcmap.h @@ -43,6 +43,9 @@ int libcmap_find_in_no_block(uint32_t codepoint, size_t *offset_out, size_t *sub const struct libcmap_block *libcmap_find_block(uint32_t codepoint, size_t *offset_out); const struct libcmap_script *libcmap_find_script(uint32_t codepoint, size_t *offset_out, size_t *subrange_out); +int libcmap_sprint_range(char *buf, const struct libcmap_range *range, const char *endash); +int libcmap_snprint_range(char *buf, size_t bufsize, const struct libcmap_range *range, const char *endash); + #undef LIBCMAP_PURE_ #undef LIBCMAP_CONST_ -- cgit v1.3.1