summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParth Wazurkar <parthwazurkar@gmail.com>2018-08-05 16:57:35 +0530
committerParth Wazurkar <parthwazurkar@gmail.com>2018-08-05 16:57:35 +0530
commit82571dc2c7a306e1f7efc5b90bdb9d627c130f12 (patch)
treeb040e4db32a41fb86b0ea134a4af9a3ef449bdf9
parentca9e387ccb10625cd83605799da0c5d53486e2c1 (diff)
downloadfreetype2-82571dc2c7a306e1f7efc5b90bdb9d627c130f12.tar.gz
[tfm] Improve `tfm_interface' definitions.
-rw-r--r--src/tfm/tfmmod.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/tfm/tfmmod.c b/src/tfm/tfmmod.c
index f987fa4f4..4670249d5 100644
--- a/src/tfm/tfmmod.c
+++ b/src/tfm/tfmmod.c
@@ -21,14 +21,20 @@
#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 =