pyo3_ffi

Function PyObject_GetBuffer

Source
pub unsafe extern "C" fn PyObject_GetBuffer(
    obj: *mut PyObject,
    view: *mut Py_buffer,
    flags: c_int,
) -> c_int
Available on non-Py_3_11 and non-Py_LIMITED_API only.