Type Alias simics_api_sys::getbufferproc

source ·
pub type getbufferproc = Option<unsafe extern "C" fn(arg1: *mut PyObject, arg2: *mut Py_buffer, arg3: c_int) -> c_int>;

Aliased Type§

enum getbufferproc {
    None,
    Some(unsafe extern "C" fn(_: *mut _object, _: *mut bufferinfo, _: i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut _object, _: *mut bufferinfo, _: i32) -> i32)

Some value of type T.