diff options
author | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 +0000 |
commit | 6b5ad775859d0c41a25f0290f37954dcd2ccc484 (patch) | |
tree | 2dc4d5feb910b8303a091e3929fd8b72e29bd132 /Include/moduleobject.h | |
parent | 27913d4a7d3d5001643ba80ba86b432781669717 (diff) | |
download | cpython-6b5ad775859d0c41a25f0290f37954dcd2ccc484.tar.gz |
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/moduleobject.h')
-rw-r--r-- | Include/moduleobject.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/moduleobject.h b/Include/moduleobject.h index 03bc9f7b73..694343a3d9 100644 --- a/Include/moduleobject.h +++ b/Include/moduleobject.h @@ -41,10 +41,10 @@ extern DL_IMPORT(PyTypeObject) PyModule_Type; #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 } |