diff options
Diffstat (limited to 'stack.c')
-rw-r--r-- | stack.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -77,3 +77,7 @@ void stack_pick(stack *s) { stack_push(s, 0); } } + +void stack_clear(stack* s) { + s->size = 0; +} |
![]() |
index : forth | |
Forth-like stack-based language | [email protected] |
aboutsummaryrefslogtreecommitdiffstats |