aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 18:12:45 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 18:12:56 +0100
commit95670611b3636932b6e64c3e485a4e4bf40d8b07 (patch)
tree77a588ad4c2b9ac84bfc124f8fab37887d7d8bf8 /src/ft_exit.c
parentNorme (diff)
download42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.tar.gz
42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.tar.bz2
42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.tar.xz
42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.tar.zst
42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.zip
Norme again
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r--src/ft_exit.c17
1 files changed, 15 insertions, 2 deletions
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 <marvin@le-101.fr> +:+ +: +: +:+ */
+/* #+# #+ #+ #+# */
+/* Created: 2020/02/02 17:19:23 by rbousset #+# ## ## #+# */
+/* Updated: 2020/02/02 17:19:23 by rbousset ### #+. /#+ ###.fr */
+/* / */
+/* / */
+/* ************************************************************************** */
+
#include <libft.h>
#include <cub3d.h>
#include <mlx.h>
@@ -6,7 +19,7 @@
#include <inttypes.h>
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);