summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-02-10 12:32:29 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-02-10 12:32:29 (GMT)
commit766af559ad967dcf5b2810331c331fe8773b8ef3 (patch)
tree614fd016c90bd3dd9c10dc9b819c151cb6f42616 /Include
parent109a9fe7960c5bac931aa817e57da7556d64e4a6 (diff)
downloadcpython-766af559ad967dcf5b2810331c331fe8773b8ef3.zip
cpython-766af559ad967dcf5b2810331c331fe8773b8ef3.tar.gz
cpython-766af559ad967dcf5b2810331c331fe8773b8ef3.tar.bz2
Issue #29465: Add Objects/call.c file
* Move all functions to call objects in a new Objects/call.c file. * Rename fast_function() to _PyFunction_FastCallKeywords(). * Copy null_error() from Objects/abstract.c * Inline type_error() in call.c to not have to copy it, it was only called once. * Export _PyEval_EvalCodeWithName() since it is now called from call.c.
Diffstat (limited to 'Include')
-rw-r--r--Include/eval.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/Include/eval.h b/Include/eval.h
index a1c6e81..9541e10 100644
--- a/Include/eval.h
+++ b/Include/eval.h
@@ -10,14 +10,24 @@ extern "C" {
PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *);
PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co,
- PyObject *globals,
- PyObject *locals,
- PyObject **args, int argc,
- PyObject **kwds, int kwdc,
- PyObject **defs, int defc,
- PyObject *kwdefs, PyObject *closure);
+ PyObject *globals,
+ PyObject *locals,
+ PyObject **args, int argc,
+ PyObject **kwds, int kwdc,
+ PyObject **defs, int defc,
+ PyObject *kwdefs, PyObject *closure);
#ifndef Py_LIMITED_API
+PyAPI_FUNC(PyObject *) _PyEval_EvalCodeWithName(
+ PyObject *co,
+ PyObject *globals, PyObject *locals,
+ PyObject **args, Py_ssize_t argcount,
+ PyObject **kwnames, PyObject **kwargs,
+ Py_ssize_t kwcount, int kwstep,
+ PyObject **defs, Py_ssize_t defcount,
+ PyObject *kwdefs, PyObject *closure,
+ PyObject *name, PyObject *qualname);
+
PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args);
#endif