fn check_buffer_compatibility<T: Element>(
buf: *mut c_void,
itemsize: usize,
format: &CStr,
) -> PyResult<()>Available on
Py_3_11 or non-Py_LIMITED_API only.Expand description
Check that a buffer is compatible with element type T.