-
Notifications
You must be signed in to change notification settings - Fork 0
/
rr_ra_rb.c
21 lines (19 loc) · 1.05 KB
/
rr_ra_rb.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* rr_ra_rb.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ael-khni <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/01/12 07:57:40 by ael-khni #+# #+# */
/* Updated: 2022/01/14 14:18:14 by ael-khni ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
/* rr: rotate a and rotate b at the same time. */
void rr_ra_rb(t_stack *a, t_stack *b)
{
ra_rotate_a(a, true);
rb_rotate_b(b, true);
ft_putstr("rr\n");
}