Mercurial > hg > pymctf
annotate c_numpy.pxd @ 4:4fc1d403ad14
fix in apply_mc_all()
| author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
|---|---|
| date | Tue, 18 Dec 2007 10:09:28 +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() |
