Skip to main content

kr_commit

Function kr_commit 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn kr_commit( pointer: *mut Engine, token: u64, outcome: u32, ) -> u32
Expand description

Acknowledge the latest plan; refused and unknown outcomes invalidate the session until kr_reset. A stale token changes nothing.

ยงSafety

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