diff options
Diffstat (limited to 'src/common/stack.c')
| -rw-r--r-- | src/common/stack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/stack.c b/src/common/stack.c index 02d3207..269dbc4 100644 --- a/src/common/stack.c +++ b/src/common/stack.c @@ -26,6 +26,7 @@ void stack_destroy(t_stack *stack) void stack_push(t_stack *stack, int n) { stack->top++; + printf("%d\n", stack->top); stack->elements[stack->top] = n; } |
