summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-10-08 03:32:34 +0000
committerGuido van Rossum <guido@python.org>2007-10-08 03:32:34 +0000
commit1770ad5876a50f9ed8a132dcecf867d4a53aed7a (patch)
tree27726710cc5a8a60d298cb1dd1e2c02d7ffdefa3 /Include
parent59254e3678b101261172811326cdb8cd05c1c251 (diff)
downloadcpython-1770ad5876a50f9ed8a132dcecf867d4a53aed7a.tar.gz
Delete bufferobject.[ch].
This will undoubtedly require Windows build file changes too.
Diffstat (limited to 'Include')
-rw-r--r--Include/Python.h1
-rw-r--r--Include/bufferobject.h33
2 files changed, 0 insertions, 34 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 32b2aa529c..d2bda8c534 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 639b08d865..0000000000
--- 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 */