diff options
author | antirez <antirez@gmail.com> | 2010-04-16 10:04:51 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-04-16 10:04:51 +0200 |
commit | 58e1c9c143e9c5f108ca1863bdd61fc5e02dc968 (patch) | |
tree | 769a0072b3fa4d03b3b657c1d3575dbf01d64338 /dict.h | |
parent | d4dd6556c3925ae26b1fce142158b3243eda39a7 (diff) | |
download | redis-58e1c9c143e9c5f108ca1863bdd61fc5e02dc968.tar.gz |
added dictFetchValue() to dict.c to make hash table API a bit less verbose in the common cases
Diffstat (limited to 'dict.h')
-rw-r--r-- | dict.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -129,6 +129,7 @@ int dictDelete(dict *d, const void *key); int dictDeleteNoFree(dict *d, const void *key); void dictRelease(dict *d); dictEntry * dictFind(dict *d, const void *key); +void *dictFetchValue(dict *d, const void *key); int dictResize(dict *d); dictIterator *dictGetIterator(dict *d); dictEntry *dictNext(dictIterator *iter); |