ref: 59e0c6f92e142bb8b5c13a3303a1d7428e09a9bc
parent: bdac4cbe6fb77108a753be859fe73579c5cddc97
author: Alexei Podtelezhnikov <[email protected]>
date: Wed Jun 12 18:30:21 EDT 2019
* 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.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2019-06-12 Alexei Podtelezhnikov <[email protected]>
+
+ * 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 <[email protected]>
* src/truetype/ttobjs.c (tt_check_trickyness_family): Add `const'.
--- a/include/freetype/ftmodapi.h
+++ b/include/freetype/ftmodapi.h
@@ -623,7 +623,7 @@
* 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 );