[][src]Function bve_native::panic::bve_default_panic_handler

#[no_mangle]
pub unsafe extern "C" fn bve_default_panic_handler(
    _: *mut c_void,
    string: *const c_char
)

The default panic handler that is automatically installed. Does not touch the data pointer. Prints the string to stderr, panicking (and aborting) if it fails.

Safety

The string must be non-null per the contract of PanicHandler.