From 3c3f1115f6e9a9b914e2dcbd796501ca7ce85342 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 19 Feb 2020 02:51:44 +0100 Subject: Tested ht* --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index aff6c03..6984a24 100644 --- a/README.md +++ b/README.md @@ -85,14 +85,11 @@ Much like the `.gitignore` file, you can put the files/directory to ignore when | Name | Prototype | Description | Tested | |------------------|-------------------------------------------------------------------------|-----------------------------------------------------------|--------| | ft_htcontent_new | `t_ftht_content *ft_htcontent_new(char *key, void *value)` | create a new key/value pair | [x] | -| ft_htdelone | `void ft_htdelone(t_ftht *ht, char *key, void (*del)(t_ftht_content*))` | delete element at `key` | [ ] | -| ft_htdelone_key | `void ft_htdelone_key(t_ftht *ht, char *key)` | delete element at `key` and free `key` | [ ] | -| ft_htdestroy | `void ft_htdestroy(t_ftht *ht, void (*del)(t_ftht_content*))` | destroy `ht` with the `del` functions applied on values | [ ] | -| ft_htdestroy_all | `void ft_htdestroy_all(t_ftht *ht)` | destroy `ht`, free keys and values | [ ] | -| ft_htdestroy_key | `void ft_htdestroy_key(t_ftht *ht)` | destroy `ht`, free keys | [ ] | -| ft_htget | `void *ft_htget(t_ftht *ht, char *key)` | return value at `key` | [ ] | +| ft_htdelone | `void ft_htdelone(t_ftht *ht, char *key, void (*del)(t_ftht_content*))` | delete element at `key` | [x] | +| ft_htdestroy | `void ft_htdestroy(t_ftht *ht, void (*del)(t_ftht_content*))` | destroy `ht` with the `del` functions applied on values | [x] | +| ft_htget | `void *ft_htget(t_ftht *ht, char *key)` | return value at `key` | [x] | | ft_htnew | `t_ftht *ft_htnew(t_ftsize size)` | create a new hash table with a underlying array of `size` | [x] | -| ft_htset | `t_ftht_content *ft_htset(t_ftht *ht, char *key, void *value)` | set `key` to value, if element doesn't exist, create it | [ ] | +| ft_htset | `t_ftht_content *ft_htset(t_ftht *ht, char *key, void *value)` | set `key` to value, if element doesn't exist, create it | [x] | ### io -- cgit