pub type LogCallback = unsafe extern "C" fn(severity: i32, message: *const u8, size: usize);👎Deprecated since 1.1.0:
incompatible with TSDuck’s callback ABI and can cause undefined behavior; use LogCallbackUtf16
Expand description
Legacy callback declaration with an incompatible return type and message pointer.
This declaration does not match TSDuck’s void* (*)(int, const UChar*, size_t) callback ABI. Using it can cause undefined behavior. Use
LogCallbackUtf16 instead.