Fred Drake | ea9cb5a | 2000-07-09 00:20:36 +0000 | [diff] [blame] | 1 | #ifndef Py_COMPILE_H |
| 2 | #define Py_COMPILE_H |
| 3 | #ifdef __cplusplus |
| 4 | extern "C" { |
| 5 | #endif |
| 6 | |
Guido van Rossum | dcfcd14 | 2019-01-31 03:40:27 -0800 | [diff] [blame] | 7 | /* These definitions must match corresponding definitions in graminit.h. */ |
Victor Stinner | 2bdc7f5 | 2011-09-29 01:04:08 +0200 | [diff] [blame] | 8 | #define Py_single_input 256 |
| 9 | #define Py_file_input 257 |
| 10 | #define Py_eval_input 258 |
Guido van Rossum | dcfcd14 | 2019-01-31 03:40:27 -0800 | [diff] [blame] | 11 | #define Py_func_type_input 345 |
Victor Stinner | 2bdc7f5 | 2011-09-29 01:04:08 +0200 | [diff] [blame] | 12 | |
Pablo Galindo | c5fc156 | 2020-04-22 23:29:27 +0100 | [diff] [blame] | 13 | /* This doesn't need to match anything */ |
| 14 | #define Py_fstring_input 800 |
| 15 | |
Hai Shi | 56f031e | 2021-03-22 16:32:11 +0800 | [diff] [blame] | 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 |
Victor Stinner | 2bdc7f5 | 2011-09-29 01:04:08 +0200 | [diff] [blame] | 25 | #endif /* !Py_COMPILE_H */ |