[Python-checkins] r66471 - peps/trunk/pep-3118.txt
benjamin.peterson
python-checkins at python.org
Tue Sep 16 01:30:15 CEST 2008
Author: benjamin.peterson
Date: Tue Sep 16 01:30:15 2008
New Revision: 66471
Log:
PyObject_ReleaseBuffer is now PyBuffer_Release
Modified:
peps/trunk/pep-3118.txt
Modified: peps/trunk/pep-3118.txt
==============================================================================
--- peps/trunk/pep-3118.txt (original)
+++ peps/trunk/pep-3118.txt Tue Sep 16 01:30:15 2008
@@ -465,7 +465,7 @@
::
- void PyObject_ReleaseBuffer(PyObject *obj, Py_buffer *view)
+ void PyBuffer_Release(PyObject *obj, Py_buffer *view)
This is a C-API version of the releasebuffer function call. It checks
to make sure the object has the required function pointer and issues
@@ -935,7 +935,7 @@
/* After using the information and you don't need it anymore */
- if (PyObject_ReleaseBuffer(obj, &view) < 0) {
+ if (PyBuffer_Release(obj, &view) < 0) {
/* error return */
}
More information about the Python-checkins
mailing list