diff options
| author | Mattias Andrée <m@maandree.se> | 2025-12-21 13:27:17 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2025-12-21 13:27:17 +0100 |
| commit | 3c801c0e2eeb3fbf0b7029296143de869c893bfb (patch) | |
| tree | d75044f785bfd6a2d1526e1b26699bd3ef59c182 /libcmap.h | |
| parent | Implement script and block listing (diff) | |
| download | libcmap-3c801c0e2eeb3fbf0b7029296143de869c893bfb.tar.gz libcmap-3c801c0e2eeb3fbf0b7029296143de869c893bfb.tar.bz2 libcmap-3c801c0e2eeb3fbf0b7029296143de869c893bfb.tar.xz | |
Add range print functions
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | libcmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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_ |
