Skip to main content

patch_seq_roll

Function patch_seq_roll 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_roll(stack: *mut u64) -> *mut u64
Expand description

Roll: Rotate n+1 items, bringing the item at depth n to the top.

ยงSafety

Stack must have at least n+2 values (n+1 data values plus the index).