Resolve "Add clear function"
All threads resolved!
All threads resolved!
Closes #13 (closed)
Edited by orestis.malaspin
Merge request reports
Activity
assigned to @orestis.malaspin
added 3 commits
-
287ed7af...f39dc138 - 2 commits from branch
main
- f10345b1 - Added stack_clear function
-
287ed7af...f39dc138 - 2 commits from branch
- Resolved by orestis.malaspin
- Resolved by orestis.malaspin
added 1 commit
- 9808d031 - Moved useless headers from stack.h to stack.c
- Resolved by orestis.malaspin
- Resolved by orestis.malaspin
Actually there is something missing (I mixed the implemetations sorry :-)). In this implementation of the stack we should also resize the stack to the DEFAULT_CAPACITY when clearing it. Shouldn't we?
added 1 commit
- c0c5bb92 - Resized capacity to default when clearing stack
- Resolved by orestis.malaspin
mentioned in commit 65c59a43
Please register or sign in to reply