Improve ft_vec_erase and ft_vec_free
authorLukas Jiriste <ljiriste@student.42prague.com>
Sun, 10 Dec 2023 14:01:59 +0000 (15:01 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Sun, 10 Dec 2023 14:01:59 +0000 (15:01 +0100)
commit0f2a329d9d76ddc77d22899ab8badfedadc78527
tree7f45c785fbe72b76905874335d61cf3983c93cd2
parent4efe200b336914d33bce1b1c4fcadc4fa002a5bd
Improve ft_vec_erase and ft_vec_free

Add function for freeing element to ft_vec_erase and ft_vec_free for the
ability to handle advanced elements (elements which may point to heap).
ft_vec/ft_vec_erase.c
ft_vec/ft_vec_free.c
inc/ft_vec.h