mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
64 bit instances are no longer limited to have at max 2^32-1 elements in lists.
This commit is contained in:
@ -50,7 +50,7 @@ typedef struct list {
|
||||
void *(*dup)(void *ptr);
|
||||
void (*free)(void *ptr);
|
||||
int (*match)(void *ptr, void *key);
|
||||
unsigned int len;
|
||||
unsigned long len;
|
||||
} list;
|
||||
|
||||
/* Functions implemented as macros */
|
||||
@ -81,7 +81,7 @@ listNode *listNext(listIter *iter);
|
||||
void listReleaseIterator(listIter *iter);
|
||||
list *listDup(list *orig);
|
||||
listNode *listSearchKey(list *list, void *key);
|
||||
listNode *listIndex(list *list, int index);
|
||||
listNode *listIndex(list *list, long index);
|
||||
void listRewind(list *list, listIter *li);
|
||||
void listRewindTail(list *list, listIter *li);
|
||||
|
||||
|
Reference in New Issue
Block a user