diff options
author | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 (GMT) |
commit | 43466ec7b07de6bcad016bec60839cd6079c5a9c (patch) | |
tree | ec3bf3e1dfbf9535fa56e153e200f6491f34a6b0 /Include/mymalloc.h | |
parent | b241b67b8954b0679377af00d668e3dc92f4c858 (diff) | |
download | cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.zip cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.gz cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.bz2 |
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/mymalloc.h')
-rw-r--r-- | Include/mymalloc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Include/mymalloc.h b/Include/mymalloc.h index b65523e..558af9d 100644 --- a/Include/mymalloc.h +++ b/Include/mymalloc.h @@ -106,14 +106,14 @@ extern void free Py_PROTO((ANY *)); /* XXX sometimes int on Unix old systems */ The Python interpreter continues to use PyMem_NEW etc. */ /* These wrappers around malloc call PyErr_NoMemory() on failure */ -extern ANY *Py_Malloc Py_PROTO((size_t)); -extern ANY *Py_Realloc Py_PROTO((ANY *, size_t)); -extern void Py_Free Py_PROTO((ANY *)); +extern DL_IMPORT(ANY *) Py_Malloc Py_PROTO((size_t)); +extern DL_IMPORT(ANY *) Py_Realloc Py_PROTO((ANY *, size_t)); +extern DL_IMPORT(void) Py_Free Py_PROTO((ANY *)); /* These wrappers around malloc *don't* call anything on failure */ -extern ANY *PyMem_Malloc Py_PROTO((size_t)); -extern ANY *PyMem_Realloc Py_PROTO((ANY *, size_t)); -extern void PyMem_Free Py_PROTO((ANY *)); +extern DL_IMPORT(ANY *) PyMem_Malloc Py_PROTO((size_t)); +extern DL_IMPORT(ANY *) PyMem_Realloc Py_PROTO((ANY *, size_t)); +extern DL_IMPORT(void) PyMem_Free Py_PROTO((ANY *)); #ifdef __cplusplus } |