flipperzero_sys

Type Alias FreeCallback

Source
pub type FreeCallback = Option<unsafe extern "C" fn(free_context: *mut c_void)>;
Expand description

Free callback type

Aliased Type§

enum FreeCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void))

Some value of type T.