mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Merged revisions 79555 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79555 | antoine.pitrou | 2010-04-01 18:42:11 +0200 (jeu., 01 avril 2010) | 5 lines Issue #8276: PyEval_CallObject() is now only available in macro form. The function declaration, which was kept for backwards compatibility reasons, is now removed (the macro was introduced in 1997!). ........
This commit is contained in:
parent
c8bdc01d82
commit
8689a10f07
3 changed files with 5 additions and 16 deletions
|
@ -10,10 +10,6 @@ extern "C" {
|
|||
PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
|
||||
PyObject *, PyObject *, PyObject *);
|
||||
|
||||
/* DLL-level Backwards compatibility: */
|
||||
#undef PyEval_CallObject
|
||||
PyAPI_FUNC(PyObject *) PyEval_CallObject(PyObject *, PyObject *);
|
||||
|
||||
/* Inline this */
|
||||
#define PyEval_CallObject(func,arg) \
|
||||
PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue