Commit 4d745691 authored by Remi Perenon's avatar Remi Perenon
Browse files

Avoid Cython pointer declaration warning (MMTK commit d153b89)

parent 8d906155
...@@ -19,7 +19,8 @@ cdef extern from "MMTK/arrayobject.h": ...@@ -19,7 +19,8 @@ cdef extern from "MMTK/arrayobject.h":
ctypedef struct PyArrayObject: ctypedef struct PyArrayObject:
char *data char *data
int nd int nd
int *dimensions, *strides int *dimensions
int *strides
PyObject *base PyObject *base
PyArray_Descr *descr PyArray_Descr *descr
int flags int flags
...@@ -27,7 +28,8 @@ cdef extern from "MMTK/arrayobject.h": ...@@ -27,7 +28,8 @@ cdef extern from "MMTK/arrayobject.h":
ctypedef class numpy.ndarray [object PyArrayObject]: ctypedef class numpy.ndarray [object PyArrayObject]:
cdef char *data cdef char *data
cdef int nd cdef int nd
cdef int *dimensions, *strides cdef int *dimensions
cdef int *strides
cdef object base cdef object base
cdef PyArray_Descr *descr cdef PyArray_Descr *descr
cdef int flags cdef int flags
......
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