diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-02-17 05:03:15 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-02-17 05:03:15 +0100 |
| commit | 0362f55a094b5ec813d940b66f397abfa13fbe49 (patch) | |
| tree | 98283bdff3d1a0bb876fc55fa535d60d4aa2a6a9 /include/libft_ht.h | |
| parent | eb0678367c5cb09b43423f77d6f1c3063fae9a91 (diff) | |
| download | libft-0362f55a094b5ec813d940b66f397abfa13fbe49.tar.gz libft-0362f55a094b5ec813d940b66f397abfa13fbe49.tar.bz2 libft-0362f55a094b5ec813d940b66f397abfa13fbe49.zip | |
amend me
Diffstat (limited to 'include/libft_ht.h')
| -rw-r--r-- | include/libft_ht.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libft_ht.h b/include/libft_ht.h index ba1b3bb..3c5ef6f 100644 --- a/include/libft_ht.h +++ b/include/libft_ht.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/01/31 10:36:09 by cacharle #+# #+# */ -/* Updated: 2020/02/17 03:06:32 by cacharle ### ########.fr */ +/* Updated: 2020/02/17 04:54:05 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -39,7 +39,7 @@ void ft_htdestroy(t_ftht *ht, void (*del)(t_ftht_content*)); void ft_htdestroy_all(t_ftht *ht); void ft_htdestroy_key(t_ftht *ht); void *ft_htget(t_ftht *ht, char *key); -t_ftht_content *ft_htset(t_ftht *ht, char *key, void *value); +t_ftht_content *ft_htset(t_ftht *ht, char *key, void *value, void (*del)(void*)); void ft_htdelone(t_ftht *ht, char *key, void (*del)(t_ftht_content*)); void ft_htdelone_key(t_ftht *ht, char *key); |
