diff options
| author | Mattias Andrée <m@maandree.se> | 2025-12-21 17:56:59 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2025-12-21 17:56:59 +0100 |
| commit | 0b0adeb13f9832b2d8551b13c1507521a2c79628 (patch) | |
| tree | 55904ed3368eaa1a6f93e51b1cf8486396385ae1 /libcmap.h | |
| parent | Add libcmap_fprint_range, libcmap_print_range, libcmap_dprint_range (diff) | |
| download | libcmap-0b0adeb13f9832b2d8551b13c1507521a2c79628.tar.gz libcmap-0b0adeb13f9832b2d8551b13c1507521a2c79628.tar.bz2 libcmap-0b0adeb13f9832b2d8551b13c1507521a2c79628.tar.xz | |
libcmap_find_{block,script}: clarify relationship, of the return value, to libcmap_{block,script}_list
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libcmap.h')
| -rw-r--r-- | libcmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -196,6 +196,9 @@ int libcmap_find_in_no_block(uint32_t codepoint, size_t *offset_out, size_t *sub * * If `NULL` is returned, *offset_out` will not be set * + * The returned pointer (unless `NULL`) is `&libcmap_block_list[i]` + * for some non-negative `i` less than `libcmap_block_list_size` + * * @seealso libcmap_find_in_no_block * @seealso libcmap_find_script */ @@ -222,6 +225,9 @@ const struct libcmap_block *libcmap_find_block(uint32_t codepoint, size_t *offse * * If 0 is returned, `*offset_out` and `*subrange_out` will not be set * + * The returned pointer (unless `NULL`) is `&libcmap_script_list[i]` + * for some non-negative `i` less than `libcmap_script_list_size` + * * @seealso libcmap_find_block */ const struct libcmap_script *libcmap_find_script(uint32_t codepoint, size_t *offset_out, size_t *subrange_out); |
