mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)
This commit is contained in:
parent
019f0a0cb8
commit
e502451781
13 changed files with 33 additions and 31 deletions
|
@ -18,7 +18,7 @@ static int numfree = 0;
|
|||
/* undefine macro trampoline to PyCFunction_NewEx */
|
||||
#undef PyCFunction_New
|
||||
|
||||
PyAPI_FUNC(PyObject *)
|
||||
PyObject *
|
||||
PyCFunction_New(PyMethodDef *ml, PyObject *self)
|
||||
{
|
||||
return PyCFunction_NewEx(ml, self, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue