Commit d68d3ee3 authored by Neil Schemenauer's avatar Neil Schemenauer

Note that memory returned by PyBuffer_New is not specifically aligned.

Closes SF bug #472568.
parent 604c013e
......@@ -1565,7 +1565,9 @@ format.
\begin{cfuncdesc}{PyObject*}{PyBuffer_New}{int size}
Returns a new writable buffer object that maintains its own memory
buffer of \var{size} bytes. \exception{ValueError} is returned if
\var{size} is not zero or positive.
\var{size} is not zero or positive. Note that the memory buffer (as
returned by \cfunction{PyObject_AsWriteBuffer()}) is not specifically
aligned.
\end{cfuncdesc}
......
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