typename Subclass,
typename Returned,
typename Stored = Returned>
-struct hb_base_lazy_loader_t
+struct hb_lazy_loader_t
{
static_assert (WheresFace > 0, "");
/* Specializations. */
template <unsigned int WheresFace, typename T>
-struct hb_lazy_loader_t : hb_base_lazy_loader_t<WheresFace, hb_lazy_loader_t<WheresFace, T>, T>
+struct hb_object_lazy_loader_t : hb_lazy_loader_t<WheresFace, hb_object_lazy_loader_t<WheresFace, T>, T>
{
static inline T *create (hb_face_t *face)
{
};
template <unsigned int WheresFace, typename T>
-struct hb_table_lazy_loader_t : hb_base_lazy_loader_t<WheresFace, hb_table_lazy_loader_t<WheresFace, T>, T, hb_blob_t>
+struct hb_table_lazy_loader_t : hb_lazy_loader_t<WheresFace, hb_table_lazy_loader_t<WheresFace, T>, T, hb_blob_t>
{
static inline hb_blob_t *create (hb_face_t *face)
{
OT::vmtx::accelerator_t v_metrics;
hb_face_t *face; /* MUST be JUST before the lazy loaders. */
- hb_lazy_loader_t<1, OT::glyf::accelerator_t> glyf;
- hb_lazy_loader_t<2, OT::CBDT::accelerator_t> cbdt;
- hb_lazy_loader_t<3, OT::post::accelerator_t> post;
- hb_lazy_loader_t<4, OT::kern::accelerator_t> kern;
+ hb_object_lazy_loader_t<1, OT::glyf::accelerator_t> glyf;
+ hb_object_lazy_loader_t<2, OT::CBDT::accelerator_t> cbdt;
+ hb_object_lazy_loader_t<3, OT::post::accelerator_t> post;
+ hb_object_lazy_loader_t<4, OT::kern::accelerator_t> kern;
};