summaryrefslogtreecommitdiff
path: root/src/pshinter/pshmod.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2023-05-07 20:26:12 +0200
committerWerner Lemberg <wl@gnu.org>2023-05-07 20:26:12 +0200
commit669b7f7d6b924c11e30b0459eba911d29194a542 (patch)
tree380e23ab8f4d036cdd1ed5ac74c2b755b168a6e8 /src/pshinter/pshmod.c
parent274e0dd5b5f4144956b9967c1c0e861053805984 (diff)
downloadfreetype2-669b7f7d6b924c11e30b0459eba911d29194a542.tar.gz
[pshinter] Signature fixes.
* src/pshinter/pshrec.c (t1_hints_close, t1_hints_apply): New wrapper functions. (t1_hints_funcs_init): Use them. (t2_hints_close, t2_hints_apply): New wrapper functions. (t2_hints_funcs_init): Use them.
Diffstat (limited to 'src/pshinter/pshmod.c')
-rw-r--r--src/pshinter/pshmod.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/pshinter/pshmod.c b/src/pshinter/pshmod.c
index a12e48566..974a99e01 100644
--- a/src/pshinter/pshmod.c
+++ b/src/pshinter/pshmod.c
@@ -37,8 +37,11 @@
/* finalize module */
FT_CALLBACK_DEF( void )
- ps_hinter_done( PS_Hinter_Module module )
+ ps_hinter_done( FT_Module module_ ) /* PS_Hinter_Module */
{
+ PS_Hinter_Module module = (PS_Hinter_Module)module_;
+
+
module->t1_funcs.hints = NULL;
module->t2_funcs.hints = NULL;
@@ -48,8 +51,10 @@
/* initialize module, create hints recorder and the interface */
FT_CALLBACK_DEF( FT_Error )
- ps_hinter_init( PS_Hinter_Module module )
+ ps_hinter_init( FT_Module module_ ) /* PS_Hinter_Module */
{
+ PS_Hinter_Module module = (PS_Hinter_Module)module_;
+
FT_Memory memory = module->root.memory;
void* ph = &module->ps_hints;