[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] parthw-wip 82571dc 2/4: [tfm] Improve `tfm_interface' defini
From: |
Parth Wazurkar |
Subject: |
[freetype2] parthw-wip 82571dc 2/4: [tfm] Improve `tfm_interface' definitions. |
Date: |
Sun, 5 Aug 2018 07:33:17 -0400 (EDT) |
branch: parthw-wip
commit 82571dc2c7a306e1f7efc5b90bdb9d627c130f12
Author: Parth Wazurkar <address@hidden>
Commit: Parth Wazurkar <address@hidden>
[tfm] Improve `tfm_interface' definitions.
---
src/tfm/tfmmod.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/tfm/tfmmod.c b/src/tfm/tfmmod.c
index f987fa4..4670249 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 =
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] parthw-wip 82571dc 2/4: [tfm] Improve `tfm_interface' definitions.,
Parth Wazurkar <=