diff options
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]) |