Searched refs:dtype_ptr (Results 1 – 1 of 1) sorted by relevance
86 PyObject* dtype_ptr; member1120 auto dtype_ptr = pybind11::dtype(names, formats, offsets, itemsize).release().ptr();1151 if (!api.PyArray_EquivTypes_(dtype_ptr, arr.dtype().ptr()))1155 numpy_internals.registered_dtypes[tindex] = { dtype_ptr, format_str };1165 return reinterpret_borrow<pybind11::dtype>(dtype_ptr());1179 static PyObject* dtype_ptr() {1180 static PyObject* ptr = get_numpy_internals().get_type_info<T>(true)->dtype_ptr;1189 if (api.PyArray_EquivTypes_(dtype_ptr(), descr.ptr())) {