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/weakrefobject.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/weakrefobject.h')
-rw-r--r-- | Include/weakrefobject.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h index 6ead22b..b6fc389 100644 --- a/Include/weakrefobject.h +++ b/Include/weakrefobject.h @@ -18,9 +18,9 @@ struct _PyWeakReference { PyWeakReference *wr_next; }; -extern DL_IMPORT(PyTypeObject) _PyWeakref_RefType; -extern DL_IMPORT(PyTypeObject) _PyWeakref_ProxyType; -extern DL_IMPORT(PyTypeObject) _PyWeakref_CallableProxyType; +PyAPI_DATA(PyTypeObject) _PyWeakref_RefType; +PyAPI_DATA(PyTypeObject) _PyWeakref_ProxyType; +PyAPI_DATA(PyTypeObject) _PyWeakref_CallableProxyType; #define PyWeakref_CheckRef(op) \ ((op)->ob_type == &_PyWeakref_RefType) @@ -31,13 +31,13 @@ extern DL_IMPORT(PyTypeObject) _PyWeakref_CallableProxyType; (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op)) -extern DL_IMPORT(PyObject *) PyWeakref_NewRef(PyObject *ob, +PyAPI_FUNC(PyObject *) PyWeakref_NewRef(PyObject *ob, PyObject *callback); -extern DL_IMPORT(PyObject *) PyWeakref_NewProxy(PyObject *ob, +PyAPI_FUNC(PyObject *) PyWeakref_NewProxy(PyObject *ob, PyObject *callback); -extern DL_IMPORT(PyObject *) PyWeakref_GetObject(PyObject *ref); +PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); -extern DL_IMPORT(long) _PyWeakref_GetWeakrefCount(PyWeakReference *head); +PyAPI_FUNC(long) _PyWeakref_GetWeakrefCount(PyWeakReference *head); #define PyWeakref_GET_OBJECT(ref) (((PyWeakReference *)(ref))->wr_object) |