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

index 372e2a55a3bc922bc312a75b9dabfa747c021baa..50a5c59bd4e466d37fe690f02c43f53428e8a0d3 100644 (file)
@@ -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