* src/base/ftcalc.c, include/freetype/internal/ftcalc.h


			
			
				LAYOUT
			
			
		
Werner Lemberg 21 years ago
parent ddf606b464
commit 29b5926b27
  1. 6
      ChangeLog
  2. 4
      include/freetype/internal/ftcalc.h
  3. 8
      src/base/ftcalc.c

@ -1,3 +1,9 @@
2003-11-25 Werner Lemberg <wl@gnu.org>
* src/base/ftcalc.c, include/freetype/internal/ftcalc.h
(FT_MulDiv_No_Round): Surround code with `#ifdef
TT_CONFIG_OPTION_BYTECODE_INTERPRETER ... #endif'.
2003-11-23 Werner Lemberg <wl@gnu.org>
* src/base/ftcalc.c (FT_MulDiv_No_Round): New function (32 and

@ -60,6 +60,8 @@ FT_BEGIN_HEADER
/*************************************************************************/
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
/*************************************************************************/
/* */
/* <Function> */
@ -88,6 +90,8 @@ FT_BEGIN_HEADER
FT_Long b,
FT_Long c );
#endif /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
#define INT_TO_F26DOT6( x ) ( (FT_Long)(x) << 6 )
#define INT_TO_F2DOT14( x ) ( (FT_Long)(x) << 14 )

@ -155,6 +155,8 @@
}
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
/* documentation is in ftcalc.h */
FT_BASE_DEF( FT_Long )
@ -177,6 +179,8 @@
return ( s > 0 ) ? d : -d;
}
#endif /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
/* documentation is in freetype.h */
@ -347,6 +351,8 @@
}
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
FT_BASE_DEF( FT_Long )
FT_MulDiv_No_Round( FT_Long a,
FT_Long b,
@ -379,6 +385,8 @@
return ( s < 0 ? -a : a );
}
#endif /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
/* documentation is in freetype.h */

Loading…
Cancel
Save