-
Notifications
You must be signed in to change notification settings - Fork 0
/
core.c
27 lines (23 loc) · 1.1 KB
/
core.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
26
27
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* core.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lpaulo-m <lpaulo-m@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/03/05 16:14:41 by lpaulo-m #+# #+# */
/* Updated: 2022/08/11 16:17:01 by lpaulo-m ### ########.fr */
/* */
/* ************************************************************************** */
#include <push_swap.h>
t_push_swap *c(void)
{
static t_push_swap __control_instance;
return (&__control_instance);
}
void initialize_control(int argc, char **argv)
{
c()->verbose = false;
c()->argc = argc;
c()->argv = argv;
}