Mercurial > cpython-lru_cache-weakref
diff Include/moduleobject.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 | 8c01cfee14ba |
| children | 3ba025ba7f09 |
line wrap: on
line diff
--- a/Include/moduleobject.h Fri Dec 04 16:42:46 1998 +0000 +++ b/Include/moduleobject.h Fri Dec 04 18:48:25 1998 +0000 @@ -41,10 +41,10 @@ #define PyModule_Check(op) ((op)->ob_type == &PyModule_Type) -extern PyObject *PyModule_New Py_PROTO((char *)); -extern PyObject *PyModule_GetDict Py_PROTO((PyObject *)); -extern char *PyModule_GetName Py_PROTO((PyObject *)); -extern void _PyModule_Clear Py_PROTO((PyObject *)); +extern DL_IMPORT(PyObject *) PyModule_New Py_PROTO((char *)); +extern DL_IMPORT(PyObject *) PyModule_GetDict Py_PROTO((PyObject *)); +extern DL_IMPORT(char *) PyModule_GetName Py_PROTO((PyObject *)); +extern DL_IMPORT(void) _PyModule_Clear Py_PROTO((PyObject *)); #ifdef __cplusplus }
