| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ftstdlib.h */ | 3 /* ftstdlib.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* ANSI-specific library and header configuration file (specification */ | 5 /* ANSI-specific library and header configuration file (specification */ |
| 6 /* only). */ | 6 /* only). */ |
| 7 /* */ | 7 /* */ |
| 8 /* Copyright 2002-2007, 2009, 2011 by */ | 8 /* Copyright 2002-2007, 2009, 2011-2012 by */ |
| 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 10 /* */ | 10 /* */ |
| 11 /* This file is part of the FreeType project, and may only be used, */ | 11 /* This file is part of the FreeType project, and may only be used, */ |
| 12 /* modified, and distributed under the terms of the FreeType project */ | 12 /* modified, and distributed under the terms of the FreeType project */ |
| 13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
| 14 /* this file you indicate that you have read the license and */ | 14 /* this file you indicate that you have read the license and */ |
| 15 /* understand and accept it fully. */ | 15 /* understand and accept it fully. */ |
| 16 /* */ | 16 /* */ |
| 17 /***************************************************************************/ | 17 /***************************************************************************/ |
| 18 | 18 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 /**********************************************************************/ | 152 /**********************************************************************/ |
| 153 | 153 |
| 154 | 154 |
| 155 #include <setjmp.h> | 155 #include <setjmp.h> |
| 156 | 156 |
| 157 #define ft_jmp_buf jmp_buf /* note: this cannot be a typedef since */ | 157 #define ft_jmp_buf jmp_buf /* note: this cannot be a typedef since */ |
| 158 /* jmp_buf is defined as a macro */ | 158 /* jmp_buf is defined as a macro */ |
| 159 /* on certain platforms */ | 159 /* on certain platforms */ |
| 160 | 160 |
| 161 #define ft_longjmp longjmp | 161 #define ft_longjmp longjmp |
| 162 #define ft_setjmp( b ) setjmp( *(jmp_buf*) &(b) ) /* same thing here */ | 162 #define ft_setjmp( b ) setjmp( *(ft_jmp_buf*) &(b) ) /* same thing here */ |
| 163 | 163 |
| 164 | 164 |
| 165 /* the following is only used for debugging purposes, i.e., if */ | 165 /* the following is only used for debugging purposes, i.e., if */ |
| 166 /* FT_DEBUG_LEVEL_ERROR or FT_DEBUG_LEVEL_TRACE are defined */ | 166 /* FT_DEBUG_LEVEL_ERROR or FT_DEBUG_LEVEL_TRACE are defined */ |
| 167 | 167 |
| 168 #include <stdarg.h> | 168 #include <stdarg.h> |
| 169 | 169 |
| 170 | 170 |
| 171 #endif /* __FTSTDLIB_H__ */ | 171 #endif /* __FTSTDLIB_H__ */ |
| 172 | 172 |
| 173 | 173 |
| 174 /* END */ | 174 /* END */ |
| OLD | NEW |