From fffd37b3423720af58c416221ffbdbc5960b1439 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Mon, 9 Mar 2020 17:41:08 +0100 Subject: Norme --- src/ft_init_funptr.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/ft_init_funptr.c') diff --git a/src/ft_init_funptr.c b/src/ft_init_funptr.c index 75b3cee..f95e020 100644 --- a/src/ft_init_funptr.c +++ b/src/ft_init_funptr.c @@ -10,8 +10,27 @@ /* */ /* ************************************************************************** */ +#include #include +void + ft_init_ref(t_cub *clist) +{ + ft_sprintf(clist->ref[0], "R"); + ft_sprintf(clist->ref[1], "NO"); + ft_sprintf(clist->ref[2], "SO"); + ft_sprintf(clist->ref[3], "EA"); + ft_sprintf(clist->ref[4], "WE"); + ft_sprintf(clist->ref[5], "S"); + ft_sprintf(clist->ref[6], "F"); + ft_sprintf(clist->ref[7], "C"); + ft_sprintf(clist->ref[8], "L"); + ft_sprintf(clist->ref[9], "LT"); + ft_sprintf(clist->ref[10], "MU"); + ft_sprintf(clist->ref[11], "SH"); + ft_bzero(clist->ref[12], 3); +} + void ft_init_funptr(t_cub *clist) { -- cgit v1.2.3