diff options
author | Parth Wazurkar <parthwazurkar@gmail.com> | 2018-08-08 09:54:58 +0530 |
---|---|---|
committer | Parth Wazurkar <parthwazurkar@gmail.com> | 2018-08-08 09:54:58 +0530 |
commit | 903a0662147edfca8e04c21ea1641d66bcb11ff8 (patch) | |
tree | f80672247f216faceeec0a0513dbae166d9d8786 | |
parent | 8d32347f7846f9c0cde1744af82bb775b476c40d (diff) | |
download | freetype2-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.c | 9 |
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 = |