Commit e477b14b authored by Stefan Behnel's avatar Stefan Behnel

Remove useless "extern" modifiers from cdef classes declared in "extern" sections.

parent b270cf36
......@@ -227,11 +227,11 @@ cdef extern from "numpy/arrayobject.h":
# this field via the inline helper method PyDataType_SHAPE.
cdef PyArray_ArrayDescr* subarray
ctypedef extern class numpy.flatiter [object PyArrayIterObject]:
ctypedef class numpy.flatiter [object PyArrayIterObject, check_size ignore]:
# Use through macros
pass
ctypedef extern class numpy.broadcast [object PyArrayMultiIterObject]:
ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
# Use through macros
pass
......@@ -915,7 +915,7 @@ cdef extern from "numpy/ufuncobject.h":
ctypedef void (*PyUFuncGenericFunction) (char **, npy_intp *, npy_intp *, void *)
ctypedef extern class numpy.ufunc [object PyUFuncObject]:
ctypedef class numpy.ufunc [object PyUFuncObject, check_size ignore]:
cdef:
int nin, nout, nargs
int identity
......
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