Swap discard stack for new stack

This commit is contained in:
Rickey Fehr
2026-05-23 13:09:19 -07:00
parent fbe1b1e9ec
commit c8d0ededc9
2 changed files with 10 additions and 25 deletions

View File

@@ -14,7 +14,7 @@ bool stack_empty(Stack* stack)
int stack_len(Stack* stack)
{
return stack->top + 1;
}
void stack_push(Stack* stack, void* data)