]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[Bug #984017] Incorrect prototype, fixed by Timothy Stranex
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 7 Jul 2004 13:08:47 +0000 (13:08 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 7 Jul 2004 13:08:47 +0000 (13:08 +0000)
Doc/api/abstract.tex

index 60522faf5ffdd3f83b76e47b2b442567af3d2db0..e689d5ee8db1b79ca20399055b31529bf244630e 100644 (file)
@@ -992,7 +992,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
@@ -1010,7 +1010,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