closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)

This commit is contained in:
Benjamin Peterson 2018-09-12 12:06:42 -07:00 committed by GitHub
parent 019f0a0cb8
commit e502451781
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 33 additions and 31 deletions

View file

@ -2180,7 +2180,7 @@ _PyTrash_thread_destroy_chain(void)
/* For Py_LIMITED_API, we need an out-of-line version of _Py_Dealloc.
Define this here, so we can undefine the macro. */
#undef _Py_Dealloc
PyAPI_FUNC(void) _Py_Dealloc(PyObject *);
void _Py_Dealloc(PyObject *);
void
_Py_Dealloc(PyObject *op)
{