OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftdebug.h */ | 3 /* ftdebug.h */ |
4 /* */ | 4 /* */ |
5 /* Debugging and logging component (specification). */ | 5 /* Debugging and logging component (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 1996-2002, 2004, 2006-2009, 2013 by */ | 7 /* Copyright 1996-2015 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 10 /* This file is part of the FreeType project, and may only be used, */ |
11 /* modified, and distributed under the terms of the FreeType project */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /* */ | 16 /* */ |
17 /* IMPORTANT: A description of FreeType's debugging support can be */ | 17 /* IMPORTANT: A description of FreeType's debugging support can be */ |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 /* C string, so do not free it after use. NULL if FreeType 2 is not */ | 133 /* C string, so do not free it after use. NULL if FreeType 2 is not */ |
134 /* built with FT_DEBUG_LEVEL_TRACE definition. */ | 134 /* built with FT_DEBUG_LEVEL_TRACE definition. */ |
135 /* */ | 135 /* */ |
136 /* <Note> */ | 136 /* <Note> */ |
137 /* Use @FT_Trace_Get_Count to get the number of available trace */ | 137 /* Use @FT_Trace_Get_Count to get the number of available trace */ |
138 /* components. */ | 138 /* components. */ |
139 /* */ | 139 /* */ |
140 /* This function may be useful if you want to control FreeType 2's */ | 140 /* This function may be useful if you want to control FreeType 2's */ |
141 /* debug level in your application. */ | 141 /* debug level in your application. */ |
142 /* */ | 142 /* */ |
143 FT_BASE( const char * ) | 143 FT_BASE( const char* ) |
144 FT_Trace_Get_Name( FT_Int idx ); | 144 FT_Trace_Get_Name( FT_Int idx ); |
145 | 145 |
146 | 146 |
147 /*************************************************************************/ | 147 /*************************************************************************/ |
148 /* */ | 148 /* */ |
149 /* You need two opening and closing parentheses! */ | 149 /* You need two opening and closing parentheses! */ |
150 /* */ | 150 /* */ |
151 /* Example: FT_TRACE0(( "Value is %i", foo )) */ | 151 /* Example: FT_TRACE0(( "Value is %i", foo )) */ |
152 /* */ | 152 /* */ |
153 /* Output of the FT_TRACEX macros is sent to stderr. */ | 153 /* Output of the FT_TRACEX macros is sent to stderr. */ |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 | 246 |
247 FT_BASE( void ) | 247 FT_BASE( void ) |
248 ft_debug_init( void ); | 248 ft_debug_init( void ); |
249 | 249 |
250 FT_END_HEADER | 250 FT_END_HEADER |
251 | 251 |
252 #endif /* __FTDEBUG_H__ */ | 252 #endif /* __FTDEBUG_H__ */ |
253 | 253 |
254 | 254 |
255 /* END */ | 255 /* END */ |
OLD | NEW |