From 79ceccd1ec6ef7e487da2916f32c6f0d1477bd3d Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Thu, 26 Mar 2020 06:11:13 -0600 Subject: bpo-38410: Properly handle PySys_Audit() failures (GH-16657) --- Include/cpython/ceval.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Include/cpython') diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h index 74599370c1..020f78712f 100644 --- a/Include/cpython/ceval.h +++ b/Include/cpython/ceval.h @@ -11,9 +11,9 @@ PyAPI_DATA(int) _PyEval_SetProfile(PyThreadState *tstate, Py_tracefunc func, PyO PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *); PyAPI_FUNC(int) _PyEval_SetTrace(PyThreadState *tstate, Py_tracefunc func, PyObject *arg); PyAPI_FUNC(int) _PyEval_GetCoroutineOriginTrackingDepth(void); -PyAPI_FUNC(void) _PyEval_SetAsyncGenFirstiter(PyObject *); +PyAPI_FUNC(int) _PyEval_SetAsyncGenFirstiter(PyObject *); PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFirstiter(void); -PyAPI_FUNC(void) _PyEval_SetAsyncGenFinalizer(PyObject *); +PyAPI_FUNC(int) _PyEval_SetAsyncGenFinalizer(PyObject *); PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFinalizer(void); /* Helper to look up a builtin object */ -- cgit v1.2.1