X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/ed9b544e10b84cd43348ddfab7068b610a5df1f7..40d224a9e3df29e27e967ec2f1b9b0ecf66df50f:/dict.h?ds=sidebyside diff --git a/dict.h b/dict.h index ae634b49..2e58fd84 100644 --- a/dict.h +++ b/dict.h @@ -107,8 +107,8 @@ typedef struct dictIterator { #define dictGetEntryKey(he) ((he)->key) #define dictGetEntryVal(he) ((he)->val) -#define dictGetHashTableSize(ht) ((ht)->size) -#define dictGetHashTableUsed(ht) ((ht)->used) +#define dictSlots(ht) ((ht)->size) +#define dictSize(ht) ((ht)->used) /* API */ dict *dictCreate(dictType *type, void *privDataPtr);