[ot-face] Remove tables_t. The face_data_t is what tables_t was
diff --git a/src/hb-ot-face.cc b/src/hb-ot-face.cc
index c6c4ff9..388a597 100644
--- a/src/hb-ot-face.cc
+++ b/src/hb-ot-face.cc
@@ -37,7 +37,7 @@
#include "hb-ot-layout-gpos-table.hh"
-void hb_ot_face_data_t::tables_t::init0 (hb_face_t *face)
+void hb_ot_face_data_t::init0 (hb_face_t *face)
{
this->face = face;
#define HB_OT_LAYOUT_TABLE(Namespace, Type) Type.init0 ();
@@ -46,7 +46,7 @@
#undef HB_OT_LAYOUT_ACCELERATOR
#undef HB_OT_LAYOUT_TABLE
}
-void hb_ot_face_data_t::tables_t::fini (void)
+void hb_ot_face_data_t::fini (void)
{
#define HB_OT_LAYOUT_TABLE(Namespace, Type) Type.fini ();
#define HB_OT_LAYOUT_ACCELERATOR(Namespace, Type) HB_OT_LAYOUT_TABLE (Namespace, Type)
@@ -62,7 +62,7 @@
if (unlikely (!data))
return nullptr;
- data->table.init0 (face);
+ data->init0 (face);
return data;
}
@@ -70,7 +70,7 @@
void
_hb_ot_face_data_destroy (hb_ot_face_data_t *data)
{
- data->table.fini ();
+ data->fini ();
free (data);
}