Note that memory returned by PyBuffer_New is not specifically aligned.

Closes SF bug #472568.
This commit is contained in:
Neil Schemenauer 2004-06-08 02:58:50 +00:00
parent 604c013ef2
commit d68d3ee3dd
1 changed files with 3 additions and 1 deletions

View File

@ -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}