mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Excise DL_EXPORT from Include.
Thanks to Skip Montanaro and Kalle Svensson for the patches.
This commit is contained in:
parent
44121a6bc9
commit
91a681debf
51 changed files with 661 additions and 665 deletions
|
@ -47,9 +47,9 @@ extern "C" {
|
|||
performed on failure (no exception is set, no warning is printed, etc).
|
||||
*/
|
||||
|
||||
extern DL_IMPORT(void *) PyMem_Malloc(size_t);
|
||||
extern DL_IMPORT(void *) PyMem_Realloc(void *, size_t);
|
||||
extern DL_IMPORT(void) PyMem_Free(void *);
|
||||
PyAPI_FUNC(void *) PyMem_Malloc(size_t);
|
||||
PyAPI_FUNC(void *) PyMem_Realloc(void *, size_t);
|
||||
PyAPI_FUNC(void) PyMem_Free(void *);
|
||||
|
||||
/* Starting from Python 1.6, the wrappers Py_{Malloc,Realloc,Free} are
|
||||
no longer supported. They used to call PyErr_NoMemory() on failure. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue