clone_stack_segment

Function clone_stack_segment 

Source
pub unsafe fn clone_stack_segment(src: Stack, dst: Stack, count: usize)
Expand description

Clone a stack segment

Clones count StackValues from src to dst, handling refcounts.

ยงSafety

Both src and dst must be valid stack pointers with sufficient space for count values.