| #ifndef Py_INTERNAL_COMPILE_H |
| #define Py_INTERNAL_COMPILE_H |
| # error "this header requires Py_BUILD_CORE define" |
| struct _arena; // Type defined in pycore_pyarena.h |
| struct _mod; // Type defined in pycore_ast.h |
| // Export the symbol for test_peg_generator (built as a library) |
| PyAPI_FUNC(PyCodeObject*) _PyAST_Compile( |
| extern PyFutureFeatures* _PyFuture_FromAST( |
| extern PyObject* _Py_Mangle(PyObject *p, PyObject *name); |
| int recursion_depth; /* current recursion depth */ |
| int recursion_limit; /* recursion limit */ |
| extern int _PyAST_Optimize( |
| _PyASTOptimizeState *state); |
| #endif /* !Py_INTERNAL_COMPILE_H */ |