diff options
author | Ken Jin <kenjin@python.org> | 2023-04-30 13:08:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 13:08:26 (GMT) |
commit | ed95e8cbd4cbc813666c7ce7760257cc0f169d03 (patch) | |
tree | 55929b3092e83753baa34eac09f63666d072d286 /Include | |
parent | accb417c338630ac6e836a5c811a89d54a3cd1d3 (diff) | |
download | cpython-ed95e8cbd4cbc813666c7ce7760257cc0f169d03.zip cpython-ed95e8cbd4cbc813666c7ce7760257cc0f169d03.tar.gz cpython-ed95e8cbd4cbc813666c7ce7760257cc0f169d03.tar.bz2 |
gh-98003: Inline call frames for CALL_FUNCTION_EX (GH-98004)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_call.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Include/internal/pycore_call.h b/Include/internal/pycore_call.h index 55378e3..5d9342b 100644 --- a/Include/internal/pycore_call.h +++ b/Include/internal/pycore_call.h @@ -116,6 +116,16 @@ _PyObject_FastCallTstate(PyThreadState *tstate, PyObject *func, PyObject *const return _PyObject_VectorcallTstate(tstate, func, args, (size_t)nargs, NULL); } +PyObject *const * +_PyStack_UnpackDict(PyThreadState *tstate, + PyObject *const *args, Py_ssize_t nargs, + PyObject *kwargs, PyObject **p_kwnames); + +void +_PyStack_UnpackDict_Free(PyObject *const *stack, Py_ssize_t nargs, + PyObject *kwnames); + +void _PyStack_UnpackDict_FreeNoDecRef(PyObject *const *stack, PyObject *kwnames); #ifdef __cplusplus } |