2000-07-09 00:20:36 +00:00
|
|
|
#ifndef Py_COMPILE_H
|
|
|
|
#define Py_COMPILE_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-01-31 11:40:27 +00:00
|
|
|
/* These definitions must match corresponding definitions in graminit.h. */
|
2011-09-28 23:04:08 +00:00
|
|
|
#define Py_single_input 256
|
|
|
|
#define Py_file_input 257
|
|
|
|
#define Py_eval_input 258
|
2019-01-31 11:40:27 +00:00
|
|
|
#define Py_func_type_input 345
|
2011-09-28 23:04:08 +00:00
|
|
|
|
2020-04-22 22:29:27 +00:00
|
|
|
/* This doesn't need to match anything */
|
|
|
|
#define Py_fstring_input 800
|
|
|
|
|
2021-03-22 08:32:11 +00: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-28 23:04:08 +00:00
|
|
|
#endif /* !Py_COMPILE_H */
|