Name numpy type enum
authorRobert Bradshaw <robertwb@math.washington.edu>
Sun, 28 Jun 2009 08:55:31 +0000 (01:55 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sun, 28 Jun 2009 08:55:31 +0000 (01:55 -0700)
Cython/Includes/numpy.pxd

index 932a7433a100d60365a2fbaa0246e9044df6773b..80690632063cf1c5307dcadac2e2b2fe16b3ac15 100644 (file)
@@ -20,7 +20,7 @@ cdef extern from "Python.h":
 cdef extern from "numpy/arrayobject.h":
     ctypedef Py_intptr_t npy_intp
         
-    cdef enum:
+    cdef enum NPY_TYPES:
         NPY_BOOL,
         NPY_BYTE, NPY_UBYTE,
         NPY_SHORT, NPY_USHORT,