Skip to content

Commit 5fff5e5

Browse files
committed
Allow JIT to find _Py_MakeCoro.
1 parent 5489713 commit 5fff5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_ceval.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static inline void _Py_LeaveRecursiveCall(void) {
182182

183183
extern struct _PyInterpreterFrame* _PyEval_GetFrame(void);
184184

185-
extern PyObject* _Py_MakeCoro(PyFunctionObject *func);
185+
PyAPI_FUNC(PyObject *)_Py_MakeCoro(PyFunctionObject *func);
186186

187187
/* Handle signals, pending calls, GIL drop request
188188
and asynchronous exception */

0 commit comments

Comments
 (0)