ps_stop fonctionne

This commit is contained in:
hugogogo
2021-06-11 20:56:15 +02:00
parent 9ddf8ab304
commit 1993a9a85d
11 changed files with 33 additions and 25 deletions

View File

@@ -15,22 +15,27 @@ typedef struct s_stack
/*
** pushswap.c
*/
void is_valid(int ac, char **av)
t_stack *init_stack(int ac, char **av)
void print_stack(t_stack *stack)
void is_valid(int ac, char **av);
t_stack *init_stack(int ac, char **av);
/*
** stop.c
*/
void ps_usage(void);
void ps_error(int err);
void stop(t_stack *stb, t_stack *sta, t_list *lst, int i);
void ps_stop(t_stack *stb, t_stack *sta, t_list *lst, int i);
/*
** algo.c
*/
t_list *sort_algo(t_stack *stack);
/*
** print.c
*/
void print_stack(t_stack *stack);
/*
** swap
*/