fn ensureTotalStackCapacity(self: *@This(), height: usize) Allocator.Error!void

Pre allocate memory to hold the given number of nesting levels. stackHeight() up to the given number will not cause allocations.

Parameters

self: *@This(),
height: usize,