aboutsummaryrefslogtreecommitdiff
path: root/src/common/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/common.h')
-rw-r--r--src/common/common.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/common/common.h b/src/common/common.h
index 4225d87..18ccae3 100644
--- a/src/common/common.h
+++ b/src/common/common.h
@@ -14,15 +14,17 @@ typedef struct
** stack.c
*/
-t_stack *stack_new(int size);
-void stack_destroy(t_stack *stack);
-void stack_push(t_stack *stack, int n);
-void stack_pop(t_stack *stack);
-int stack_peek(t_stack *stack);
-void stack_swap(t_stack *stack);
-void stack_push_to(t_stack *from, t_stack *to);
-void stack_rotate(t_stack *stack);
-void stack_reverse_rotate(t_stack *stack);
+t_stack *stack_new(int size);
+void stack_destroy(t_stack *stack);
+void stack_push(t_stack *stack, int n);
+void stack_pop(t_stack *stack);
+int stack_peek(t_stack *stack);
+void stack_swap(t_stack *stack);
+void stack_push_to(t_stack *from, t_stack *to);
+void stack_rotate(t_stack *stack);
+void stack_reverse_rotate(t_stack *stack);
+t_bool stack_empty(t_stack *stack);
+int stack_length(t_stack *stack);
/*
** action.c