diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/bytesobject.h | 1 | ||||
-rw-r--r-- | Include/object.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Include/bytesobject.h b/Include/bytesobject.h index 12ecf64..729af39 100644 --- a/Include/bytesobject.h +++ b/Include/bytesobject.h @@ -21,6 +21,7 @@ extern "C" { /* Object layout */ typedef struct { PyObject_VAR_HEAD + /* XXX(nnorwitz): should ob_exports be Py_ssize_t? */ int ob_exports; /* how many buffer exports */ Py_ssize_t ob_alloc; /* How many bytes allocated */ char *ob_bytes; diff --git a/Include/object.h b/Include/object.h index d936bca..dfabefd 100644 --- a/Include/object.h +++ b/Include/object.h @@ -147,7 +147,7 @@ typedef struct bufferinfo { Py_ssize_t len; Py_ssize_t itemsize; int readonly; - int ndim; + int ndim; /* XXX(nnorwitz): should be Py_ssize_t??? */ char *format; Py_ssize_t *shape; Py_ssize_t *strides; |