verif flag dans launch algo

This commit is contained in:
hugogogo
2021-06-27 20:13:46 +02:00
parent fd675a88bf
commit d69bb36234
11 changed files with 4 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
push_swap

Binary file not shown.

View File

@@ -35,8 +35,10 @@ t_stack *init_stack(int ac, char **av)
return (start);
}
// the chained list "solution" is created with specials first two elements :
// they are pointers to stack a and b, so it can be accessed by fill_solution()
/*
** the chained list "solution" is created with specials first two elements :
** they are pointers to stack a and b, so it can be accessed by fill_solution()
*/
t_list *launch_algo(t_stack **a, t_stack **b, int flag)
{
t_list *solution;