Issue #4129: int -> Py_ssize_t documentation.

This commit is contained in:
Jeroen Ruigrok van der Werven 2009-04-25 20:44:58 +00:00
parent 27d51f1a51
commit 9594c2c5aa
1 changed files with 12 additions and 0 deletions

View 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.