From b78c7cfc38f81c11d59b1e891709d4935f91f09a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 Jul 2022 17:00:37 +0200 Subject: Clearify that output parameters are not updated if no glyph is found MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libparsepsf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libparsepsf.h b/libparsepsf.h index d13c062..5a0b219 100644 --- a/libparsepsf.h +++ b/libparsepsf.h @@ -115,7 +115,8 @@ int libparsepsf_parse_font(const void *data, size_t size, struct libparsepsf_fon * @return The index of the glyph, plus 1; 0 if the glyph if the * end of the text is reached or if no glyph is found, * or (only if `font->map` is `NULL`) if an illegal byte - * sequence was found + * sequence was found. `*remp` and `*next_cp` are not + * updated if this function returns 0. * @throws EILSEQ If an illegal byte sequence was found (only if * `font->map` is `NULL`) */ -- cgit v1.2.3-70-g09d2