Skip to main content

LogCallbackUtf16

Type Alias LogCallbackUtf16 

Source
pub type LogCallbackUtf16 = unsafe extern "C" fn(severity: i32, message: *const UChar, message_bytes: usize) -> *mut c_void;
Expand description

Callback with the ABI expected by synchronous and asynchronous TSDuck reports.

message borrows message_bytes bytes of native-endian UTF-16 for the duration of the call. TSDuck 3.44 ignores the return value; return a null pointer. Contain panics before returning to native code.