feat: advancement on map parse

This commit is contained in:
B.Goulard 2024-11-18 17:25:27 +01:00
parent 7321db26d9
commit d586acba8f
11 changed files with 257 additions and 123 deletions

View file

@ -6,7 +6,7 @@
/* By: bgoulard <bgoulard@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/27 16:03:56 by bgoulard #+# #+# */
/* Updated: 2023/12/04 10:38:27 by bgoulard ### ########.fr */
/* Updated: 2024/11/18 16:38:56 by bgoulard ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,5 +15,7 @@
// return elem n
void *ft_vec_at(t_vector *vec, size_t n)
{
if (n >= vec->count)
return (NULL);
return (vec->datas[n]);
}