2006-10-03 Jens Claudius <jens.claudius@yahoo.com>
* include/freetype/config/ftstdlib.h: Cast away volatileness from argument to ft_setjmp. * include/freetype/internal/ftvalid.h: Add comment that ft_validator_run must not be used.
This commit is contained in:
parent
046bf8b0cc
commit
336d229f02
|
@ -1,3 +1,11 @@
|
|||
2006-10-03 Jens Claudius <jens.claudius@yahoo.com>
|
||||
|
||||
* include/freetype/config/ftstdlib.h: Cast away volatileness from
|
||||
argument to ft_setjmp.
|
||||
|
||||
* include/freetype/internal/ftvalid.h: Add comment that
|
||||
ft_validator_run must not be used.
|
||||
|
||||
2006-10-01 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/base/ftbase.c: Undo change from 2006-09-30.
|
||||
|
|
|
@ -168,12 +168,12 @@
|
|||
|
||||
#include <setjmp.h>
|
||||
|
||||
#define ft_jmp_buf jmp_buf /* note: this cannot be a typedef since */
|
||||
/* jmp_buf is defined as a macro */
|
||||
/* on certain platforms */
|
||||
#define ft_jmp_buf jmp_buf /* note: this cannot be a typedef since */
|
||||
/* jmp_buf is defined as a macro */
|
||||
/* on certain platforms */
|
||||
|
||||
#define ft_longjmp longjmp /* likewise */
|
||||
#define ft_setjmp setjmp /* same thing here */
|
||||
#define ft_longjmp longjmp
|
||||
#define ft_setjmp( b ) setjmp( *(jmp_buf*) &(b) ) /* same thing here */
|
||||
|
||||
|
||||
/* the following is only used for debugging purposes, i.e., if */
|
||||
|
|
|
@ -98,6 +98,8 @@ FT_BEGIN_HEADER
|
|||
const FT_Byte* limit,
|
||||
FT_ValidationLevel level );
|
||||
|
||||
/* Do not use this. It's broken and will cause your validator to crash */
|
||||
/* if you run it on an invalid font. */
|
||||
FT_BASE( FT_Int )
|
||||
ft_validator_run( FT_Validator valid );
|
||||
|
||||
|
|
Loading…
Reference in New Issue