Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
mmtk
Commits
4d745691
Commit
4d745691
authored
Feb 06, 2019
by
Remi Perenon
Browse files
Avoid Cython pointer declaration warning (MMTK commit d153b89)
parent
8d906155
Changes
1
Hide whitespace changes
Inline
Side-by-side
Include/MMTK/numeric.pxi
View file @
4d745691
...
...
@@ -19,7 +19,8 @@ cdef extern from "MMTK/arrayobject.h":
ctypedef
struct
PyArrayObject
:
char
*
data
int
nd
int
*
dimensions
,
*
strides
int
*
dimensions
int
*
strides
PyObject
*
base
PyArray_Descr
*
descr
int
flags
...
...
@@ -27,7 +28,8 @@ cdef extern from "MMTK/arrayobject.h":
ctypedef
class
numpy
.
ndarray
[
object
PyArrayObject
]:
cdef
char
*
data
cdef
int
nd
cdef
int
*
dimensions
,
*
strides
cdef
int
*
dimensions
cdef
int
*
strides
cdef
object
base
cdef
PyArray_Descr
*
descr
cdef
int
flags
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment