2000-07-09 08:20:36 +08:00
|
|
|
#ifndef Py_COMPILE_H
|
|
|
|
#define Py_COMPILE_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-01-31 19:40:27 +08:00
|
|
|
/* These definitions must match corresponding definitions in graminit.h. */
|
2011-09-29 07:04:08 +08:00
|
|
|
#define Py_single_input 256
|
|
|
|
#define Py_file_input 257
|
|
|
|
#define Py_eval_input 258
|
2019-01-31 19:40:27 +08:00
|
|
|
#define Py_func_type_input 345
|
2011-09-29 07:04:08 +08:00
|
|
|
|
2020-04-23 06:29:27 +08:00
|
|
|
/* This doesn't need to match anything */
|
|
|
|
#define Py_fstring_input 800
|
|
|
|
|
2021-03-22 16:32:11 +08:00
|
|
|
#ifndef Py_LIMITED_API
|
|
|
|
# define Py_CPYTHON_COMPILE_H
|
|
|
|
# include "cpython/compile.h"
|
|
|
|
# undef Py_CPYTHON_COMPILE_H
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2011-09-29 07:04:08 +08:00
|
|
|
#endif /* !Py_COMPILE_H */
|