blob: 3c5acd7209f763e1713d2bd816a96b025ee0f8e2 [file] [log] [blame]
Fred Drakeea9cb5a2000-07-09 00:20:36 +00001#ifndef Py_COMPILE_H
2#define Py_COMPILE_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
Guido van Rossumdcfcd142019-01-31 03:40:27 -08007/* These definitions must match corresponding definitions in graminit.h. */
Victor Stinner2bdc7f52011-09-29 01:04:08 +02008#define Py_single_input 256
9#define Py_file_input 257
10#define Py_eval_input 258
Guido van Rossumdcfcd142019-01-31 03:40:27 -080011#define Py_func_type_input 345
Victor Stinner2bdc7f52011-09-29 01:04:08 +020012
Pablo Galindoc5fc1562020-04-22 23:29:27 +010013/* This doesn't need to match anything */
14#define Py_fstring_input 800
15
Hai Shi56f031e2021-03-22 16:32:11 +080016#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 Stinner2bdc7f52011-09-29 01:04:08 +020025#endif /* !Py_COMPILE_H */