diff options
author | Petr Machata <pmachata@redhat.com> | 2012-04-19 16:57:57 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 16:57:57 +0200 |
commit | 77fbb8ff4ba461c11af3678a0db7cf6a47738ff4 (patch) | |
tree | fd290ac8e079a45cc8beab0d80149a35e6208b0e /dict.h | |
parent | d2fc09dccfc18680209a918dc8cbcc1f75e41118 (diff) | |
download | ltrace-77fbb8ff4ba461c11af3678a0db7cf6a47738ff4.tar.gz |
Implement dict_remove
Diffstat (limited to 'dict.h')
-rw-r--r-- | dict.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ extern Dict *dict_init(unsigned int (*key2hash) (const void *), int (*key_cmp) (const void *, const void *)); extern void dict_clear(Dict *d); extern int dict_enter(Dict *d, void *key, void *value); +extern void *dict_remove(Dict *d, void *key); extern void *dict_find_entry(Dict *d, const void *key); extern void dict_apply_to_all(Dict *d, void (*func) (void *key, void *value, void *data), |