00a2207fd8
by introducing another layer. * include/freetype/fterrors.h (FT_ERRORDEF_, FT_NOERRORDEF_): New macros. (FT_NOERRORDEF): Removed. * include/*/*err*.h: Use FT_ERRORDEF_ and FT_NOERRORDEF_.
47 lines
2.1 KiB
C
47 lines
2.1 KiB
C
/***************************************************************************/
|
|
/* */
|
|
/* rasterrs.h */
|
|
/* */
|
|
/* monochrome renderer 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 monochrome renderer error enumeration */
|
|
/* constants. */
|
|
/* */
|
|
/*************************************************************************/
|
|
|
|
#ifndef __RASTERRS_H__
|
|
#define __RASTERRS_H__
|
|
|
|
#include FT_MODULE_ERRORS_H
|
|
|
|
#undef __FTERRORS_H__
|
|
|
|
#define FT_ERRORDEF_( e, v, s ) \
|
|
FT_ERRORDEF( Raster_Err_ ## e, v + FT_Mod_Err_Raster, s )
|
|
#define FT_NOERRORDEF_( e, v, s ) \
|
|
FT_ERRORDEF( Raster_Err_ ## e, v, s )
|
|
|
|
#define FT_ERROR_START_LIST enum {
|
|
#define FT_ERROR_END_LIST Raster_Err_Max };
|
|
|
|
#include FT_ERRORS_H
|
|
|
|
#endif /* __RASTERRS_H__ */
|
|
|
|
|
|
/* END */
|