summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/ceval.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index 2805379..62977ba 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -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));