ReactOS
0.4.16-dev-1093-g93e9710
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
fterrors.c
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* fterrors.c
4
*
5
* FreeType API for error code handling.
6
*
7
* Copyright (C) 2018-2019 by
8
* Armin Hasitzka, David Turner, Robert Wilhelm, and Werner Lemberg.
9
*
10
* This file is part of the FreeType project, and may only be used,
11
* modified, and distributed under the terms of the FreeType project
12
* license, LICENSE.TXT. By continuing to use, modify, or distribute
13
* this file you indicate that you have read the license and
14
* understand and accept it fully.
15
*
16
*/
17
18
19
#include <
ft2build.h
>
20
#include FT_ERRORS_H
21
22
23
/* documentation is in fterrors.h */
24
25
FT_EXPORT_DEF
(
const
char
* )
26
FT_Error_String
(
FT_Error
error_code
)
27
{
28
if
(
error_code
< 0 ||
29
error_code
>=
FT_ERR_CAT
(
FT_ERR_PREFIX
,
Max
) )
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
}
Max
#define Max(a, b)
Definition:
cdprocs.h:78
NULL
#define NULL
Definition:
types.h:112
ft2build.h
FT_EXPORT_DEF
#define FT_EXPORT_DEF(x)
Definition:
ftconfig.h:494
FT_Error_String
FT_Error_String(FT_Error error_code)
Definition:
fterrors.c:26
FT_ERR_PREFIX
#define FT_ERR_PREFIX
Definition:
fterrors.h:146
FT_Error
int FT_Error
Definition:
fttypes.h:299
FT_ERR_CAT
#define FT_ERR_CAT(x, y)
Definition:
fttypes.h:595
error_code
static int error_code[8]
Definition:
odbccp32.c:61
sdk
lib
3rdparty
freetype
src
base
fterrors.c
Generated on Mon May 5 2025 06:13:39 for ReactOS by
1.9.6