Commit d4ee9e09 authored by jakirkham's avatar jakirkham Committed by Stefan Behnel

Fix array typecode's type

parent 12ee4a15
...@@ -59,7 +59,7 @@ cdef extern from *: # Hard-coded utility code hack. ...@@ -59,7 +59,7 @@ cdef extern from *: # Hard-coded utility code hack.
ctypedef object GETF(array a, Py_ssize_t ix) ctypedef object GETF(array a, Py_ssize_t ix)
ctypedef object SETF(array a, Py_ssize_t ix, object o) ctypedef object SETF(array a, Py_ssize_t ix, object o)
ctypedef struct arraydescr: # [object arraydescr]: ctypedef struct arraydescr: # [object arraydescr]:
int typecode char typecode
int itemsize int itemsize
GETF getitem # PyObject * (*getitem)(struct arrayobject *, Py_ssize_t); GETF getitem # PyObject * (*getitem)(struct arrayobject *, Py_ssize_t);
SETF setitem # int (*setitem)(struct arrayobject *, Py_ssize_t, PyObject *); SETF setitem # int (*setitem)(struct arrayobject *, Py_ssize_t, PyObject *);
......
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