1 | #ifndef Py_INTERNAL_FORMAT_H |
---|---|
2 | #define Py_INTERNAL_FORMAT_H |
3 | #ifdef __cplusplus |
4 | extern "C"{ |
5 | #endif |
6 | |
7 | #ifndef Py_BUILD_CORE |
8 | # error "this header requires Py_BUILD_CORE define" |
9 | #endif |
10 | |
11 | /* Format codes |
12 | * F_LJUST '-' |
13 | * F_SIGN '+' |
14 | * F_BLANK ' ' |
15 | * F_ALT '#' |
16 | * F_ZERO '0' |
17 | */ |
18 | #define F_LJUST (1<<0) |
19 | #define F_SIGN (1<<1) |
20 | #define F_BLANK (1<<2) |
21 | #define F_ALT (1<<3) |
22 | #define F_ZERO (1<<4) |
23 | |
24 | #ifdef __cplusplus |
25 | } |
26 | #endif |
27 | #endif /* !Py_INTERNAL_FORMAT_H */ |
28 |