diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-07-07 13:07:47 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-07-07 13:07:47 (GMT) |
commit | ee5e4cd899ece84969fc5b86d647796b93d2d9d5 (patch) | |
tree | 86112fc72de69a17a6fe7197301b87909a874cd9 /Doc/api | |
parent | bcefe698b0f82aef010e1d6a0c88485ef607618b (diff) | |
download | cpython-ee5e4cd899ece84969fc5b86d647796b93d2d9d5.zip cpython-ee5e4cd899ece84969fc5b86d647796b93d2d9d5.tar.gz cpython-ee5e4cd899ece84969fc5b86d647796b93d2d9d5.tar.bz2 |
[Bug #984017] Incorrect prototype, fixed by Timothy Stranex
Diffstat (limited to 'Doc/api')
-rw-r--r-- | Doc/api/abstract.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex index 372e2a5..50a5c59 100644 --- a/Doc/api/abstract.tex +++ b/Doc/api/abstract.tex @@ -999,7 +999,7 @@ else { \end{cfuncdesc} \begin{cfuncdesc}{int}{PyObject_AsReadBuffer}{PyObject *obj, - const char **buffer, + const void **buffer, int *buffer_len} Returns a pointer to a read-only memory location containing arbitrary data. The \var{obj} argument must support the @@ -1017,7 +1017,7 @@ else { \end{cfuncdesc} \begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj, - char **buffer, + void **buffer, int *buffer_len} Returns a pointer to a writeable memory location. The \var{obj} argument must support the single-segment, character buffer |