| 699 | /// Returns true for structured data types. |
| 700 | #ifdef PYBIND11_NUMPY_1_ONLY |
| 701 | bool has_fields() const { return detail::array_descriptor_proxy(m_ptr)->names != nullptr; } |
| 702 | #else |
| 703 | bool has_fields() const { |
| 704 | if (detail::npy_api::get().PyArray_RUNTIME_VERSION_ < 0x12) { |
nothing calls this directly
no test coverage detected