diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/ceval.h | 3 | ||||
-rw-r--r-- | Include/pystate.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index e558594..9f4d3f1 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -23,8 +23,9 @@ PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj, #ifndef Py_LIMITED_API PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *); PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *); -PyAPI_FUNC(void) _PyEval_SetCoroutineWrapper(PyObject *wrapper); +PyAPI_FUNC(void) _PyEval_SetCoroutineWrapper(PyObject *); PyAPI_FUNC(PyObject *) _PyEval_GetCoroutineWrapper(void); +PyAPI_FUNC(PyObject *) _PyEval_ApplyCoroutineWrapper(PyObject *); #endif struct _frame; /* Avoid including frameobject.h */ diff --git a/Include/pystate.h b/Include/pystate.h index 2ee81df..a2fd803 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -135,6 +135,7 @@ typedef struct _ts { void *on_delete_data; PyObject *coroutine_wrapper; + int in_coroutine_wrapper; /* XXX signal handlers should also be here */ |