[layout] Inline another function

Code is smaller too.
This commit is contained in:
Behdad Esfahbod 2023-07-31 19:07:42 -06:00
parent 9cdc043c16
commit e3fd69c889

View file

@ -4353,6 +4353,9 @@ struct hb_ot_layout_lookup_accelerator_t
bool may_have (hb_codepoint_t g) const
{ return digest.may_have (g); }
#ifndef HB_OPTIMIZE_SIZE
HB_ALWAYS_INLINE
#endif
bool apply (hb_ot_apply_context_t *c, unsigned subtables_count, bool use_cache) const
{
#ifndef HB_NO_OT_LAYOUT_LOOKUP_CACHE