shithub: freetype+ttf2subf

Download patch

ref: faf34d29e222598a392ad65858813d161ebd50ac
parent: dcd8de272f940065b6a326b16518e3e5acb695a6
author: Werner Lemberg <[email protected]>
date: Fri Jun 9 16:31:24 EDT 2017

Remove unused macros.

* include/freetype/internal/ftcalc.h (ADD_INT, SUB_INT, MUL_INT,
NEG_INT): Deleted.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-06-09  Werner Lemberg  <[email protected]>
 
+	Remove unused macros.
+
+	* include/freetype/internal/ftcalc.h (ADD_INT, SUB_INT, MUL_INT,
+	NEG_INT): Deleted.
+
+2017-06-09  Werner Lemberg  <[email protected]>
+
 	*/*: Remove `OVERFLOW_' prefix.
 
 	This increases readability.
--- a/include/freetype/internal/ftcalc.h
+++ b/include/freetype/internal/ftcalc.h
@@ -417,15 +417,6 @@
    *
    *  Use with care!
    */
-#define ADD_INT( a, b )                           \
-          (FT_Int)( (FT_UInt)(a) + (FT_UInt)(b) )
-#define SUB_INT( a, b )                           \
-          (FT_Int)( (FT_UInt)(a) - (FT_UInt)(b) )
-#define MUL_INT( a, b )                           \
-          (FT_Int)( (FT_UInt)(a) * (FT_UInt)(b) )
-#define NEG_INT( a )                              \
-          (FT_Int)( -(FT_UInt)(a) )
-
 #define ADD_LONG( a, b )                             \
           (FT_Long)( (FT_ULong)(a) + (FT_ULong)(b) )
 #define SUB_LONG( a, b )                             \