Skip to main content

PspDebugPrintHandler

Type Alias PspDebugPrintHandler 

Source
pub type PspDebugPrintHandler = Option<unsafe extern "C" fn(data: *const c_char, len: c_int) -> c_int>;
Expand description

Type for the debug print handlers

Aliased Type§

pub enum PspDebugPrintHandler {
    None,
    Some(unsafe extern "C" fn(*const i8, i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, i32) -> i32)

Some value of type T.