From 91a681debf9ffec155d0aff8a0bb5f965f592e16 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Mon, 12 Aug 2002 07:21:58 +0000 Subject: Excise DL_EXPORT from Include. Thanks to Skip Montanaro and Kalle Svensson for the patches. --- Include/weakrefobject.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Include/weakrefobject.h') diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h index 6ead22b515..b6fc389f67 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) -- cgit v1.2.1