installed plugin norminette

This commit is contained in:
hugogogo
2021-06-27 14:06:36 +02:00
parent aa65191b11
commit f3c660cfd5
4 changed files with 19 additions and 27 deletions

View File

@@ -1,4 +1,3 @@
#include "push_swap.h"
void swap(t_stack **stack)
@@ -13,21 +12,21 @@ void swap(t_stack **stack)
(*stack)->next = tmp;
}
t_list *sa(t_stack **a, t_list **solution)
t_list *sa(t_stack **a, t_list **solution)
{
swap(a);
fill_solution(*solution, "sa");
return (NULL);
}
t_list *sb(t_stack **b, t_list **solution)
t_list *sb(t_stack **b, t_list **solution)
{
swap(b);
fill_solution(*solution, "sb");
return (NULL);
}
t_list *ss(t_stack **a, t_stack **b, t_list **solution)
t_list *ss(t_stack **a, t_stack **b, t_list **solution)
{
swap(a);
swap(b);