Skip to main content

peek_heap_mut_second

Function peek_heap_mut_second 

Source
pub unsafe fn peek_heap_mut_second<'a>(stack: *mut u64) -> Option<&'a mut Value>
Expand description

Convenience: get a mutable reference to the heap Value at sp - 2 (second from top).

ยงSafety

Stack must have at least two values. See heap_value_mut for lifetime rules.