diff options
author | Mark Shannon <mark@hotpy.org> | 2024-08-02 15:31:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 15:31:17 (GMT) |
commit | 7aca84e557d0a6d242f322c493d53947a56bde91 (patch) | |
tree | 748b14a2221f090721673c936f20f21e7d87d323 /Include/internal | |
parent | 498376d7a7d6f704f22a2c963130cc15c17e7a6f (diff) | |
download | cpython-7aca84e557d0a6d242f322c493d53947a56bde91.zip cpython-7aca84e557d0a6d242f322c493d53947a56bde91.tar.gz cpython-7aca84e557d0a6d242f322c493d53947a56bde91.tar.bz2 |
GH-117224: Move the body of a few large-ish micro-ops into helper functions (GH-122601)
Diffstat (limited to 'Include/internal')
-rw-r--r-- | Include/internal/pycore_ceval.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/internal/pycore_ceval.h b/Include/internal/pycore_ceval.h index 4fdee9f..e4af731 100644 --- a/Include/internal/pycore_ceval.h +++ b/Include/internal/pycore_ceval.h @@ -270,6 +270,10 @@ PyAPI_FUNC(PyObject **) _PyObjectArray_FromStackRefArray(_PyStackRef *input, Py_ PyAPI_FUNC(void) _PyObjectArray_Free(PyObject **array, PyObject **scratch); +PyAPI_FUNC(PyObject *) _PyEval_GetANext(PyObject *aiter); +PyAPI_FUNC(PyObject *) _PyEval_LoadGlobal(PyObject *globals, PyObject *builtins, PyObject *name); +PyAPI_FUNC(PyObject *) _PyEval_GetAwaitable(PyObject *iterable, int oparg); +PyAPI_FUNC(PyObject *) _PyEval_LoadName(PyThreadState *tstate, _PyInterpreterFrame *frame, PyObject *name); /* Bits that can be set in PyThreadState.eval_breaker */ #define _PY_GIL_DROP_REQUEST_BIT (1U << 0) |