-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
25 lines (22 loc) · 1.07 KB
/
main.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
/* ************************************************************************** */
/* */
/* :::::::: */
/* main.c :+: :+: */
/* +:+ */
/* By: pacovali <marvin@codam.nl> +#+ */
/* +#+ */
/* Created: 2019/01/12 18:56:23 by pacovali #+# #+# */
/* Updated: 2019/01/23 17:53:36 by pacovali ######## odam.nl */
/* */
/* ************************************************************************** */
#include "./includes/rtv1.h"
int main(int argc, char **argv)
{
t_all *all;
if (argc != 2)
error_handle(1);
all = new_all(argv[1]);
handle_events(all);
mlx_loop(all->win->mlx_ptr);
return (0);
}