aaaaaaand it's done !

algorithm finished and normed
more testing might be needed
This commit is contained in:
Tanguy MAZE
2019-04-03 17:20:29 +02:00
parent 15669b7402
commit ea0eda89d0
5 changed files with 92 additions and 152 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/27 14:56:55 by tmaze #+# #+# */
/* Updated: 2019/04/01 17:37:51 by tmaze ### ########.fr */
/* Updated: 2019/04/03 15:57:26 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -37,3 +37,13 @@ void lst_inddel(t_ind **lst)
ft_memdel((void**)&tmp);
}
}
void tablst_inddel(t_ind **tab)
{
int i;
i = 0;
while (tab[i])
lst_inddel(&(tab[i++]));
ft_memdel((void**)&tab);
}