annotate c_numpy.pxd @ 5:b235e08ebd04
cleaner recursion, eliminate parameters
author |
Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
date |
Tue, 18 Dec 2007 15:16:56 +0100 |
parents |
4214d9245f8e |
children |
|
rev |
line source |
0
|
1 cimport c_python
|
|
2
|
|
3 cdef extern from "numpy/arrayobject.h":
|
|
4 ctypedef class numpy.ndarray [object PyArrayObject]:
|
|
5 cdef char *data
|
|
6 cdef int nd
|
|
7 cdef c_python.Py_intptr_t *dimensions
|
|
8 cdef c_python.Py_intptr_t *strides
|
|
9 cdef object base
|
|
10 # descr not implemented yet here...
|
|
11 cdef int flags
|
|
12 cdef int itemsize
|
|
13 cdef object weakreflist
|
|
14
|
|
15 cdef void import_array()
|