diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2024-02-29 16:11:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-29 16:11:28 (GMT) |
commit | f0df35eeca2ccdfd58cfb9801f06ffa23537270b (patch) | |
tree | 9c7c6a5de052e09462b0fda44ac7f55a4032540a /Include/internal/pycore_genobject.h | |
parent | 45d8871dc4da33fcef92991031707c5bf88a40cf (diff) | |
download | cpython-f0df35eeca2ccdfd58cfb9801f06ffa23537270b.zip cpython-f0df35eeca2ccdfd58cfb9801f06ffa23537270b.tar.gz cpython-f0df35eeca2ccdfd58cfb9801f06ffa23537270b.tar.bz2 |
GH-115802: JIT "small" code for Windows (GH-115964)
Diffstat (limited to 'Include/internal/pycore_genobject.h')
-rw-r--r-- | Include/internal/pycore_genobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/internal/pycore_genobject.h b/Include/internal/pycore_genobject.h index b2aa017..9463c82 100644 --- a/Include/internal/pycore_genobject.h +++ b/Include/internal/pycore_genobject.h @@ -10,7 +10,7 @@ extern "C" { #include "pycore_freelist.h" -extern PyObject *_PyGen_yf(PyGenObject *); +PyAPI_FUNC(PyObject *)_PyGen_yf(PyGenObject *); extern void _PyGen_Finalize(PyObject *self); // Export for '_asyncio' shared extension @@ -19,7 +19,7 @@ PyAPI_FUNC(int) _PyGen_SetStopIterationValue(PyObject *); // Export for '_asyncio' shared extension PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **); -extern PyObject *_PyCoro_GetAwaitableIter(PyObject *o); +PyAPI_FUNC(PyObject *)_PyCoro_GetAwaitableIter(PyObject *o); extern PyObject *_PyAsyncGenValueWrapperNew(PyThreadState *state, PyObject *); extern PyTypeObject _PyCoroWrapper_Type; |