[inplace] Adjust

inplace
Behdad Esfahbod 3 years ago
parent 204d71514c
commit 3ce0a9841f
  1. 6
      src/hb-ot-layout-gpos-table.hh
  2. 2
      src/hb-ot-layout-gsubgpos.hh

@ -3127,6 +3127,12 @@ template <typename context_t>
return l.dispatch (c);
}
template <>
inline bool PosLookup::dispatch_recurse_func<hb_is_inplace_context_t> (hb_is_inplace_context_t *c, unsigned int lookup_index)
{
return true;
}
/*static*/ inline hb_closure_lookups_context_t::return_t PosLookup::dispatch_closure_lookups_recurse_func (hb_closure_lookups_context_t *c, unsigned this_index)
{
const PosLookup &l = c->face->table.GPOS.get_relaxed ()->table->get_lookup (this_index);

@ -65,8 +65,6 @@ struct hb_is_inplace_context_t :
template <typename T>
inline auto _dispatch (const T &obj, hb_priority<1>) HB_RETURN (return_t, obj.is_inplace () )
template <typename T>
inline auto _dispatch (const T &obj, hb_priority<0>) HB_RETURN (return_t, false )
template <typename T>
inline return_t dispatch (const T &obj) { return _dispatch (obj, hb_prioritize); }
static return_t default_return_value (void) { return true; }

Loading…
Cancel
Save