freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 59e0c6f 2/2: * include/freetype/ftmodapi.h (FT_DebugH


From: Alexei Podtelezhnikov
Subject: [freetype2] master 59e0c6f 2/2: * include/freetype/ftmodapi.h (FT_DebugHook_Func): Return error.
Date: Wed, 12 Jun 2019 22:31:30 -0400 (EDT)

branch: master
commit 59e0c6f92e142bb8b5c13a3303a1d7428e09a9bc
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>

    * 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.
---
 ChangeLog                   | 7 +++++++
 include/freetype/ftmodapi.h | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 78d99e1..f5bd68f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2019-06-12  Alexei Podtelezhnikov  <address@hidden>
+
+       * 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  <address@hidden>
 
        * src/truetype/ttobjs.c (tt_check_trickyness_family): Add `const'.
diff --git a/include/freetype/ftmodapi.h b/include/freetype/ftmodapi.h
index 88488bf..8d039c4 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 );
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]