From 95670611b3636932b6e64c3e485a4e4bf40d8b07 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 18:12:45 +0100 Subject: Norme again --- src/ft_exit.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/ft_exit.c') diff --git a/src/ft_exit.c b/src/ft_exit.c index 6631c34..1e926ce 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -1,3 +1,16 @@ +/* ************************************************************************** */ +/* LE - / */ +/* / */ +/* ft_exit.c .:: .:/ . .:: */ +/* +:+:+ +: +: +:+:+ */ +/* By: rbousset +:+ +: +: +:+ */ +/* #+# #+ #+ #+# */ +/* Created: 2020/02/02 17:19:23 by rbousset #+# ## ## #+# */ +/* Updated: 2020/02/02 17:19:23 by rbousset ### #+. /#+ ###.fr */ +/* / */ +/* / */ +/* ************************************************************************** */ + #include #include #include @@ -6,7 +19,7 @@ #include static void -ft_free_lists(t_cub *clist) + ft_free_lists(t_cub *clist) { ft_memdel((void**)&clist->no_tex_path); ft_memdel((void**)&clist->so_tex_path); @@ -23,7 +36,7 @@ ft_free_lists(t_cub *clist) } int -ft_exit(uint8_t exit_code, t_cub *clist) + ft_exit(uint8_t exit_code, t_cub *clist) { if (clist->wlist->inited) mlx_destroy_window(clist->wlist->wlx, clist->wlist->winptr); -- cgit v1.2.3