This commit is contained in:
Leo Firmin
2025-10-05 06:31:06 +02:00
parent 8eea3162d5
commit a3e025e6b9
57 changed files with 189 additions and 11 deletions
-1
View File
@@ -32,4 +32,3 @@ void free_data(t_data *data)
if (data->texture)
free(data->texture);
}
+8
View File
@@ -34,4 +34,12 @@ void free_char_array(char **array)
while (array[i])
free(array[i++]);
free(array);
}
int ft_arrlen(char **arr)
{
int i;
while(arr[i])
i++;
return (i);
}