Type Alias simics_api_sys::Py_tracefunc

source ·
pub type Py_tracefunc = Option<unsafe extern "C" fn(arg1: *mut PyObject, arg2: *mut PyFrameObject, arg3: c_int, arg4: *mut PyObject) -> c_int>;
Expand description

Py_tracefunc return -1 when raising an exception, or 0 for success.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.