Mercurial > hg > pymctf
view 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 |
line wrap: on
line source
cimport c_python cdef extern from "numpy/arrayobject.h": ctypedef class numpy.ndarray [object PyArrayObject]: cdef char *data cdef int nd cdef c_python.Py_intptr_t *dimensions cdef c_python.Py_intptr_t *strides cdef object base # descr not implemented yet here... cdef int flags cdef int itemsize cdef object weakreflist cdef void import_array()