diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-02-14 03:46:08 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-02-14 03:46:08 +0100 |
| commit | 9af2885d872de9c60b11159efe0685738031096d (patch) | |
| tree | 813183555eae5d0a84f11d7be3178d07b3d5f9d9 /include/libft_ht.h | |
| parent | adbcf69ed50ea3896d4bbe863ea5d214ae5a0299 (diff) | |
| download | libft-9af2885d872de9c60b11159efe0685738031096d.tar.gz libft-9af2885d872de9c60b11159efe0685738031096d.tar.bz2 libft-9af2885d872de9c60b11159efe0685738031096d.zip | |
Added documentation for all functions and refactored ft_strjoin_free -> ft_strjoinf
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 8551ddb..8eda59c 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/01/31 10:41:24 by cacharle ### ########.fr */ +/* Updated: 2020/02/14 02:14:57 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -38,7 +38,7 @@ t_ftht *ft_htnew(t_ftsize size); 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); -t_ftht_content *ft_htget(t_ftht *ht, char *key); +void *ft_htget(t_ftht *ht, char *key); t_ftht_content *ft_htset(t_ftht *ht, char *key, void *value); void ft_htdelone(t_ftht *ht, char *key, void (*del)(t_ftht_content*)); |
