summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-03-26 12:11:13 (GMT)
committerGitHub <noreply@github.com>2020-03-26 12:11:13 (GMT)
commit79ceccd1ec6ef7e487da2916f32c6f0d1477bd3d (patch)
tree0828189e62366dea1260db799cc27928fc42aee2 /Include
parent62d21c9d900664b2ca30c2d7edd80b6628abdf62 (diff)
downloadcpython-79ceccd1ec6ef7e487da2916f32c6f0d1477bd3d.zip
cpython-79ceccd1ec6ef7e487da2916f32c6f0d1477bd3d.tar.gz
cpython-79ceccd1ec6ef7e487da2916f32c6f0d1477bd3d.tar.bz2
bpo-38410: Properly handle PySys_Audit() failures (GH-16657)
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/ceval.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h
index 7459937..020f787 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 */