We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e261cb8 commit 30c4be1Copy full SHA for 30c4be1
src/dtype.rs
@@ -132,6 +132,9 @@ impl DataType {
132
DataType::Int8 => NPY_TYPES::NPY_BYTE,
133
DataType::Int16 => NPY_TYPES::NPY_SHORT,
134
DataType::Int32 => NPY_TYPES::NPY_INT,
135
+ #[cfg(all(target_pointer_width = "64", not(windows)))]
136
+ DataType::Int64 => NPY_TYPES::NPY_LONG,
137
+ #[cfg(any(target_pointer_width = "32", windows))]
138
DataType::Int64 => NPY_TYPES::NPY_LONGLONG,
139
DataType::Uint8 => NPY_TYPES::NPY_UBYTE,
140
DataType::Uint16 => NPY_TYPES::NPY_USHORT,
0 commit comments