Skip to main content

kr_plan_event

Function kr_plan_event 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn kr_plan_event( pointer: *mut Engine, event: *const NativeEvent, out: *mut NativePlan, ) -> u32
Expand description

Copy a proposal out without installing its state; it becomes the only plan kr_commit accepts, replacing an earlier unacknowledged one.

ยงSafety

Handle, event and output must be live, aligned, nonaliasing C objects with their declared sizes.