formatting

This commit is contained in:
Werner Lemberg 2002-04-18 14:26:29 +00:00
parent f574960899
commit 67ffd8cd19
3 changed files with 20 additions and 25 deletions

View File

@ -1,26 +1,15 @@
2002-04-18 David Turner <david@freetype.org> 2002-04-18 David Turner <david@freetype.org>
* src/base/ftobjs.c, builds/win32/ftdebug.c, * src/base/ftobjs.c, builds/win32/ftdebug.c,
builds/amiga/src/base/ftdebug.c : builds/amiga/src/base/ftdebug.c: Version 2.1.0 couldn't be linked
against applications in Win32 and Amiga builds due to changes to
2.1.0 couldn't be linked against applications in Win32 and "src/base/ftdebug.c" that were not properly propagated to
Amiga builds due to changes to "src/base/ftdebug.c" that "builds/win32" and "builds/amiga". This has been fixed.
were not properly propagated to "builds/win32" and
"builds/amiga"..
this has been fixed. We'll probably make 2.1.1 real
soon now..
* include/freetype/internal/ftobject.h, * include/freetype/internal/ftobject.h,
include/freetype/internal/ftexcept.h, include/freetype/internal/ftexcept.h, include/freetype/ftsysmem.h,
include/freetype/ftsysmem.h, include/freetype/ftsysio.h, src/base/ftsysmem.c, src/base/ftsysio.c:
include/freetype/ftsysio.h, New experimental files for.
src/base/ftsysmem.c,
src/base/ftsysio.c:
adding new experimental files for 2.1.1 (or 2.1.2)
2002-04-17 David Turner <david@freetype.org> 2002-04-17 David Turner <david@freetype.org>

View File

@ -101,6 +101,7 @@ extern void __stdargs KVPrintF( const char *formatString, const void *values );
{ {
const char* ft2_debug = getenv( "FT2_DEBUG" ); const char* ft2_debug = getenv( "FT2_DEBUG" );
if ( ft2_debug ) if ( ft2_debug )
{ {
const char* p = ft2_debug; const char* p = ft2_debug;
@ -167,14 +168,17 @@ extern void __stdargs KVPrintF( const char *formatString, const void *values );
} }
} }
#else /* !FT_DEBUG_LEVEL_TRACE */ #else /* !FT_DEBUG_LEVEL_TRACE */
FT_BASE_DEF( void ) FT_BASE_DEF( void )
ft_debug_init( void ) ft_debug_init( void )
{ {
/* nothing */ /* nothing */
} }
#endif /* !FT_DEBUG_LEVEL_TRACE */ #endif /* !FT_DEBUG_LEVEL_TRACE */

View File

@ -4,7 +4,7 @@
/* */ /* */
/* Debugging and logging component for Win32 (body). */ /* Debugging and logging component for Win32 (body). */
/* */ /* */
/* Copyright 1996-2001 by */ /* Copyright 1996-2001, 2002 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
@ -85,11 +85,9 @@
} }
#ifdef FT_DEBUG_LEVEL_TRACE #ifdef FT_DEBUG_LEVEL_TRACE
/* array of trace levels, initialized to 0 */ /* array of trace levels, initialized to 0 */
int ft_trace_levels[trace_count]; int ft_trace_levels[trace_count];
@ -128,6 +126,7 @@
{ {
const char* ft2_debug = getenv( "FT2_DEBUG" ); const char* ft2_debug = getenv( "FT2_DEBUG" );
if ( ft2_debug ) if ( ft2_debug )
{ {
const char* p = ft2_debug; const char* p = ft2_debug;
@ -194,14 +193,17 @@
} }
} }
#else /* !FT_DEBUG_LEVEL_TRACE */ #else /* !FT_DEBUG_LEVEL_TRACE */
FT_BASE_DEF( void ) FT_BASE_DEF( void )
ft_debug_init( void ) ft_debug_init( void )
{ {
/* nothing */ /* nothing */
} }
#endif /* !FT_DEBUG_LEVEL_TRACE */ #endif /* !FT_DEBUG_LEVEL_TRACE */