mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
Excise DL_EXPORT from Include.
Thanks to Skip Montanaro and Kalle Svensson for the patches.
This commit is contained in:
parent
44121a6bc9
commit
91a681debf
51 changed files with 661 additions and 665 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue