diff options
Diffstat (limited to 'Include/ceval.h')
-rw-r--r-- | Include/ceval.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index 19ac064..0fc5cba 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -31,7 +31,11 @@ DL_IMPORT(PyObject *) PyEval_GetLocals(void); DL_IMPORT(PyObject *) PyEval_GetOwner(void); DL_IMPORT(PyObject *) PyEval_GetFrame(void); DL_IMPORT(int) PyEval_GetRestricted(void); -DL_IMPORT(int) PyEval_GetNestedScopes(void); + +/* Look at the current frame's (if any) code's co_flags, and turn on + the corresponding compiler flags in cf->cf_flags. Return 1 if any + flag was set, else return 0. */ +DL_IMPORT(int) PyEval_MergeCompilerFlags(PyCompilerFlags *cf); DL_IMPORT(int) Py_FlushLine(void); |