diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 (GMT) |
commit | 91a681debf9ffec155d0aff8a0bb5f965f592e16 (patch) | |
tree | 09f28782e3b0a24e64deddeafc9df24ac93855ca /Include/moduleobject.h | |
parent | 44121a6bc9828c993932b87e442440dc4f260f3c (diff) | |
download | cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.zip cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.gz cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.bz2 |
Excise DL_EXPORT from Include.
Thanks to Skip Montanaro and Kalle Svensson for the patches.
Diffstat (limited to 'Include/moduleobject.h')
-rw-r--r-- | Include/moduleobject.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Include/moduleobject.h b/Include/moduleobject.h index 533567c..0f67da3 100644 --- a/Include/moduleobject.h +++ b/Include/moduleobject.h @@ -7,16 +7,16 @@ extern "C" { #endif -extern DL_IMPORT(PyTypeObject) PyModule_Type; +PyAPI_DATA(PyTypeObject) PyModule_Type; #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) #define PyModule_CheckExact(op) ((op)->ob_type == &PyModule_Type) -extern DL_IMPORT(PyObject *) PyModule_New(char *); -extern DL_IMPORT(PyObject *) PyModule_GetDict(PyObject *); -extern DL_IMPORT(char *) PyModule_GetName(PyObject *); -extern DL_IMPORT(char *) PyModule_GetFilename(PyObject *); -extern DL_IMPORT(void) _PyModule_Clear(PyObject *); +PyAPI_FUNC(PyObject *) PyModule_New(char *); +PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *); +PyAPI_FUNC(char *) PyModule_GetName(PyObject *); +PyAPI_FUNC(char *) PyModule_GetFilename(PyObject *); +PyAPI_FUNC(void) _PyModule_Clear(PyObject *); #ifdef __cplusplus } |