-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.h
37 lines (33 loc) · 1.36 KB
/
main.h
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
28
29
30
31
32
33
34
35
36
37
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchaumar <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/02/06 13:03:57 by cchaumar #+# #+# */
/* Updated: 2016/03/07 23:14:32 by hmartzol ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MAIN_H
# define MAIN_H
# include <stdlib.h>
# include <unistd.h>
# include <fcntl.h>
# include <libft.h>
# define USE "usage: fillit source_file\n"
# define ERR "error\n"
# define BLOC '#'
# define EMPT '.'
# define LINE '\n'
# define LMASK (unsigned long long)0x8000800080008000
typedef struct s_tet
{
unsigned long long blocs;
t_point pos;
struct s_tet *ident;
unsigned char xmax;
unsigned char ymax;
} t_tet;
void solve(int fd, int size, int n);
#endif