YAP
7.1.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
y
~
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
y
~
Variables
a
c
e
f
g
i
k
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Functions
c
e
m
y
Variables
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
YapFormat.h
1
2
#ifndef YAP_FORMAT
3
4
#if defined(_WIN64)
5
6
typedef
int64_t Int;
7
typedef
uint64_t UInt;
8
#define Int_FORMAT "%I64d"
9
#define UInt_FORMAT "%I64u"
10
#define Int_F "I64d"
11
#define UInt_F "I64u"
12
#define UXInt_F "I64xu"
13
#define Sizet_F "Id"
14
15
#elif defined(_WIN32)
16
17
typedef
int32_t Int;
18
typedef
uint32_t UInt;
19
#define Int_FORMAT "%I32d"
20
#define UInt_FORMAT "%I32u"
21
#define Int_F "I32d"
22
#define UInt_F "I32u"
23
#define UInt_FORMAT "%I32u"
24
#define UXInt_FORMAT "%I32xu"
25
#define Sizet_F "Id"
26
27
#elif defined(PRIdPTR)
28
#define Int_FORMAT "%"
PRIdPTR
29
#define Int_ANYFORMAT "%"
PRIuPTR
30
#define UInt_FORMAT "%"
PRIuPTR
31
#define Int_F PRIdPTR
32
#define Int_ANYF PRIuPTR
33
#define UInt_F PRIuPTR
34
#define UXInt_F PRIxPTR
35
#define Sizet_F "zd"
36
37
#elif SIZEOF_LONG_INT == SIZEOF_INT_P
38
39
typedef
long
int
Int;
40
typedef
unsigned
long
int
UInt;
41
#define Int_FORMAT "%ld"
42
#define UInt_FORMAT "%uld"
43
#define Int_F "ld"
44
#define UInt_F "uld"
45
#define UXInt_F "ulxd"
46
#define Sizet_F "uld"
47
48
#elif SIZEOF_INT == SIZEOF_INT_P
49
50
typedef
int
Int;
51
typedef
unsigned
int
UInt;
52
#define Int_FORMAT "%l"
53
#define UInt_FORMAT "%ul"
54
#define Int_F "l"
55
#define UInt_F "ul"
56
#define UXInt_F "uld"
57
#define Sizet_F "ux"
58
59
#endif
60
61
#endif
include
YapFormat.h
Generated by
1.9.3