diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2019-06-12 22:30:21 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2019-06-12 22:30:21 -0400 |
commit | 59e0c6f92e142bb8b5c13a3303a1d7428e09a9bc (patch) | |
tree | 499f92f71521390abdac84def0ea31e3bea8144b | |
parent | bdac4cbe6fb77108a753be859fe73579c5cddc97 (diff) | |
download | freetype2-59e0c6f92e142bb8b5c13a3303a1d7428e09a9bc.tar.gz |
* 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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | include/freetype/ftmodapi.h | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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'. diff --git a/include/freetype/ftmodapi.h b/include/freetype/ftmodapi.h index 88488bfe8..8d039c4f3 100644 --- a/include/freetype/ftmodapi.h +++ b/include/freetype/ftmodapi.h @@ -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 ); |