annotate c_numpy.pxd @ 1:b67c5ec1a9f0
import only needed modules
author |
Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
date |
Thu, 06 Sep 2007 14:15:54 +0200 |
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()
|