void closure (hb_closure_context_t *c,
ContextClosureLookupContext &lookup_context) const
{
- unsigned int num_rules = rule.len;
- for (unsigned int i = 0; i < num_rules; i++)
- (this+rule[i]).closure (c, lookup_context);
+ for (auto it = hb_iter (rule); it; ++it)
+ (this+*it).closure (c, lookup_context);
}
void collect_glyphs (hb_collect_glyphs_context_t *c,
}
void closure (hb_closure_context_t *c, ChainContextClosureLookupContext &lookup_context) const
{
- unsigned int num_rules = rule.len;
- for (unsigned int i = 0; i < num_rules; i++)
- (this+rule[i]).closure (c, lookup_context);
+ for (auto it = hb_iter (rule); it; ++it)
+ (this+*it).closure (c, lookup_context);
}
void collect_glyphs (hb_collect_glyphs_context_t *c, ChainContextCollectGlyphsLookupContext &lookup_context) const