There was an error while loading. Please reload this page.
1 parent 7544508 commit f487a00Copy full SHA for f487a00
2 files changed
Include/ceval.h
@@ -24,7 +24,7 @@ PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj,
24
PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *);
25
PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *);
26
PyAPI_FUNC(void) PyEval_SetCoroutineWrapper(PyObject *wrapper);
27
-PyAPI_FUNC(PyObject *) PyEval_GetCoroutineWrapper();
+PyAPI_FUNC(PyObject *) PyEval_GetCoroutineWrapper(void);
28
#endif
29
30
struct _frame; /* Avoid including frameobject.h */
Python/ceval.c
@@ -4414,7 +4414,7 @@ PyEval_SetCoroutineWrapper(PyObject *wrapper)
4414
}
4415
4416
PyObject *
4417
-PyEval_GetCoroutineWrapper()
+PyEval_GetCoroutineWrapper(void)
4418
{
4419
PyThreadState *tstate = PyThreadState_GET();
4420
return tstate->coroutine_wrapper;
0 commit comments