From 0b0adeb13f9832b2d8551b13c1507521a2c79628 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 21 Dec 2025 17:56:59 +0100 Subject: libcmap_find_{block,script}: clarify relationship, of the return value, to libcmap_{block,script}_list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcmap.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libcmap.h b/libcmap.h index a04b38e..2d249c6 100644 --- a/libcmap.h +++ b/libcmap.h @@ -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); -- cgit v1.3.1