OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* cf2error.h */ | 3 /* cf2error.h */ |
4 /* */ | 4 /* */ |
5 /* Adobe's code for error handling (specification). */ | 5 /* Adobe's code for error handling (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2006-2013 Adobe Systems Incorporated. */ | 7 /* Copyright 2006-2013 Adobe Systems Incorporated. */ |
8 /* */ | 8 /* */ |
9 /* This software, and all works of authorship, whether in source or */ | 9 /* This software, and all works of authorship, whether in source or */ |
10 /* object code form as indicated by the copyright notice(s) included */ | 10 /* object code form as indicated by the copyright notice(s) included */ |
(...skipping 22 matching lines...) Expand all Loading... |
33 /* FreeType Project License as well as those provided in this section, */ | 33 /* FreeType Project License as well as those provided in this section, */ |
34 /* and you accept them fully. */ | 34 /* and you accept them fully. */ |
35 /* */ | 35 /* */ |
36 /***************************************************************************/ | 36 /***************************************************************************/ |
37 | 37 |
38 | 38 |
39 #ifndef __CF2ERROR_H__ | 39 #ifndef __CF2ERROR_H__ |
40 #define __CF2ERROR_H__ | 40 #define __CF2ERROR_H__ |
41 | 41 |
42 | 42 |
43 #include "../../include/freetype/ftmoderr.h" | 43 #include FT_MODULE_ERRORS_H |
44 | 44 |
45 #undef __FTERRORS_H__ | 45 #undef __FTERRORS_H__ |
46 | 46 |
47 #undef FT_ERR_PREFIX | 47 #undef FT_ERR_PREFIX |
48 #define FT_ERR_PREFIX CF2_Err_ | 48 #define FT_ERR_PREFIX CF2_Err_ |
49 #define FT_ERR_BASE FT_Mod_Err_CF2 | 49 #define FT_ERR_BASE FT_Mod_Err_CF2 |
50 | 50 |
51 | 51 |
52 #include "../../include/freetype/fterrors.h" | 52 #include FT_ERRORS_H |
53 #include "cf2ft.h" | 53 #include "cf2ft.h" |
54 | 54 |
55 | 55 |
56 FT_BEGIN_HEADER | 56 FT_BEGIN_HEADER |
57 | 57 |
58 | 58 |
59 /* | 59 /* |
60 * A poor-man error facility. | 60 * A poor-man error facility. |
61 * | 61 * |
62 * This code being written in vanilla C, doesn't have the luxury of a | 62 * This code being written in vanilla C, doesn't have the luxury of a |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 cf2_setError( error, FT_THROW( e ) ) | 110 cf2_setError( error, FT_THROW( e ) ) |
111 | 111 |
112 | 112 |
113 FT_END_HEADER | 113 FT_END_HEADER |
114 | 114 |
115 | 115 |
116 #endif /* __CF2ERROR_H__ */ | 116 #endif /* __CF2ERROR_H__ */ |
117 | 117 |
118 | 118 |
119 /* END */ | 119 /* END */ |
OLD | NEW |