diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/abstract.h | 9 | ||||
-rw-r--r-- | Include/methodobject.h | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index f709434..3f398da 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -267,9 +267,16 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ PyObject *args, PyObject *kwargs); #ifndef Py_LIMITED_API - PyAPI_FUNC(PyObject*) _PyStack_AsTuple(PyObject **stack, + PyAPI_FUNC(PyObject*) _PyStack_AsTuple( + PyObject **stack, Py_ssize_t nargs); + PyAPI_FUNC(PyObject *) _PyStack_AsDict( + PyObject **values, + Py_ssize_t nkwargs, + PyObject *kwnames, + PyObject *func); + /* Call the callable object func with the "fast call" calling convention: args is a C array for positional arguments (nargs is the number of positional arguments), kwargs is a dictionary for keyword arguments. diff --git a/Include/methodobject.h b/Include/methodobject.h index 84a1497..1f4f06c 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -42,6 +42,11 @@ PyAPI_FUNC(PyObject *) _PyCFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs); + +PyAPI_FUNC(PyObject *) _PyCFunction_FastCallKeywords(PyObject *func, + PyObject **stack, + Py_ssize_t nargs, + PyObject *kwnames); #endif struct PyMethodDef { |