[Bug #984017] Incorrect prototype, fixed by Timothy Stranex

This commit is contained in:
Andrew M. Kuchling 2004-07-07 13:07:47 +00:00
parent bcefe698b0
commit ee5e4cd899
1 changed files with 2 additions and 2 deletions

View File

@ -999,7 +999,7 @@ else {
\end{cfuncdesc} \end{cfuncdesc}
\begin{cfuncdesc}{int}{PyObject_AsReadBuffer}{PyObject *obj, \begin{cfuncdesc}{int}{PyObject_AsReadBuffer}{PyObject *obj,
const char **buffer, const void **buffer,
int *buffer_len} int *buffer_len}
Returns a pointer to a read-only memory location containing Returns a pointer to a read-only memory location containing
arbitrary data. The \var{obj} argument must support the arbitrary data. The \var{obj} argument must support the
@ -1017,7 +1017,7 @@ else {
\end{cfuncdesc} \end{cfuncdesc}
\begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj, \begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
char **buffer, void **buffer,
int *buffer_len} int *buffer_len}
Returns a pointer to a writeable memory location. The \var{obj} Returns a pointer to a writeable memory location. The \var{obj}
argument must support the single-segment, character buffer argument must support the single-segment, character buffer