ca remarche et c compatible avec luke
This commit is contained in:
@@ -22,55 +22,47 @@ t_stack *init_stack(int ac, char **av);
|
||||
** stop.c
|
||||
*/
|
||||
void ps_usage(void);
|
||||
void ps_error(int err);
|
||||
void ps_stop(t_stack *stb, t_stack *sta, t_list *lst, int i);
|
||||
void ps_error(int i);
|
||||
void ps_stop(t_stack *a, t_stack *b, t_list *lst, int i);
|
||||
|
||||
/*
|
||||
** algo.c
|
||||
*/
|
||||
t_list *sort_algo(t_stack *stack, int i);
|
||||
t_list *sort_algo(t_stack *stack);
|
||||
|
||||
/*
|
||||
** print.c
|
||||
*/
|
||||
void print_result(t_list *result);
|
||||
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);
|
||||
|
||||
|
||||
/*
|
||||
** swap
|
||||
*/
|
||||
void sa(t_list *pack);
|
||||
void sb(t_list *pack);
|
||||
void ss(t_list *pack);
|
||||
t_list *sa(t_stack **stack, t_list **lst);
|
||||
t_list *sb(t_stack **stack, t_list **lst);
|
||||
t_list *ss(t_stack **a, t_stack **b, t_list **lst);
|
||||
|
||||
/*
|
||||
** push
|
||||
*/
|
||||
/*
|
||||
int push(t_list **dst, t_list **src);
|
||||
int pa();
|
||||
int pb();
|
||||
*/
|
||||
t_list *pa(t_stack **dst, t_stack **src, t_list **lst);
|
||||
t_list *pb(t_stack **dst, t_stack **src, t_list **lst);
|
||||
|
||||
/*
|
||||
** rotate
|
||||
*/
|
||||
/*
|
||||
int rotate(t_list **list);
|
||||
int ra();
|
||||
int rb();
|
||||
int rr();
|
||||
*/
|
||||
t_list *ra(t_stack **stack, t_list **lst);
|
||||
t_list *rb(t_stack **stack, t_list **lst);
|
||||
t_list *rr(t_stack **a, t_stack **b, t_list **lst);
|
||||
|
||||
/*
|
||||
** reverse rotate
|
||||
*/
|
||||
/*
|
||||
int reverse_rotate(t_list **list);
|
||||
int rra();
|
||||
int rrb();
|
||||
int rrr();
|
||||
*/
|
||||
t_list *rra(t_stack **stack, t_list **lst);
|
||||
t_list *rrb(t_stack **stack, t_list **lst);
|
||||
t_list *rrr(t_stack **a, t_stack **b, t_list **lst);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user