pub unsafe extern "C" fn getbufferproc<Meth: MethodDef<Func>>(
slf: *mut PyObject,
buf: *mut Py_buffer,
flags: c_int,
) -> c_intExpand description
External symbol called by Python, which calls the provided Rust function.
The Rust function is supplied via the generic parameter Meth.
§Safety
The interpreter must be attached