diff options
author | Werner Lemberg <wl@gnu.org> | 2023-05-07 20:26:12 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2023-05-07 20:26:12 +0200 |
commit | 669b7f7d6b924c11e30b0459eba911d29194a542 (patch) | |
tree | 380e23ab8f4d036cdd1ed5ac74c2b755b168a6e8 /src/pshinter/pshmod.c | |
parent | 274e0dd5b5f4144956b9967c1c0e861053805984 (diff) | |
download | freetype2-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.c | 9 |
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; |