ReactOS 0.4.16-dev-1063-gd722e70
fterrors.c File Reference
#include <ft2build.h>
Include dependency graph for fterrors.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 FT_Error_String (FT_Error error_code)
 

Function Documentation

◆ FT_Error_String()

FT_Error_String ( FT_Error  error_code)

Definition at line 26 of file fterrors.c.

27 {
28 if ( error_code < 0 ||
30 return NULL;
31
32#if defined( FT_CONFIG_OPTION_ERROR_STRINGS ) || \
33 defined( FT_DEBUG_LEVEL_ERROR )
34
35#undef FTERRORS_H_
36#define FT_ERROR_START_LIST switch ( FT_ERROR_BASE( error_code ) ) {
37#define FT_ERRORDEF( e, v, s ) case v: return s;
38#define FT_ERROR_END_LIST }
39
40#include FT_ERRORS_H
41
42#endif /* defined( FT_CONFIG_OPTION_ERROR_STRINGS ) || ... */
43
44 return NULL;
45 }
#define Max(a, b)
Definition: cdprocs.h:78
#define NULL
Definition: types.h:112
#define FT_ERR_PREFIX
Definition: fterrors.h:146
#define FT_ERR_CAT(x, y)
Definition: fttypes.h:595
static int error_code[8]
Definition: odbccp32.c:61