23 #include FT_CONFIG_STANDARD_LIBRARY_H 92 #define FT_VALIDATOR( x ) ((FT_Validator)( x )) 120 #define FT_INVALID( _prefix, _error ) FT_INVALID_( _prefix, _error ) 121 #define FT_INVALID_( _prefix, _error ) \ 122 ft_validator_error( valid, _prefix ## _error ) 125 #define FT_INVALID_TOO_SHORT \ 126 FT_INVALID( FT_ERR_PREFIX, Invalid_Table ) 129 #define FT_INVALID_OFFSET \ 130 FT_INVALID( FT_ERR_PREFIX, Invalid_Offset ) 133 #define FT_INVALID_FORMAT \ 134 FT_INVALID( FT_ERR_PREFIX, Invalid_Table ) 137 #define FT_INVALID_GLYPH_ID \ 138 FT_INVALID( FT_ERR_PREFIX, Invalid_Glyph_Index ) 141 #define FT_INVALID_DATA \ 142 FT_INVALID( FT_ERR_PREFIX, Invalid_Table )
struct FT_ValidatorRec_ FT_ValidatorRec
enum FT_ValidationLevel_ FT_ValidationLevel
ft_validator_run(FT_Validator valid)
typedefFT_BEGIN_HEADER struct FT_ValidatorRec_ volatile * FT_Validator
ft_validator_error(FT_Validator valid, FT_Error error)
ft_validator_init(FT_Validator valid, const FT_Byte *base, const FT_Byte *limit, FT_ValidationLevel level)