* include/freetype/ftmodapi.h (FT_DebugHook_Func): Return error.

Fix a warning by adding a return value as in `TT_RunIns',
which should not be a compatibility issue.
This commit is contained in:
Alexei Podtelezhnikov 2019-06-12 22:30:21 -04:00
parent bdac4cbe6f
commit 59e0c6f92e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2019-06-12 Alexei Podtelezhnikov <apodtele@gmail.com>
* include/freetype/ftmodapi.h (FT_DebugHook_Func): Return error.
Fix a warning by adding a return value as in `TT_RunIns',
which should not be a compatibility issue.
2019-06-11 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/truetype/ttobjs.c (tt_check_trickyness_family): Add `const'.

View File

@ -623,7 +623,7 @@ FT_BEGIN_HEADER
* it is bytecode interpreter's execution context, `TT_ExecContext`,
* which is declared in FreeType's internal header file `tttypes.h`.
*/
typedef void
typedef FT_Error
(*FT_DebugHook_Func)( void* arg );