Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
allendowney
GitHub Repository: allendowney/cpython
Path: blob/main/Include/compile.h
12 views
1
#ifndef Py_COMPILE_H
2
#define Py_COMPILE_H
3
#ifdef __cplusplus
4
extern "C" {
5
#endif
6
7
/* These definitions must match corresponding definitions in graminit.h. */
8
#define Py_single_input 256
9
#define Py_file_input 257
10
#define Py_eval_input 258
11
#define Py_func_type_input 345
12
13
/* This doesn't need to match anything */
14
#define Py_fstring_input 800
15
16
#ifndef Py_LIMITED_API
17
# define Py_CPYTHON_COMPILE_H
18
# include "cpython/compile.h"
19
# undef Py_CPYTHON_COMPILE_H
20
#endif
21
22
#ifdef __cplusplus
23
}
24
#endif
25
#endif /* !Py_COMPILE_H */
26
27