diff --git a/src/tfm/tfmmod.c b/src/tfm/tfmmod.c index f987fa4f4..c4e882543 100644 --- a/src/tfm/tfmmod.c +++ b/src/tfm/tfmmod.c @@ -21,14 +21,19 @@ #include "tfmobjs.h" - static - const TFM_Interface tfm_interface = + FT_CALLBACK_TABLE_DEF + const TFM_Parser_FuncsRec tfm_parser_funcs = { tfm_init, /* init */ tfm_parse_metrics, /* parse metrics */ tfm_close, /* done */ }; + static + const TFM_Interface tfm_interface = + { + &tfm_parser_funcs, + }; FT_CALLBACK_TABLE_DEF const FT_Module_Class tfm_module_class =