diff options
Diffstat (limited to 'Include/object.h')
| -rw-r--r-- | Include/object.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h index dfabefdd83..9dd100f933 100644 --- a/Include/object.h +++ b/Include/object.h @@ -145,9 +145,10 @@ typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *); typedef struct bufferinfo { void *buf; Py_ssize_t len; - Py_ssize_t itemsize; + Py_ssize_t itemsize; /* This is Py_ssize_t so it can be + pointed to by strides in simple case.*/ int readonly; - int ndim; /* XXX(nnorwitz): should be Py_ssize_t??? */ + int ndim; char *format; Py_ssize_t *shape; Py_ssize_t *strides; |
