Remove trailing whitespace.
[cython.git] / tests / broken / r_extnumeric2.pyx
1 cdef extern from "numeric.h":
2
3     struct PyArray_Descr:
4         int type_num, elsize
5         char type
6
7     ctypedef class Numeric.ArrayType [object PyArrayObject]:
8         cdef char *data
9         cdef int nd
10         cdef int *dimensions, *strides
11         cdef object base
12         cdef PyArray_Descr *descr
13         cdef int flags
14
15 def ogle(ArrayType a):
16     print "No. of dimensions:", a.nd
17     print "  Dim Value"
18     for i in range(a.nd):
19         print "%5d %5d" % (i, a.dimensions[i])
20     print "flags:", a.flags
21     print "Type no.", a.descr.type_num
22     print "Element size:", a.descr.elsize