formatting

This commit is contained in:
Werner Lemberg 2005-11-16 18:09:27 +00:00
parent f7cc181425
commit 674ba91f12
2 changed files with 11 additions and 14 deletions

View File

@ -1,11 +1,11 @@
2005-11-15 David Turner <david@freetype.org>
* src/base/fttrigon.c (ft_trig_prenorm): fixed a bug that created
* src/base/fttrigon.c (ft_trig_prenorm): Fix a bug that created
invalid computations, resulting in very weird bugs in TrueType
bytecode hinted fonts
bytecode hinted fonts.
* src/truetype/ttinterp.c: redefined FT_UNUSED_EXEC to not perform
a structure copy each time. Wooot. !
* src/truetype/ttinterp.c (FT_UNUSED_EXEC): Don't perform a
structure copy each time.
2005-11-11 Werner Lemberg <wl@gnu.org>

View File

@ -94,13 +94,18 @@
#define CUR (*exc) /* see ttobjs.h */
#define FT_UNUSED_EXEC FT_UNUSED(exc)
/*************************************************************************/
/* */
/* This macro is used whenever `exec' is unused in a function, to avoid */
/* stupid warnings from pedantic compilers. */
/* */
#define FT_UNUSED_EXEC FT_UNUSED( exc )
#else /* static implementation */
#define CUR cur
#define FT_UNUSED_EXEC int __dummy=__dummy
#define FT_UNUSED_EXEC int __dummy = __dummy
static
TT_ExecContextRec cur; /* static exec. context variable */
@ -119,14 +124,6 @@
#define INS_ARG EXEC_OP_ FT_Long* args /* see ttobjs.h for EXEC_OP_ */
/*************************************************************************/
/* */
/* This macro is used whenever `exec' is unused in a function, to avoid */
/* stupid warnings from pedantic compilers. */
/* */
/* #define FT_UNUSED_EXEC FT_UNUSED( CUR ) */
/*************************************************************************/
/* */
/* This macro is used whenever `args' is unused in a function, to avoid */