diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-02-19 02:51:44 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-02-19 02:51:44 +0100 |
| commit | 3c3f1115f6e9a9b914e2dcbd796501ca7ce85342 (patch) | |
| tree | 29803aac5bd1fe039b9a8179e8c2a4f07e68ec82 /README.md | |
| parent | 0362f55a094b5ec813d940b66f397abfa13fbe49 (diff) | |
| download | libft-3c3f1115f6e9a9b914e2dcbd796501ca7ce85342.tar.gz libft-3c3f1115f6e9a9b914e2dcbd796501ca7ce85342.tar.bz2 libft-3c3f1115f6e9a9b914e2dcbd796501ca7ce85342.zip | |
Tested ht*
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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 |
