pub type FuriThreadStdoutWriteCallback = Option<unsafe extern "C" fn(data: *const c_char, size: usize, context: *mut c_void)>;Expand description
Standard output callback function pointer type.
The function to be used as a standard output callback MUST follow this signature.
The handler MUST process ALL of the provided data before returning.
§Arguments
data(direction in) - pointer to the data to be written to the standard outsize(direction in) - size of the data in bytescontext(direction in) - optional context
Aliased Type§
pub enum FuriThreadStdoutWriteCallback {
None,
Some(unsafe extern "C" fn(*const u8, usize, *mut c_void)),
}