a la norme
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
#include "push_swap.h"
|
||||
|
||||
void push(t_stack **dst, t_stack **src)
|
||||
@@ -15,14 +14,14 @@ void push(t_stack **dst, t_stack **src)
|
||||
*dst = tmp1;
|
||||
}
|
||||
|
||||
t_list *pa(t_stack **a, t_stack **b, t_list **solution)
|
||||
t_list *pa(t_stack **a, t_stack **b, t_list **solution)
|
||||
{
|
||||
push(a, b);
|
||||
fill_solution(*solution, "pa");
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
t_list *pb(t_stack **b, t_stack **a, t_list **solution)
|
||||
t_list *pb(t_stack **b, t_stack **a, t_list **solution)
|
||||
{
|
||||
push(b, a);
|
||||
fill_solution(*solution, "pb");
|
||||
|
||||
Reference in New Issue
Block a user