[][src]Function bve_native::panic::bve_set_panic_data

#[no_mangle]
pub unsafe extern "C" fn bve_set_panic_data(data: *mut c_void)

Sets the data passed to the panic handler.

Safety

  • If the installed panic handler touches this data, it must be non-null and point to the data it expects
  • There is a minor race between this function and bve_set_panic_handler. See module documentation.