Commit ee5e4cd8 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

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

parent bcefe698
...@@ -999,7 +999,7 @@ else { ...@@ -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 { ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment