stack_painted

Function stack_painted 

Source
pub fn stack_painted() -> u32
Expand description

Finds the number of bytes that have not been overwritten on the stack since the last repaint.

In other words: shows the worst case free stack space since repaint_stack was last called.

Runs in O(n) where n is the size of the stack.