Type Alias simics_api_sys::PyCFunction

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.