2023-03-28 09:55:08 -04:00
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
|
|
|
/* ::: :::::::: */
|
|
|
|
/* data.c :+: :+: :+: */
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
/* Created: 2023/03/27 13:42:09 by cchauvet #+# #+# */
|
|
|
|
/* Updated: 2023/03/27 13:42:58 by cchauvet ### ########.fr */
|
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
2023-03-10 06:32:39 -05:00
|
|
|
#include "./data_private.h"
|
2023-03-22 09:29:32 -04:00
|
|
|
#include "data.h"
|
2023-03-10 06:32:39 -05:00
|
|
|
|
2023-03-28 09:55:08 -04:00
|
|
|
t_data *ft_get_data(void)
|
2023-03-10 06:32:39 -05:00
|
|
|
{
|
2023-03-22 09:29:32 -04:00
|
|
|
static t_data data;
|
2023-03-10 06:32:39 -05:00
|
|
|
|
2023-03-22 09:29:32 -04:00
|
|
|
return (&data);
|
2023-03-10 06:32:39 -05:00
|
|
|
}
|