-
Notifications
You must be signed in to change notification settings - Fork 0
/
ss_sa_sb.c
21 lines (19 loc) · 1.04 KB
/
ss_sa_sb.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ss_sa_sb.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ael-khni <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/01/12 07:49:43 by ael-khni #+# #+# */
/* Updated: 2022/01/14 14:23:08 by ael-khni ### ########.fr */
/* */
/* ************************************************************************** */
#include "push_swap.h"
/* ss: swap a and swap b at the same time. */
void ss_sa_sb(t_stack *a, t_stack *b)
{
sa_swap_a(a, true);
sb_swap_b(b, true);
ft_putstr("ss\n");
}