From 91a681debf9ffec155d0aff8a0bb5f965f592e16 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Mon, 12 Aug 2002 07:21:58 +0000 Subject: Excise DL_EXPORT from Include. Thanks to Skip Montanaro and Kalle Svensson for the patches. --- Include/pymem.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Include/pymem.h') diff --git a/Include/pymem.h b/Include/pymem.h index 183dc758eb2..6b1105ccf72 100644 --- a/Include/pymem.h +++ b/Include/pymem.h @@ -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. */ -- cgit v1.2.3-65-gdbad