diff Include/bufferobject.h @ 24752:c1eb668525e1 legacy-trunk

Excise DL_EXPORT from Include. Thanks to Skip Montanaro and Kalle Svensson for the patches.
author Mark Hammond <mhammond@skippinet.com.au>
date Mon, 12 Aug 2002 07:21:58 +0000
parents 6f6f965c5e2d
children 7fdc639bc5b4
line wrap: on
line diff
--- a/Include/bufferobject.h	Mon Aug 12 06:17:58 2002 +0000
+++ b/Include/bufferobject.h	Mon Aug 12 07:21:58 2002 +0000
@@ -10,22 +10,22 @@
 #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
 }