Flags for the array descriptor
| 958 | |
| 959 | /// Flags for the array descriptor |
| 960 | std::uint64_t flags() const { |
| 961 | if (detail::npy_api::get().PyArray_RUNTIME_VERSION_ < 0x12) { |
| 962 | return (unsigned char) detail::array_descriptor1_proxy(m_ptr)->flags; |
| 963 | } |
| 964 | return detail::array_descriptor2_proxy(m_ptr)->flags; |
| 965 | } |
| 966 | |
| 967 | private: |
| 968 | static object &_dtype_from_pep3118() { |