-
Notifications
You must be signed in to change notification settings - Fork 0
/
function.c
22 lines (20 loc) · 1.13 KB
/
function.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* function.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: muraler <[email protected]. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/02 10:48:28 by muraler #+# #+# */
/* Updated: 2022/10/02 10:48:31 by muraler ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
void ft_function(t_list **list_a, t_list **list_b, int argc, int *array)
{
ft_check_dup(argc, array);
ft_check_sort(list_a, argc);
ft_array_sort(array, argc);
ft_getting_index(list_a, array, argc);
ft_go_to_sort(list_a, list_b, argc);
}