installed plugin norminette
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user