From: Andrew M. Kuchling Date: Wed, 7 Jul 2004 13:07:47 +0000 (+0000) Subject: [Bug #984017] Incorrect prototype, fixed by Timothy Stranex X-Git-Tag: v2.4a1~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee5e4cd899ece84969fc5b86d647796b93d2d9d5;p=python [Bug #984017] Incorrect prototype, fixed by Timothy Stranex --- diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex index 372e2a55a3..50a5c59bd4 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