Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcefe69 commit ee5e4cdCopy full SHA for ee5e4cd
1 file changed
Doc/api/abstract.tex
@@ -999,7 +999,7 @@ \section{Buffer Protocol \label{abstract-buffer}}
999
\end{cfuncdesc}
1000
1001
\begin{cfuncdesc}{int}{PyObject_AsReadBuffer}{PyObject *obj,
1002
- const char **buffer,
+ const void **buffer,
1003
int *buffer_len}
1004
Returns a pointer to a read-only memory location containing
1005
arbitrary data. The \var{obj} argument must support the
@@ -1017,7 +1017,7 @@ \section{Buffer Protocol \label{abstract-buffer}}
1017
1018
1019
\begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
1020
- char **buffer,
+ void **buffer,
1021
1022
Returns a pointer to a writeable memory location. The \var{obj}
1023
argument must support the single-segment, character buffer
0 commit comments