diff options
author | jbrockmendel <jbrockmendel@gmail.com> | 2020-05-18 12:53:59 -0700 |
---|---|---|
committer | jbrockmendel <jbrockmendel@gmail.com> | 2020-05-21 15:03:45 -0700 |
commit | 76ead088453510c9e7a339b899b1dbd2ae3ed4d4 (patch) | |
tree | 3b26408e431b813b6ba42675fd8b9fe441dd1d1f | |
parent | 15ffea3966bab19d2390971f7254f32f150ae93f (diff) | |
download | numpy-76ead088453510c9e7a339b899b1dbd2ae3ed4d4.tar.gz |
Re-order declarations
-rw-r--r-- | numpy/__init__.pxd | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/__init__.pxd b/numpy/__init__.pxd index 721c668fa..f34d0f9d7 100644 --- a/numpy/__init__.pxd +++ b/numpy/__init__.pxd @@ -693,17 +693,17 @@ cdef extern from "numpy/ndarrayobject.h": PyTypeObject PyTimedeltaArrType_Type PyTypeObject PyDatetimeArrType_Type -cdef extern from "numpy/ndarraytypes.h": - ctypedef struct PyArray_DatetimeMetaData: - NPY_DATETIMEUNIT base - int64_t num - cdef extern from "numpy/arrayscalars.h": ctypedef struct PyDatetimeScalarObject: # PyObject_HEAD npy_datetime obval PyArray_DatetimeMetaData obmeta +cdef extern from "numpy/ndarraytypes.h": + ctypedef struct PyArray_DatetimeMetaData: + NPY_DATETIMEUNIT base + int64_t num + # Typedefs that matches the runtime dtype objects in # the numpy module. |