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/bufferobject.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Include/bufferobject.h') diff --git a/Include/bufferobject.h b/Include/bufferobject.h index e4109aeb13..ed2c91db5f 100644 --- a/Include/bufferobject.h +++ b/Include/bufferobject.h @@ -10,22 +10,22 @@ extern "C" { #endif -extern DL_IMPORT(PyTypeObject) PyBuffer_Type; +PyAPI_DATA(PyTypeObject) PyBuffer_Type; #define PyBuffer_Check(op) ((op)->ob_type == &PyBuffer_Type) #define Py_END_OF_BUFFER (-1) -extern DL_IMPORT(PyObject *) PyBuffer_FromObject(PyObject *base, +PyAPI_FUNC(PyObject *) PyBuffer_FromObject(PyObject *base, int offset, int size); -extern DL_IMPORT(PyObject *) PyBuffer_FromReadWriteObject(PyObject *base, +PyAPI_FUNC(PyObject *) PyBuffer_FromReadWriteObject(PyObject *base, int offset, int size); -extern DL_IMPORT(PyObject *) PyBuffer_FromMemory(void *ptr, int size); -extern DL_IMPORT(PyObject *) PyBuffer_FromReadWriteMemory(void *ptr, int size); +PyAPI_FUNC(PyObject *) PyBuffer_FromMemory(void *ptr, int size); +PyAPI_FUNC(PyObject *) PyBuffer_FromReadWriteMemory(void *ptr, int size); -extern DL_IMPORT(PyObject *) PyBuffer_New(int size); +PyAPI_FUNC(PyObject *) PyBuffer_New(int size); #ifdef __cplusplus } -- cgit v1.2.1