summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParth Wazurkar <parthwazurkar@gmail.com>2018-08-08 09:54:58 +0530
committerParth Wazurkar <parthwazurkar@gmail.com>2018-08-08 09:54:58 +0530
commit903a0662147edfca8e04c21ea1641d66bcb11ff8 (patch)
treef80672247f216faceeec0a0513dbae166d9d8786
parent8d32347f7846f9c0cde1744af82bb775b476c40d (diff)
downloadfreetype2-903a0662147edfca8e04c21ea1641d66bcb11ff8.tar.gz
[tfm] Modify `tfm_interface' definition.
* src/tfm/tfmmod.c: Add `TFM_Parser_FuncsRec' implementation in `tfm_interface'.
-rw-r--r--src/tfm/tfmmod.c9
1 files 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 =