diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-02-04 09:34:48 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-02-04 09:34:48 +0300 |
commit | 3821030b7ba4a7ff5d34c33deff4f6886130a951 (patch) | |
tree | 21dbd98647a8fa6937cc0de0a8d76947f7593ad6 /Include/funcobject.h | |
parent | acbb71ea58f932980f795e7582309fc2b33490eb (diff) | |
parent | 678487eb345f9f9dea3d3818ecad7d39145bdc65 (diff) | |
download | cpython-3821030b7ba4a7ff5d34c33deff4f6886130a951.tar.gz |
Issue #29198: Merge from 3.5
Diffstat (limited to 'Include/funcobject.h')
-rw-r--r-- | Include/funcobject.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Include/funcobject.h b/Include/funcobject.h index cc1426cdc2..77bb8c39ae 100644 --- a/Include/funcobject.h +++ b/Include/funcobject.h @@ -58,6 +58,20 @@ PyAPI_FUNC(int) PyFunction_SetClosure(PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetAnnotations(PyObject *); PyAPI_FUNC(int) PyFunction_SetAnnotations(PyObject *, PyObject *); +#ifndef Py_LIMITED_API +PyAPI_FUNC(PyObject *) _PyFunction_FastCallDict( + PyObject *func, + PyObject **args, + Py_ssize_t nargs, + PyObject *kwargs); + +PyAPI_FUNC(PyObject *) _PyFunction_FastCallKeywords( + PyObject *func, + PyObject **stack, + Py_ssize_t nargs, + PyObject *kwnames); +#endif + /* Macros for direct access to these values. Type checks are *not* done, so use with care. */ #define PyFunction_GET_CODE(func) \ |