From a11e56be262a33efd5b6af92b67050113fd2c8cc Mon Sep 17 00:00:00 2001 From: Skef Iterum Date: Fri, 6 Feb 2026 14:34:10 -0800 Subject: [PATCH] Add missing @flags parameter documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The doc check was failing with: "Parameter description for hb_depend_get_glyph_entry::flags is missing in source code comment block." Added documentation for the @flags parameter explaining that it returns edge flags indicating whether the dependency came from a contextual substitution, and that it's nullable. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/hb-depend.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-depend.cc b/src/hb-depend.cc index 8e91ac432..ce5c33356 100644 --- a/src/hb-depend.cc +++ b/src/hb-depend.cc @@ -337,6 +337,9 @@ hb_depend_from_face_or_fail (hb_face_t *face) * HB_CODEPOINT_INVALID if there is no such set. Context sets specify which * backtrack and lookahead glyphs must be present for this dependency to apply * (currently only populated for contextual GSUB substitutions). + * @flags: (out) (nullable): Returns edge flags (FROM_CONTEXT_POSITION, + * FROM_NESTED_CONTEXT) indicating whether this edge came from a contextual + * substitution. May be NULL if flags are not needed. * * Get the values associated with a dependency entry for a glyph. * Dependencies are indexed sequentially starting from 0.