[−][src]Type Definition bve_native::panic::PanicHandler
type PanicHandler = unsafe extern "C" fn(_: *mut c_void, _: *const c_char);
Function pointer type for the Panic Handler.
Arguments
void*
: The data pointer provided usingbve_set_panic_data
. Allowed to be null.const char*
: String containing human readable information about the panic, including a backtrace. Will never be null.
Safety
Always allow void*
to be null. You may assume the string is never null, utf8, and null terminated.