Commit 7714476a authored by Stefan Behnel's avatar Stefan Behnel

clean up utility code a bit

parent 3ee6f872
......@@ -221,8 +221,8 @@ static int
__pyx_check_suboffsets(Py_buffer *buf, int dim, int ndim, int spec)
{
/* Todo: without PyBUF_INDIRECT we may not have suboffset information, i.e., the
ptr may not be set to NULL but may be uninitialized? */
// Todo: without PyBUF_INDIRECT we may not have suboffset information, i.e., the
// ptr may not be set to NULL but may be uninitialized?
if (spec & __Pyx_MEMVIEW_DIRECT) {
if (buf->suboffsets && buf->suboffsets[dim] >= 0) {
PyErr_Format(PyExc_ValueError,
......
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