diff options
| author | nass1pro <nass1pro@gmail.com> | 2020-06-12 10:12:03 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-06-13 11:42:46 +0200 |
| commit | c5cde6afd3cecb44bbe9da0c28d970524da80228 (patch) | |
| tree | 98ec558582ed20a120e13b4a376fd206fb620da0 /test_mini/libft/include/libft_vec.h | |
| parent | 39c04561ae4956cb836c6117789cbc7926cfbd65 (diff) | |
| download | minishell-c5cde6afd3cecb44bbe9da0c28d970524da80228.tar.gz minishell-c5cde6afd3cecb44bbe9da0c28d970524da80228.tar.bz2 minishell-c5cde6afd3cecb44bbe9da0c28d970524da80228.zip | |
probleme
token ok reste trim and exception
ok
Diffstat (limited to 'test_mini/libft/include/libft_vec.h')
| -rw-r--r-- | test_mini/libft/include/libft_vec.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/test_mini/libft/include/libft_vec.h b/test_mini/libft/include/libft_vec.h deleted file mode 100644 index f9199ba..0000000 --- a/test_mini/libft/include/libft_vec.h +++ /dev/null @@ -1,47 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* libft_vec.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/04/01 18:57:16 by charles #+# #+# */ -/* Updated: 2020/04/01 22:53:33 by charles ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef LIBFT_VEC_H -# define LIBFT_VEC_H - -/* -** \file libft_vec.h -** \brief Vector manipulation -*/ - -# include <stdlib.h> -# include <stddef.h> -# include "libft_mem.h" - -/* -** \brief Vector struct -** \param data Underlying array -** \param capacity Size of the underlying array -** \param size Number of element in the vector -*/ - -typedef struct s_ftvec -{ - void **data; - size_t capacity; - size_t size; -} t_ftvec; - -t_ftvec *ft_vecnew(size_t capacity); -void ft_vecdestroy(t_ftvec *vec, void (*del)(void *elem)); -t_ftvec *ft_vecgrow(t_ftvec *vec); -t_ftvec *ft_vecpush(t_ftvec *vec, void *pushed); -void ft_vecpop(t_ftvec *vec, void (*del)(void *elem)); -void ft_veciter(t_ftvec *vec, void (*f)(void *elem)); -void ft_vecremove(t_ftvec *vec, size_t i, void (*del)(void *elem)); - -#endif |
