Add function for popping all nodes from the stack
This commit is contained in:
parent
267092940d
commit
2f3e92c9be
3 changed files with 18 additions and 26 deletions
|
|
@ -94,6 +94,8 @@ StackPopResult ts_stack_pop_until(Stack *, int head_index, StackIterateCallback,
|
|||
|
||||
StackPopResult ts_stack_pop_pending(Stack *, int head_index);
|
||||
|
||||
TreeArray ts_stack_pop_all(Stack *, int head_index);
|
||||
|
||||
/*
|
||||
* Remove the given number of entries from the given head of the stack.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue