clean up utility code a bit
authorStefan Behnel <stefan_ml@behnel.de>
Sun, 14 Apr 2013 16:42:32 +0000 (18:42 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Sun, 14 Apr 2013 16:42:32 +0000 (18:42 +0200)
Cython/Utility/MemoryView_C.c

index 422b1a9..376c5aa 100644 (file)
@@ -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,