diff options
author | Guido van Rossum <guido@python.org> | 2007-10-08 03:32:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-10-08 03:32:34 (GMT) |
commit | be801acbb1add9b6cc159f349dacad460ca5cc84 (patch) | |
tree | 597587d2dc189790573d09d1e85537ebe4720eeb /Include | |
parent | bae07c9baf3e53164de6f85a18ce747a76b9ffde (diff) | |
download | cpython-be801acbb1add9b6cc159f349dacad460ca5cc84.zip cpython-be801acbb1add9b6cc159f349dacad460ca5cc84.tar.gz cpython-be801acbb1add9b6cc159f349dacad460ca5cc84.tar.bz2 |
Delete bufferobject.[ch].
This will undoubtedly require Windows build file changes too.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/Python.h | 1 | ||||
-rw-r--r-- | Include/bufferobject.h | 33 |
2 files changed, 0 insertions, 34 deletions
diff --git a/Include/Python.h b/Include/Python.h index 32b2aa5..d2bda8c 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -76,7 +76,6 @@ #endif #include "rangeobject.h" #include "stringobject.h" -#include "bufferobject.h" #include "memoryobject.h" #include "tupleobject.h" #include "listobject.h" diff --git a/Include/bufferobject.h b/Include/bufferobject.h deleted file mode 100644 index 639b08d..0000000 --- a/Include/bufferobject.h +++ /dev/null @@ -1,33 +0,0 @@ - -/* Buffer object interface */ - -/* Note: the object's structure is private */ - -#ifndef Py_BUFFEROBJECT_H -#define Py_BUFFEROBJECT_H -#ifdef __cplusplus -extern "C" { -#endif - - -PyAPI_DATA(PyTypeObject) PyBuffer_Type; - -#define PyBuffer_Check(op) (Py_Type(op) == &PyBuffer_Type) - -#define Py_END_OF_BUFFER (-1) - -PyAPI_FUNC(PyObject *) PyBuffer_FromObject(PyObject *base, - Py_ssize_t offset, Py_ssize_t size); -PyAPI_FUNC(PyObject *) PyBuffer_FromReadWriteObject(PyObject *base, - Py_ssize_t offset, - Py_ssize_t size); - -PyAPI_FUNC(PyObject *) PyBuffer_FromMemory(void *ptr, Py_ssize_t size); -PyAPI_FUNC(PyObject *) PyBuffer_FromReadWriteMemory(void *ptr, Py_ssize_t size); - -PyAPI_FUNC(PyObject *) PyBuffer_New(Py_ssize_t size); - -#ifdef __cplusplus -} -#endif -#endif /* !Py_BUFFEROBJECT_H */ |