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, 2003, 2004, 2005, 2006, 2007, 2009 by */ | 8 /* Copyright 2002-2007, 2009, 2011 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 /* about the correct behaviour of FT2 with all fonts. */ | 52 /* about the correct behaviour of FT2 with all fonts. */ |
53 /* */ | 53 /* */ |
54 /* In these case, `ftconfig.h' will refuse to compile anyway with a */ | 54 /* In these case, `ftconfig.h' will refuse to compile anyway with a */ |
55 /* message like `couldn't find 32-bit type' or something similar. */ | 55 /* message like `couldn't find 32-bit type' or something similar. */ |
56 /* */ | 56 /* */ |
57 /**********************************************************************/ | 57 /**********************************************************************/ |
58 | 58 |
59 | 59 |
60 #include <limits.h> | 60 #include <limits.h> |
61 | 61 |
62 #define FT_CHAR_BIT CHAR_BIT | 62 #define FT_CHAR_BIT CHAR_BIT |
63 #define FT_INT_MAX INT_MAX | 63 #define FT_USHORT_MAX USHRT_MAX |
64 #define FT_INT_MIN INT_MIN | 64 #define FT_INT_MAX INT_MAX |
65 #define FT_UINT_MAX UINT_MAX | 65 #define FT_INT_MIN INT_MIN |
66 #define FT_ULONG_MAX ULONG_MAX | 66 #define FT_UINT_MAX UINT_MAX |
| 67 #define FT_ULONG_MAX ULONG_MAX |
67 | 68 |
68 | 69 |
69 /**********************************************************************/ | 70 /**********************************************************************/ |
70 /* */ | 71 /* */ |
71 /* character and string processing */ | 72 /* character and string processing */ |
72 /* */ | 73 /* */ |
73 /**********************************************************************/ | 74 /**********************************************************************/ |
74 | 75 |
75 | 76 |
76 #include <string.h> | 77 #include <string.h> |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 /* the following is only used for debugging purposes, i.e., if */ | 165 /* the following is only used for debugging purposes, i.e., if */ |
165 /* FT_DEBUG_LEVEL_ERROR or FT_DEBUG_LEVEL_TRACE are defined */ | 166 /* FT_DEBUG_LEVEL_ERROR or FT_DEBUG_LEVEL_TRACE are defined */ |
166 | 167 |
167 #include <stdarg.h> | 168 #include <stdarg.h> |
168 | 169 |
169 | 170 |
170 #endif /* __FTSTDLIB_H__ */ | 171 #endif /* __FTSTDLIB_H__ */ |
171 | 172 |
172 | 173 |
173 /* END */ | 174 /* END */ |
OLD | NEW |