mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Inline PyObject_CallObject (Marc-Andre Lemburg).
This commit is contained in:
parent
b2afc811c2
commit
d7ed683a7e
2 changed files with 9 additions and 1 deletions
|
|
@ -37,10 +37,13 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
/* Interface to random parts in ceval.c */
|
||||
|
||||
PyObject *PyEval_CallObject Py_PROTO((PyObject *, PyObject *));
|
||||
PyObject *PyEval_CallObjectWithKeywords
|
||||
Py_PROTO((PyObject *, PyObject *, PyObject *));
|
||||
|
||||
/* Inline this */
|
||||
#define PyEval_CallObject(func,arg) \
|
||||
PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)
|
||||
|
||||
PyObject *PyEval_GetBuiltins Py_PROTO((void));
|
||||
PyObject *PyEval_GetGlobals Py_PROTO((void));
|
||||
PyObject *PyEval_GetLocals Py_PROTO((void));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue