[tfm] Modify `tfm_interface' definition.

* src/tfm/tfmmod.c: Add `TFM_Parser_FuncsRec' implementation
in `tfm_interface'.
This commit is contained in:
Parth Wazurkar 2018-08-08 09:54:58 +05:30
parent 8d32347f78
commit 903a066214
1 changed files with 7 additions and 2 deletions

View File

@ -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 =