diff options
author | Guido van Rossum <guido@python.org> | 1999-03-17 18:44:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-03-17 18:44:39 (GMT) |
commit | 836845324938621593a0096cad2aa1a29b72ed51 (patch) | |
tree | 6d9b192202aafb8838a2bf40f157ebda40855e38 /Include/ceval.h | |
parent | 90fc0a71a52c0d8de465cdaf110a9a29aa96a76d (diff) | |
download | cpython-836845324938621593a0096cad2aa1a29b72ed51.zip cpython-836845324938621593a0096cad2aa1a29b72ed51.tar.gz cpython-836845324938621593a0096cad2aa1a29b72ed51.tar.bz2 |
Add DLL level b/w compat for PySequence_In and PyEval_CallObject
Diffstat (limited to 'Include/ceval.h')
-rw-r--r-- | Include/ceval.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index 5b96d9e..8200e3c 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -40,6 +40,10 @@ PERFORMANCE OF THIS SOFTWARE. DL_IMPORT(PyObject *) PyEval_CallObjectWithKeywords Py_PROTO((PyObject *, PyObject *, PyObject *)); +/* DLL-level Backwards compatibility: */ +#undef PyEval_CallObject +DL_IMPORT(PyObject *) PyEval_CallObject Py_PROTO((PyObject *, PyObject *)); + /* Inline this */ #define PyEval_CallObject(func,arg) \ PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL) |