diff options
Diffstat (limited to 'src/sfnt/sferrors.h')
-rw-r--r-- | src/sfnt/sferrors.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/sfnt/sferrors.h b/src/sfnt/sferrors.h new file mode 100644 index 000000000..776e11558 --- /dev/null +++ b/src/sfnt/sferrors.h @@ -0,0 +1,42 @@ +/***************************************************************************/ +/* */ +/* sferrors.h */ +/* */ +/* SFNT error codes (specification only). */ +/* */ +/* Copyright 2001 by */ +/* David Turner, Robert Wilhelm, and Werner Lemberg. */ +/* */ +/* This file is part of the FreeType project, and may only be used, */ +/* modified, and distributed under the terms of the FreeType project */ +/* license, LICENSE.TXT. By continuing to use, modify, or distribute */ +/* this file you indicate that you have read the license and */ +/* understand and accept it fully. */ +/* */ +/***************************************************************************/ + + + /*************************************************************************/ + /* */ + /* This file is used to define the SFNT error enumeration constants. */ + /* */ + /*************************************************************************/ + +#ifndef __SFERRORS_H__ +#define __SFERRORS_H__ + +#include FT_MODULE_ERRORS_H + +#undef __FTERRORS_H__ + +#define FT_ERRORDEF( e, v, s ) SFNT_Err_ ## e = v + FT_Mod_Err_SFNT, +#define FT_NOERRORDEF( e, v, s ) SFNT_Err_ ## e = v, + +#define FT_ERROR_START_LIST enum { +#define FT_ERROR_END_LIST SFNT_Err_Max }; + +#include FT_ERRORS_H + +#endif /* __SFERRORS_H__ */ + +/* END */ |