Type Alias simics_api_sys::bindings::allocfunc

source ·
pub type allocfunc = Option<unsafe extern "C" fn(arg1: *mut PyTypeObject, arg2: Py_ssize_t) -> *mut PyObject>;

Aliased Type§

enum allocfunc {
    None,
    Some(unsafe extern "C" fn(_: *mut _typeobject, _: isize) -> *mut _object),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.