Pike v8.0 release 1738

Method ADT.Stack()->reset()


Method reset

void reset(int|void initial_size)

Description

Empties the stack, resets the stack pointer and shrinks the stack size to the given value or 32 if none is given.

See also

create