Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee5e4cd

Browse files
committed
[Bug #984017] Incorrect prototype, fixed by Timothy Stranex
1 parent bcefe69 commit ee5e4cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/api/abstract.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ \section{Buffer Protocol \label{abstract-buffer}}
999999
\end{cfuncdesc}
10001000

10011001
\begin{cfuncdesc}{int}{PyObject_AsReadBuffer}{PyObject *obj,
1002-
const char **buffer,
1002+
const void **buffer,
10031003
int *buffer_len}
10041004
Returns a pointer to a read-only memory location containing
10051005
arbitrary data. The \var{obj} argument must support the
@@ -1017,7 +1017,7 @@ \section{Buffer Protocol \label{abstract-buffer}}
10171017
\end{cfuncdesc}
10181018

10191019
\begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
1020-
char **buffer,
1020+
void **buffer,
10211021
int *buffer_len}
10221022
Returns a pointer to a writeable memory location. The \var{obj}
10231023
argument must support the single-segment, character buffer

0 commit comments

Comments
 (0)