diff options
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r-- | src/ft_init_lists.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index b6f2932..7a6eb79 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -3,12 +3,12 @@ #include <cub3d.h> #include <stdlib.h> -t_winlist -*ft_init_winlist(void) +t_win +*ft_init_win(void) { - t_winlist *wlist; + t_win *wlist; - wlist = (t_winlist*)malloc(sizeof(t_winlist)); + wlist = (t_win*)malloc(sizeof(t_win)); wlist->x_size = 800; wlist->y_size = 600; wlist->wlx = mlx_init(); @@ -18,11 +18,11 @@ t_winlist return (wlist); } -t_cublist -*ft_init_cublist(void) +t_cub +*ft_init_cub(void) { - t_cublist *clist; + t_cub *clist; - clist = (t_cublist*)malloc(sizeof(t_cublist)); + clist = (t_cub*)malloc(sizeof(t_cub)); return (clist); } |