[reorg] add TODO to RangeRecord.

This commit is contained in:
Garret Rieger 2022-07-13 23:00:01 +00:00 committed by Behdad Esfahbod
parent c1e280ea78
commit d82ace5c6f
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ struct RangeRecord
} }
} }
// TODO(garretrieger): This was previously implemented using
// DECLARE_NULL_NAMESPACE_BYTES_TEMPLATE1 (OT, RangeRecord, 9);
// but that only works when there is only a single namespace level.
// The macro should probably be fixed so it can work in this situation.
extern HB_INTERNAL const unsigned char _hb_Null_OT_RangeRecord[9]; extern HB_INTERNAL const unsigned char _hb_Null_OT_RangeRecord[9];
template <typename Spec> template <typename Spec>
struct Null<OT::Layout::Common::RangeRecord<Spec>> { struct Null<OT::Layout::Common::RangeRecord<Spec>> {