diff options
author | jbrockmendel <jbrockmendel@gmail.com> | 2020-05-18 13:42:15 -0700 |
---|---|---|
committer | jbrockmendel <jbrockmendel@gmail.com> | 2020-05-21 15:03:45 -0700 |
commit | 97c157f7dd89f8517f52d865518b4a0a6de5effa (patch) | |
tree | 4b36fc44c8ecf7a0715eba895f0a748c13b45d1c /numpy/__init__.pxd | |
parent | 8cc379da170ad95eb8b5b899ee3e450526576e85 (diff) | |
download | numpy-97c157f7dd89f8517f52d865518b4a0a6de5effa.tar.gz |
troubleshoot CI
Diffstat (limited to 'numpy/__init__.pxd')
-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 fcc4fc8cb..c288ba223 100644 --- a/numpy/__init__.pxd +++ b/numpy/__init__.pxd @@ -835,6 +835,11 @@ cdef extern from "numpy/ndarrayobject.h": ctypedef int64_t npy_timedelta ctypedef int64_t npy_datetime +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 @@ -846,11 +851,6 @@ cdef extern from "numpy/arrayscalars.h": npy_timedelta obval PyArray_DatetimeMetaData obmeta -cdef extern from "numpy/ndarraytypes.h": - ctypedef struct PyArray_DatetimeMetaData: - NPY_DATETIMEUNIT base - int64_t num - ctypedef enum NPY_DATETIMEUNIT: NPY_FR_Y NPY_FR_M |