Skip to main content

kr_reset

Function kr_reset 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn kr_reset(pointer: *mut Engine) -> u32
Expand description

Drop the word, its receipt, pending plans and history, and clear an invalidated session, as the adapter does on each generation change. Configuration and the selected backend survive; poisoning is permanent.

ยงSafety

pointer must meet the live unique serialized handle contract, or be null.