From 903a0662147edfca8e04c21ea1641d66bcb11ff8 Mon Sep 17 00:00:00 2001 From: Parth Wazurkar Date: Wed, 8 Aug 2018 09:54:58 +0530 Subject: [PATCH] [tfm] Modify `tfm_interface' definition. * src/tfm/tfmmod.c: Add `TFM_Parser_FuncsRec' implementation in `tfm_interface'. --- src/tfm/tfmmod.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 =