summaryrefslogtreecommitdiffstats
path: root/Include/cellobject.h
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-08-12 07:21:58 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2002-08-12 07:21:58 (GMT)
commit91a681debf9ffec155d0aff8a0bb5f965f592e16 (patch)
tree09f28782e3b0a24e64deddeafc9df24ac93855ca /Include/cellobject.h
parent44121a6bc9828c993932b87e442440dc4f260f3c (diff)
downloadcpython-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/cellobject.h')
-rw-r--r--Include/cellobject.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/cellobject.h b/Include/cellobject.h
index f3eef55..2a6dcaa 100644
--- a/Include/cellobject.h
+++ b/Include/cellobject.h
@@ -11,13 +11,13 @@ typedef struct {
PyObject *ob_ref;
} PyCellObject;
-extern DL_IMPORT(PyTypeObject) PyCell_Type;
+PyAPI_DATA(PyTypeObject) PyCell_Type;
#define PyCell_Check(op) ((op)->ob_type == &PyCell_Type)
-extern DL_IMPORT(PyObject *) PyCell_New(PyObject *);
-extern DL_IMPORT(PyObject *) PyCell_Get(PyObject *);
-extern DL_IMPORT(int) PyCell_Set(PyObject *, PyObject *);
+PyAPI_FUNC(PyObject *) PyCell_New(PyObject *);
+PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *);
+PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *);
#define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)
#define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)