Function retro_serialize
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn retro_serialize(
data: *mut c_void,
size: usize,
) -> bool
Expand description
Called by the frontend when the Cores state should be serialized (“save state”).
This function should return false on error.
This could also be used by a frontend to implement rewind.