diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/c_numpy.pxd	Thu Sep 06 13:45:48 2007 +0200
@@ -0,0 +1,15 @@
+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()

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.