diff options
Diffstat (limited to 'include/freetype/fttypes.h')
-rw-r--r-- | include/freetype/fttypes.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/freetype/fttypes.h b/include/freetype/fttypes.h index bd944a4..9f10b27 100644 --- a/include/freetype/fttypes.h +++ b/include/freetype/fttypes.h @@ -473,12 +473,12 @@ FT_BEGIN_HEADER /* The produced values *must* be 32-bit integers. Don't redefine */ /* this macro. */ /* */ -#define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) \ +#define FT_MAKE_TAG(_x1, _x2, _x3, _x4) \ (FT_Tag) \ - ( ( (FT_ULong)_x1 << 24 ) | \ - ( (FT_ULong)_x2 << 16 ) | \ - ( (FT_ULong)_x3 << 8 ) | \ - (FT_ULong)_x4 ) + (((FT_ULong)_x1 << 24) | \ + ((FT_ULong)_x2 << 16) | \ + ((FT_ULong)_x3 << 8) | \ + (FT_ULong)_x4 ) /*************************************************************************/ @@ -570,24 +570,24 @@ FT_BEGIN_HEADER /* */ -#define FT_IS_EMPTY( list ) ( (list).head == 0 ) -#define FT_BOOL( x ) ( (FT_Bool)( x ) ) +#define FT_IS_EMPTY(list) ((list).head == 0) +#define FT_BOOL(x) ((FT_Bool)(x)) /* concatenate C tokens */ -#define FT_ERR_XCAT( x, y ) x ## y -#define FT_ERR_CAT( x, y ) FT_ERR_XCAT( x, y ) +#define FT_ERR_XCAT(x, y) x ## y +#define FT_ERR_CAT(x, y) FT_ERR_XCAT(x, y) /* see `ftmoderr.h' for descriptions of the following macros */ -#define FT_ERR( e ) FT_ERR_CAT( FT_ERR_PREFIX, e ) +#define FT_ERR(e) FT_ERR_CAT(FT_ERR_PREFIX, e) -#define FT_ERROR_BASE( x ) ( (x) & 0xFF ) -#define FT_ERROR_MODULE( x ) ( (x) & 0xFF00U ) +#define FT_ERROR_BASE(x) ((x) & 0xFF) +#define FT_ERROR_MODULE(x) ((x) & 0xFF00U) -#define FT_ERR_EQ( x, e ) \ - ( FT_ERROR_BASE( x ) == FT_ERROR_BASE( FT_ERR( e ) ) ) -#define FT_ERR_NEQ( x, e ) \ - ( FT_ERROR_BASE( x ) != FT_ERROR_BASE( FT_ERR( e ) ) ) +#define FT_ERR_EQ(x, e) \ + (FT_ERROR_BASE(x) == FT_ERROR_BASE(FT_ERR(e))) +#define FT_ERR_NEQ(x, e) \ + (FT_ERROR_BASE(x) != FT_ERROR_BASE(FT_ERR(e))) FT_END_HEADER |