summaryrefslogtreecommitdiff
path: root/numpy/__init__.pxd
diff options
context:
space:
mode:
authorjbrockmendel <jbrockmendel@gmail.com>2020-05-18 13:42:15 -0700
committerjbrockmendel <jbrockmendel@gmail.com>2020-05-21 15:03:45 -0700
commit97c157f7dd89f8517f52d865518b4a0a6de5effa (patch)
tree4b36fc44c8ecf7a0715eba895f0a748c13b45d1c /numpy/__init__.pxd
parent8cc379da170ad95eb8b5b899ee3e450526576e85 (diff)
downloadnumpy-97c157f7dd89f8517f52d865518b4a0a6de5effa.tar.gz
troubleshoot CI
Diffstat (limited to 'numpy/__init__.pxd')
-rw-r--r--numpy/__init__.pxd10
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