summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-04-25 20:44:58 (GMT)
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-04-25 20:44:58 (GMT)
commit9594c2c5aa674624af861fdad95cb9eed7f575e1 (patch)
treea089bb29bd567deafaecbc2f8246a504f45172db /Doc/c-api
parent27d51f1a5185ef3158baaee704b03c46eaf22187 (diff)
downloadcpython-9594c2c5aa674624af861fdad95cb9eed7f575e1.zip
cpython-9594c2c5aa674624af861fdad95cb9eed7f575e1.tar.gz
cpython-9594c2c5aa674624af861fdad95cb9eed7f575e1.tar.bz2
Issue #4129: int -> Py_ssize_t documentation.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/objbuffer.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/c-api/objbuffer.rst b/Doc/c-api/objbuffer.rst
index 13ccd6b..93f5ff0 100644
--- a/Doc/c-api/objbuffer.rst
+++ b/Doc/c-api/objbuffer.rst
@@ -23,6 +23,10 @@ shortcomings of the protocol, and has been backported to Python 2.6. See
.. versionadded:: 1.6
+ .. versionchanged:: 2.5
+ This function used an :ctype:`int *` type for *buffer_len*. This might
+ require changes in your code for properly supporting 64-bit systems.
+
.. cfunction:: int PyObject_AsReadBuffer(PyObject *obj, const void **buffer, Py_ssize_t *buffer_len)
@@ -34,6 +38,10 @@ shortcomings of the protocol, and has been backported to Python 2.6. See
.. versionadded:: 1.6
+ .. versionchanged:: 2.5
+ This function used an :ctype:`int *` type for *buffer_len*. This might
+ require changes in your code for properly supporting 64-bit systems.
+
.. cfunction:: int PyObject_CheckReadBuffer(PyObject *o)
@@ -52,3 +60,7 @@ shortcomings of the protocol, and has been backported to Python 2.6. See
.. versionadded:: 1.6
+ .. versionchanged:: 2.5
+ This function used an :ctype:`int *` type for *buffer_len*. This might
+ require changes in your code for properly supporting 64-bit systems.
+