Remove unused macros.

* include/freetype/internal/ftcalc.h (ADD_INT, SUB_INT, MUL_INT,
NEG_INT): Deleted.
This commit is contained in:
Werner Lemberg 2017-06-09 20:31:24 +02:00
parent dcd8de272f
commit faf34d29e2
2 changed files with 7 additions and 9 deletions

View File

@ -1,3 +1,10 @@
2017-06-09 Werner Lemberg <wl@gnu.org>
Remove unused macros.
* include/freetype/internal/ftcalc.h (ADD_INT, SUB_INT, MUL_INT,
NEG_INT): Deleted.
2017-06-09 Werner Lemberg <wl@gnu.org>
*/*: Remove `OVERFLOW_' prefix.

View File

@ -417,15 +417,6 @@ FT_BEGIN_HEADER
*
* 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 ) \