diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pymem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/pymem.h b/Include/pymem.h index 9592272..10e915f 100644 --- a/Include/pymem.h +++ b/Include/pymem.h @@ -92,9 +92,9 @@ extern DL_IMPORT(void) PyMem_Free(void *); /* pymalloc (private to the interpreter) */ #ifdef WITH_PYMALLOC -void *_PyMalloc_Malloc(size_t nbytes); -void *_PyMalloc_Realloc(void *p, size_t nbytes); -void _PyMalloc_Free(void *p); +DL_IMPORT(void *) _PyMalloc_Malloc(size_t nbytes); +DL_IMPORT(void *) _PyMalloc_Realloc(void *p, size_t nbytes); +DL_IMPORT(void) _PyMalloc_Free(void *p); #define _PyMalloc_MALLOC _PyMalloc_Malloc #define _PyMalloc_REALLOC _PyMalloc_Realloc #define _PyMalloc_FREE _PyMalloc_Free |