From c98de126d2252fe47dc2a9094a5f9a8fa6b4b60a Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 11 Oct 2020 15:52:52 +0200 Subject: Removing libft/minishell_test submodules, Removing subject/README/etc --- libft/src/vec/ft_vecunwrap.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libft/src/vec/ft_vecunwrap.c (limited to 'libft/src/vec/ft_vecunwrap.c') diff --git a/libft/src/vec/ft_vecunwrap.c b/libft/src/vec/ft_vecunwrap.c new file mode 100644 index 0000000..c1ab476 --- /dev/null +++ b/libft/src/vec/ft_vecunwrap.c @@ -0,0 +1,22 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_vecunwrap.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: charles +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/06/09 13:49:50 by charles #+# #+# */ +/* Updated: 2020/06/09 13:50:33 by charles ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "libft_vec.h" + +void **ft_vecunwrap(t_ftvec *vec) +{ + void **tmp; + + tmp = vec->data; + free(vec); + return (tmp); +} -- cgit