mise en place des fichiers
This commit is contained in:
@@ -9,20 +9,36 @@
|
||||
typedef struct s_stack
|
||||
{
|
||||
int n;
|
||||
struct s_list *next;
|
||||
struct s_stack *next;
|
||||
} t_stack;
|
||||
|
||||
void ps_error(int i);
|
||||
void ps_clean(t_stack *stack, int i);
|
||||
/*
|
||||
** pushswap.c
|
||||
*/
|
||||
void is_valid(int ac, char **av)
|
||||
t_stack *init_stack(int ac, char **av)
|
||||
void print_stack(t_stack *stack)
|
||||
|
||||
/*
|
||||
** stop.c
|
||||
*/
|
||||
void ps_usage(void);
|
||||
void ps_error(int err);
|
||||
void stop(t_stack *stb, t_stack *sta, t_list *lst, int i);
|
||||
|
||||
/*
|
||||
** algo.c
|
||||
*/
|
||||
t_list *sort_algo(t_stack *stack);
|
||||
|
||||
/*
|
||||
** swap
|
||||
*/
|
||||
/*
|
||||
int swap(t_list **list);
|
||||
int sa();
|
||||
int sb();
|
||||
int ss();
|
||||
void sa();
|
||||
void sb();
|
||||
void ss();
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user