functions standardisees, annotees et readme en cours decriture
This commit is contained in:
@@ -12,11 +12,18 @@ typedef struct s_stack
|
||||
struct s_stack *next;
|
||||
} t_stack;
|
||||
|
||||
/*
|
||||
** luke's algo
|
||||
*/
|
||||
int bubble_sort(t_stack **a, t_stack **b, t_list *solution);
|
||||
|
||||
/*
|
||||
** pushswap.c
|
||||
*/
|
||||
int check_flag(int *ac, char ***av);
|
||||
void is_valid(int ac, char **av);
|
||||
t_stack *init_stack(int ac, char **av);
|
||||
t_list *launch_algo(t_stack *stack);
|
||||
|
||||
/*
|
||||
** stop.c
|
||||
@@ -28,14 +35,13 @@ void ps_stop(t_stack *a, t_stack *b, t_list *lst, int i);
|
||||
/*
|
||||
** algo.c
|
||||
*/
|
||||
t_list *sort_algo(t_stack *stack);
|
||||
void hugo_sort(t_stack **a, t_stack **b, t_list **lst);
|
||||
|
||||
/*
|
||||
** print.c
|
||||
*/
|
||||
void fill_solution(t_stack *a, t_stack *b, t_list **lst, char *c);
|
||||
void print_stack(t_stack *stack, char c);
|
||||
void print_result(t_list *lst);
|
||||
void print_result(t_list *lst, int i);
|
||||
|
||||
|
||||
/*
|
||||
Reference in New Issue
Block a user