-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_moves_p.c
25 lines (22 loc) · 1.13 KB
/
ft_moves_p.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_moves_p.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lfrank <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/13 15:07:33 by lfrank #+# #+# */
/* Updated: 2023/03/13 15:23:47 by lfrank ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
void ft_pa(t_node **first_node_a, t_node **first_node_b)
{
ft_push(first_node_b, first_node_a);
write (1, "pa\n", 3);
}
void ft_pb(t_node **first_node_a, t_node **first_node_b)
{
ft_push(first_node_a, first_node_b);
write (1, "pb\n", 3);
}