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/tupleobject.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/tupleobject.h')
-rw-r--r-- | Include/tupleobject.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Include/tupleobject.h b/Include/tupleobject.h index c5ec1c2..58bf896 100644 --- a/Include/tupleobject.h +++ b/Include/tupleobject.h @@ -24,17 +24,17 @@ typedef struct { PyObject *ob_item[1]; } PyTupleObject; -extern DL_IMPORT(PyTypeObject) PyTuple_Type; +PyAPI_DATA(PyTypeObject) PyTuple_Type; #define PyTuple_Check(op) PyObject_TypeCheck(op, &PyTuple_Type) #define PyTuple_CheckExact(op) ((op)->ob_type == &PyTuple_Type) -extern DL_IMPORT(PyObject *) PyTuple_New(int size); -extern DL_IMPORT(int) PyTuple_Size(PyObject *); -extern DL_IMPORT(PyObject *) PyTuple_GetItem(PyObject *, int); -extern DL_IMPORT(int) PyTuple_SetItem(PyObject *, int, PyObject *); -extern DL_IMPORT(PyObject *) PyTuple_GetSlice(PyObject *, int, int); -extern DL_IMPORT(int) _PyTuple_Resize(PyObject **, int); +PyAPI_FUNC(PyObject *) PyTuple_New(int size); +PyAPI_FUNC(int) PyTuple_Size(PyObject *); +PyAPI_FUNC(PyObject *) PyTuple_GetItem(PyObject *, int); +PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, int, PyObject *); +PyAPI_FUNC(PyObject *) PyTuple_GetSlice(PyObject *, int, int); +PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, int); /* Macro, trading safety for speed */ #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) |