diff options
author | Werner Lemberg <wl@gnu.org> | 2020-12-07 10:27:42 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2020-12-07 10:27:42 +0100 |
commit | 015a9b8d8f6f4e775ff40581e8ac7a0116174b04 (patch) | |
tree | 0b6a81c897fee0a5b056d239d41168ed683aed0d /include/freetype/internal | |
parent | 9f94d8533cefa8a023a0b81633032fe0aaea08fb (diff) | |
download | freetype2-015a9b8d8f6f4e775ff40581e8ac7a0116174b04.tar.gz |
*/*: s/FT_LOGGING/FT_DEBUG_LOGGING/.
Diffstat (limited to 'include/freetype/internal')
-rw-r--r-- | include/freetype/internal/ftdebug.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/include/freetype/internal/ftdebug.h b/include/freetype/internal/ftdebug.h index 9d83f9757..655b50abd 100644 --- a/include/freetype/internal/ftdebug.h +++ b/include/freetype/internal/ftdebug.h @@ -31,20 +31,20 @@ #include "compiler-macros.h" -#ifdef FT_LOGGING +#ifdef FT_DEBUG_LOGGING #include <../src/dlg/dlg/dlg.h> #include <../src/dlg/dlg/output.h> #include <freetype/ftlogging.h> -#endif /* FT_LOGGING */ +#endif /* FT_DEBUG_LOGGING */ FT_BEGIN_HEADER - /* force the definition of FT_DEBUG_LEVEL_TRACE if FT_LOGGING is */ - /* already defined. */ - /* */ -#ifdef FT_LOGGING + /* force the definition of FT_DEBUG_LEVEL_TRACE if FT_DEBUG_LOGGING is */ + /* already defined. */ + /* */ +#ifdef FT_DEBUG_LOGGING #undef FT_DEBUG_LEVEL_TRACE #define FT_DEBUG_LEVEL_TRACE #endif @@ -104,11 +104,11 @@ FT_BEGIN_HEADER /************************************************************************* * - * If FT_LOGGING is enabled, tracing messages are sent to dlg's API. - * If FT_LOGGING is disabled, tracing messages are sent to `FT_Message` - * (defined in ftdebug.c). + * If FT_DEBUG_LOGGING is enabled, tracing messages are sent to dlg's API. + * If FT_DEBUG_LOGGING is disabled, tracing messages are sent to + * `FT_Message` (defined in ftdebug.c). */ -#ifdef FT_LOGGING +#ifdef FT_DEBUG_LOGGING /* we need two macros to convert the names of `FT_COMPONENT` to a string */ #define FT_LOGGING_TAG( x ) FT_LOGGING_TAG_( x ) @@ -132,7 +132,7 @@ FT_BEGIN_HEADER ft_remove_tag( dlg_tag ); \ } while( 0 ) -#else /* !FT_LOGGING */ +#else /* !FT_DEBUG_LOGGING */ #define FT_LOG( level, varformat ) \ do \ @@ -141,7 +141,7 @@ FT_BEGIN_HEADER FT_Message varformat; \ } while ( 0 ) -#endif /* !FT_LOGGING */ +#endif /* !FT_DEBUG_LOGGING */ #ifdef FT_DEBUG_LEVEL_TRACE @@ -259,14 +259,14 @@ FT_BEGIN_HEADER #ifdef FT_DEBUG_LEVEL_ERROR - /************************************************************************* + /************************************************************************** * - * If FT_LOGGING is enabled, error messages are sent to dlg's API. - * If FT_LOGGING is disabled, error messages are sent to `FT_Message` + * If FT_DEBUG_LOGGING is enabled, error messages are sent to dlg's API. + * If FT_DEBUG_LOGGING is disabled, error messages are sent to `FT_Message` * (defined in ftdebug.c). * */ -#ifdef FT_LOGGING +#ifdef FT_DEBUG_LOGGING #define FT_ERROR( varformat ) \ do \ @@ -279,11 +279,11 @@ FT_BEGIN_HEADER ft_remove_tag( dlg_tag ); \ } while ( 0 ) -#else /* !FT_LOGGING */ +#else /* !FT_DEBUG_LOGGING */ #define FT_ERROR( varformat ) FT_Message varformat -#endif /* !FT_LOGGING */ +#endif /* !FT_DEBUG_LOGGING */ #else /* !FT_DEBUG_LEVEL_ERROR */ @@ -358,7 +358,7 @@ FT_BEGIN_HEADER ft_debug_init( void ); -#ifdef FT_LOGGING +#ifdef FT_DEBUG_LOGGING /************************************************************************** * @@ -388,7 +388,7 @@ FT_BEGIN_HEADER /************************************************************************** * - * If FT_LOGGING macro is enabled, FreeType needs to initialize and + * If FT_DEBUG_LOGGING macro is enabled, FreeType needs to initialize and * un-initialize `FILE*`. * * These functions are defined in `ftdebug.c`. @@ -425,7 +425,7 @@ FT_BEGIN_HEADER FT_Logging_Callback( const char* fmt, ... ); -#endif /* FT_LOGGING */ +#endif /* FT_DEBUG_LOGGING */ FT_END_HEADER |