Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.214.161
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
include /
freetype2 /
freetype /
[ HOME SHELL ]
Name
Size
Permission
Action
config
[ DIR ]
drwxr-xr-x
freetype.h
160.31
KB
-rw-r--r--
ftadvanc.h
5.34
KB
-rw-r--r--
ftbbox.h
2.58
KB
-rw-r--r--
ftbdf.h
5.2
KB
-rw-r--r--
ftbitmap.h
8.84
KB
-rw-r--r--
ftbzip2.h
2.72
KB
-rw-r--r--
ftcache.h
33.07
KB
-rw-r--r--
ftchapters.h
2.49
KB
-rw-r--r--
ftcid.h
3.93
KB
-rw-r--r--
ftcolor.h
52.83
KB
-rw-r--r--
ftdriver.h
44.92
KB
-rw-r--r--
fterrdef.h
12.05
KB
-rw-r--r--
fterrors.h
9.08
KB
-rw-r--r--
ftfntfmt.h
2.16
KB
-rw-r--r--
ftgasp.h
4.04
KB
-rw-r--r--
ftglyph.h
18.08
KB
-rw-r--r--
ftgxval.h
10.38
KB
-rw-r--r--
ftgzip.h
4.11
KB
-rw-r--r--
ftimage.h
40.4
KB
-rw-r--r--
ftincrem.h
10.45
KB
-rw-r--r--
ftlcdfil.h
11.47
KB
-rw-r--r--
ftlist.h
6.93
KB
-rw-r--r--
ftlogging.h
4.03
KB
-rw-r--r--
ftlzw.h
2.7
KB
-rw-r--r--
ftmac.h
7.59
KB
-rw-r--r--
ftmm.h
21.28
KB
-rw-r--r--
ftmodapi.h
22.02
KB
-rw-r--r--
ftmoderr.h
6.52
KB
-rw-r--r--
ftotval.h
5.22
KB
-rw-r--r--
ftoutln.h
16.86
KB
-rw-r--r--
ftparams.h
5.46
KB
-rw-r--r--
ftpfr.h
4.79
KB
-rw-r--r--
ftrender.h
6.47
KB
-rw-r--r--
ftsizes.h
4.19
KB
-rw-r--r--
ftsnames.h
7.55
KB
-rw-r--r--
ftstroke.h
21.26
KB
-rw-r--r--
ftsynth.h
3.28
KB
-rw-r--r--
ftsystem.h
8.32
KB
-rw-r--r--
fttrigon.h
7.24
KB
-rw-r--r--
fttypes.h
14.21
KB
-rw-r--r--
ftwinfnt.h
7.78
KB
-rw-r--r--
t1tables.h
22.29
KB
-rw-r--r--
ttnameid.h
57.39
KB
-rw-r--r--
tttables.h
24.64
KB
-rw-r--r--
tttags.h
4.97
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fterrors.h
/**************************************************************************** * * fterrors.h * * FreeType error code handling (specification). * * Copyright (C) 1996-2021 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. * */ /************************************************************************** * * @section: * error_enumerations * * @title: * Error Enumerations * * @abstract: * How to handle errors and error strings. * * @description: * The header file `fterrors.h` (which is automatically included by * `freetype.h` defines the handling of FreeType's enumeration * constants. It can also be used to generate error message strings * with a small macro trick explained below. * * **Error Formats** * * The configuration macro `FT_CONFIG_OPTION_USE_MODULE_ERRORS` can be * defined in `ftoption.h` in order to make the higher byte indicate the * module where the error has happened (this is not compatible with * standard builds of FreeType~2, however). See the file `ftmoderr.h` * for more details. * * **Error Message Strings** * * Error definitions are set up with special macros that allow client * applications to build a table of error message strings. The strings * are not included in a normal build of FreeType~2 to save space (most * client applications do not use them). * * To do so, you have to define the following macros before including * this file. * * ``` * FT_ERROR_START_LIST * ``` * * This macro is called before anything else to define the start of the * error list. It is followed by several `FT_ERROR_DEF` calls. * * ``` * FT_ERROR_DEF( e, v, s ) * ``` * * This macro is called to define one single error. 'e' is the error * code identifier (e.g., `Invalid_Argument`), 'v' is the error's * numerical value, and 's' is the corresponding error string. * * ``` * FT_ERROR_END_LIST * ``` * * This macro ends the list. * * Additionally, you have to undefine `FTERRORS_H_` before #including * this file. * * Here is a simple example. * * ``` * #undef FTERRORS_H_ * #define FT_ERRORDEF( e, v, s ) { e, s }, * #define FT_ERROR_START_LIST { * #define FT_ERROR_END_LIST { 0, NULL } }; * * const struct * { * int err_code; * const char* err_msg; * } ft_errors[] = * * #include <freetype/fterrors.h> * ``` * * An alternative to using an array is a switch statement. * * ``` * #undef FTERRORS_H_ * #define FT_ERROR_START_LIST switch ( error_code ) { * #define FT_ERRORDEF( e, v, s ) case v: return s; * #define FT_ERROR_END_LIST } * ``` * * If you use `FT_CONFIG_OPTION_USE_MODULE_ERRORS`, `error_code` should * be replaced with `FT_ERROR_BASE(error_code)` in the last example. */ /* */ /* In previous FreeType versions we used `__FTERRORS_H__`. However, */ /* using two successive underscores in a non-system symbol name */ /* violates the C (and C++) standard, so it was changed to the */ /* current form. In spite of this, we have to make */ /* */ /* ``` */ /* #undefine __FTERRORS_H__ */ /* ``` */ /* */ /* work for backward compatibility. */ /* */ #if !( defined( FTERRORS_H_ ) && defined ( __FTERRORS_H__ ) ) #define FTERRORS_H_ #define __FTERRORS_H__ /* include module base error codes */ #include <freetype/ftmoderr.h> /*******************************************************************/ /*******************************************************************/ /***** *****/ /***** SETUP MACROS *****/ /***** *****/ /*******************************************************************/ /*******************************************************************/ #undef FT_NEED_EXTERN_C /* FT_ERR_PREFIX is used as a prefix for error identifiers. */ /* By default, we use `FT_Err_`. */ /* */ #ifndef FT_ERR_PREFIX #define FT_ERR_PREFIX FT_Err_ #endif /* FT_ERR_BASE is used as the base for module-specific errors. */ /* */ #ifdef FT_CONFIG_OPTION_USE_MODULE_ERRORS #ifndef FT_ERR_BASE #define FT_ERR_BASE FT_Mod_Err_Base #endif #else #undef FT_ERR_BASE #define FT_ERR_BASE 0 #endif /* FT_CONFIG_OPTION_USE_MODULE_ERRORS */ /* If FT_ERRORDEF is not defined, we need to define a simple */ /* enumeration type. */ /* */ #ifndef FT_ERRORDEF #define FT_INCLUDE_ERR_PROTOS #define FT_ERRORDEF( e, v, s ) e = v, #define FT_ERROR_START_LIST enum { #define FT_ERROR_END_LIST FT_ERR_CAT( FT_ERR_PREFIX, Max ) }; #ifdef __cplusplus #define FT_NEED_EXTERN_C extern "C" { #endif #endif /* !FT_ERRORDEF */ /* this macro is used to define an error */ #define FT_ERRORDEF_( e, v, s ) \ FT_ERRORDEF( FT_ERR_CAT( FT_ERR_PREFIX, e ), v + FT_ERR_BASE, s ) /* this is only used for <module>_Err_Ok, which must be 0! */ #define FT_NOERRORDEF_( e, v, s ) \ FT_ERRORDEF( FT_ERR_CAT( FT_ERR_PREFIX, e ), v, s ) #ifdef FT_ERROR_START_LIST FT_ERROR_START_LIST #endif /* now include the error codes */ #include <freetype/fterrdef.h> #ifdef FT_ERROR_END_LIST FT_ERROR_END_LIST #endif /*******************************************************************/ /*******************************************************************/ /***** *****/ /***** SIMPLE CLEANUP *****/ /***** *****/ /*******************************************************************/ /*******************************************************************/ #ifdef FT_NEED_EXTERN_C } #endif #undef FT_ERROR_START_LIST #undef FT_ERROR_END_LIST #undef FT_ERRORDEF #undef FT_ERRORDEF_ #undef FT_NOERRORDEF_ #undef FT_NEED_EXTERN_C #undef FT_ERR_BASE /* FT_ERR_PREFIX is needed internally */ #ifndef FT2_BUILD_LIBRARY #undef FT_ERR_PREFIX #endif /* FT_INCLUDE_ERR_PROTOS: Control whether function prototypes should be */ /* included with */ /* */ /* #include <freetype/fterrors.h> */ /* */ /* This is only true where `FT_ERRORDEF` is */ /* undefined. */ /* */ /* FT_ERR_PROTOS_DEFINED: Actual multiple-inclusion protection of */ /* `fterrors.h`. */ #ifdef FT_INCLUDE_ERR_PROTOS #undef FT_INCLUDE_ERR_PROTOS #ifndef FT_ERR_PROTOS_DEFINED #define FT_ERR_PROTOS_DEFINED FT_BEGIN_HEADER /************************************************************************** * * @function: * FT_Error_String * * @description: * Retrieve the description of a valid FreeType error code. * * @input: * error_code :: * A valid FreeType error code. * * @return: * A C~string or `NULL`, if any error occurred. * * @note: * FreeType has to be compiled with `FT_CONFIG_OPTION_ERROR_STRINGS` or * `FT_DEBUG_LEVEL_ERROR` to get meaningful descriptions. * 'error_string' will be `NULL` otherwise. * * Module identification will be ignored: * * ```c * strcmp( FT_Error_String( FT_Err_Unknown_File_Format ), * FT_Error_String( BDF_Err_Unknown_File_Format ) ) == 0; * ``` */ FT_EXPORT( const char* ) FT_Error_String( FT_Error error_code ); /* */ FT_END_HEADER #endif /* FT_ERR_PROTOS_DEFINED */ #endif /* FT_INCLUDE_ERR_PROTOS */ #endif /* !(FTERRORS_H_ && __FTERRORS_H__) */ /* END */
Close