-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
/* By: reasuke <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2024/02/11 12:41:01 by reasuke #+# #+# */ | ||
/* Updated: 2024/02/11 12:41:49 by reasuke ### ########.fr */ | ||
/* Updated: 2024/02/20 14:16:47 by reasuke ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
|
@@ -15,8 +15,17 @@ | |
|
||
# include "push_swap.h" | ||
|
||
void operate_sa(t_stack **p_a); | ||
void push_stack(t_stack **p_s1, t_stack **p_s2); | ||
void swap_stack(t_stack **p_stack); | ||
void rotate_stack(t_stack **p_stack); | ||
void reverse_rotate_stack(t_stack **p_stack); | ||
|
||
void do_single_n_operations(t_stack **p_st, int n, | ||
void (*operation)(t_stack **)); | ||
void do_double_n_operations(t_stack **p_a, t_stack **p_b, int n, | ||
void (*operation)(t_stack **, t_stack **)); | ||
|
||
void operate_sa(t_stack **p_a); | ||
void operate_sb(t_stack **p_b); | ||
void operate_ss(t_stack **p_a, t_stack **p_b); | ||
void operate_ra(t_stack **p_a); | ||
|
@@ -27,13 +36,5 @@ void operate_rrb(t_stack **p_a); | |
void operate_rrr(t_stack **p_a, t_stack **p_b); | ||
void operate_pa(t_stack **p_b, t_stack **p_a); | ||
void operate_pb(t_stack **p_a, t_stack **p_b); | ||
void do_single_n_operations(t_stack **p_st, int n, | ||
void (*operation)(t_stack **)); | ||
void do_double_n_operations(t_stack **p_a, t_stack **p_b, int n, | ||
void (*operation)(t_stack **, t_stack **)); | ||
|
||
void push_stack(t_stack **p_s1, t_stack **p_s2); | ||
void swap_stack(t_stack **p_stack); | ||
void rotate_stack(t_stack **p_stack); | ||
void reverse_rotate_stack(t_stack **p_stack); | ||
#endif |