2020-09-24 00:43:27 -04:00
|
|
|
#ifndef Py_COMPILE_H
|
|
|
|
|
#define Py_COMPILE_H
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2021-11-07 23:43:01 -05:00
|
|
|
/* These definitions must match corresponding definitions in graminit.h. */
|
2020-09-24 00:43:27 -04:00
|
|
|
#define Py_single_input 256
|
|
|
|
|
#define Py_file_input 257
|
|
|
|
|
#define Py_eval_input 258
|
2021-11-07 23:43:01 -05:00
|
|
|
#define Py_func_type_input 345
|
|
|
|
|
|
|
|
|
|
/* This doesn't need to match anything */
|
|
|
|
|
#define Py_fstring_input 800
|
2020-09-24 00:43:27 -04:00
|
|
|
|
2024-04-02 18:37:17 -04:00
|
|
|
#ifndef Py_LIMITED_API
|
|
|
|
|
# define Py_CPYTHON_COMPILE_H
|
|
|
|
|
# include "cpython/compile.h"
|
|
|
|
|
# undef Py_CPYTHON_COMPILE_H
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
2020-09-24 00:43:27 -04:00
|
|
|
#endif /* !Py_COMPILE_H */
|