#ifndef OT_LAYOUT_GPOS_COMMON_HH #define OT_LAYOUT_GPOS_COMMON_HH namespace OT { namespace Layout { namespace GPOS_impl { enum attach_type_t { … }; /* buffer **position** var allocations */ #define attach_chain() … #define attach_type() … /* Note! if attach_chain() is zero, the value of attach_type() is irrelevant. */ template<typename Iterator, typename SrcLookup> static void SinglePos_serialize (hb_serialize_context_t *c, const SrcLookup *src, Iterator it, const hb_hashmap_t<unsigned, hb_pair_t<unsigned, int>> *layout_variation_idx_delta_map, unsigned new_format); } } } #endif // OT_LAYOUT_GPOS_COMMON_HH