Mercurial > cpython-lru_cache-weakref
diff Include/Python.h @ 9586:60fdb1db1175 legacy-trunk
Add DL_IMPORT(returntype) for all officially exported functions.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 04 Dec 1998 18:48:25 +0000 |
| parents | c39218a68df1 |
| children | 85ab28644201 |
line wrap: on
line diff
--- a/Include/Python.h Fri Dec 04 16:42:46 1998 +0000 +++ b/Include/Python.h Fri Dec 04 18:48:25 1998 +0000 @@ -41,6 +41,9 @@ #ifndef DL_IMPORT /* declarations for DLL import/export */ #define DL_IMPORT(RTYPE) RTYPE #endif +#ifndef DL_EXPORT /* declarations for DLL import/export */ +#define DL_EXPORT(RTYPE) RTYPE +#endif #ifdef SYMANTEC__CFM68K__ #define UsingSharedLibs
