]> granicus.if.org Git - python/commitdiff
Issue #4129: int -> Py_ssize_t documentation.
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Sat, 25 Apr 2009 20:44:58 +0000 (20:44 +0000)
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Sat, 25 Apr 2009 20:44:58 +0000 (20:44 +0000)
Doc/c-api/objbuffer.rst

index 13ccd6b5028b6162b976c3d75bbc3bebc586518c..93f5ff0f026f49fe445aaf6b735c9ec6cb246c3d 100644 (file)
@@ -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.
+