Coverage Report

Created: 2022-07-08 09:39

/home/mdboom/Work/builds/cpython/Include/internal/pycore_format.h
Line
Count
Source
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
 * F_NO_NEG_0   'z'
18
 */
19
#define F_LJUST (1<<0)
20
#define F_SIGN  (1<<1)
21
#define F_BLANK (1<<2)
22
#define F_ALT   (1<<3)
23
#define F_ZERO  (1<<4)
24
#define F_NO_NEG_0 (1<<5)
25
26
#ifdef __cplusplus
27
}
28
#endif
29
#endif /* !Py_INTERNAL_FORMAT_H */