diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 +0000 |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-08-12 07:21:58 +0000 |
commit | 91a681debf9ffec155d0aff8a0bb5f965f592e16 (patch) | |
tree | 09f28782e3b0a24e64deddeafc9df24ac93855ca /Include/descrobject.h | |
parent | x_mul(): This failed to normalize its result. (diff) | |
download | cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.gz cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.tar.bz2 cpython-91a681debf9ffec155d0aff8a0bb5f965f592e16.zip |
Excise DL_EXPORT from Include.
Thanks to Skip Montanaro and Kalle Svensson for the patches.
Diffstat (limited to 'Include/descrobject.h')
-rw-r--r-- | Include/descrobject.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Include/descrobject.h b/Include/descrobject.h index 6482e56a4db..13190365b55 100644 --- a/Include/descrobject.h +++ b/Include/descrobject.h @@ -67,22 +67,22 @@ typedef struct { void *d_wrapped; /* This can be any function pointer */ } PyWrapperDescrObject; -extern DL_IMPORT(PyTypeObject) PyWrapperDescr_Type; +PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type; -extern DL_IMPORT(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *); -extern DL_IMPORT(PyObject *) PyDescr_NewMember(PyTypeObject *, +PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *); +PyAPI_FUNC(PyObject *) PyDescr_NewMember(PyTypeObject *, struct PyMemberDef *); -extern DL_IMPORT(PyObject *) PyDescr_NewGetSet(PyTypeObject *, +PyAPI_FUNC(PyObject *) PyDescr_NewGetSet(PyTypeObject *, struct PyGetSetDef *); -extern DL_IMPORT(PyObject *) PyDescr_NewWrapper(PyTypeObject *, +PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *, struct wrapperbase *, void *); -extern DL_IMPORT(int) PyDescr_IsData(PyObject *); +PyAPI_FUNC(int) PyDescr_IsData(PyObject *); -extern DL_IMPORT(PyObject *) PyDictProxy_New(PyObject *); -extern DL_IMPORT(PyObject *) PyWrapper_New(PyObject *, PyObject *); +PyAPI_FUNC(PyObject *) PyDictProxy_New(PyObject *); +PyAPI_FUNC(PyObject *) PyWrapper_New(PyObject *, PyObject *); -extern DL_IMPORT(PyTypeObject) PyProperty_Type; +PyAPI_DATA(PyTypeObject) PyProperty_Type; #ifdef __cplusplus } #endif |