diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-08 23:40:33 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-08 23:40:33 (GMT) |
commit | 7f39c0ccfcaba95de1eaba87f117b89b032b1fa0 (patch) | |
tree | 96e11f02c4777cc90aeda3f1ed2e69210de84fdb /Include | |
parent | dbe28d26b46adb7ed3d6731bc148fc095ff43bba (diff) | |
download | cpython-7f39c0ccfcaba95de1eaba87f117b89b032b1fa0.zip cpython-7f39c0ccfcaba95de1eaba87f117b89b032b1fa0.tar.gz cpython-7f39c0ccfcaba95de1eaba87f117b89b032b1fa0.tar.bz2 |
Add _PyObject_VaCallFunctionObjArgs() private function
Issue #28915: Similar to _PyObject_CallFunctionObjArgs() but use va_list to
pass arguments.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/abstract.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 09efd11..5981d69 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -437,6 +437,12 @@ PyAPI_FUNC(PyObject *) _PyObject_CallMethodId_SizeT(PyObject *obj, PyAPI_FUNC(PyObject *) PyObject_CallFunctionObjArgs(PyObject *callable, ...); +#ifndef Py_LIMITED_API +PyAPI_FUNC(PyObject *) _PyObject_VaCallFunctionObjArgs( + PyObject *callable, + va_list vargs); +#endif + /* Call the method named 'name' of object 'obj' with a variable number of C arguments. The C arguments are provided as PyObject * |