Mercurial > hg > pymctf
comparison c_numpy.pxd @ 0:4214d9245f8e
import
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Thu, 06 Sep 2007 13:45:48 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4214d9245f8e |
---|---|
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() |