diff options
author | antirez <antirez@gmail.com> | 2010-12-09 10:21:02 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-12-09 10:21:02 +0100 |
commit | a5be65f71c927601260f4518236cbc7bc3d87965 (patch) | |
tree | d2eb064f92e798a343836bdc50b0290a5518b91b /src/intset.h | |
parent | d51ebef5090624a3ba0824fa697410deaff1d1fa (diff) | |
download | redis-a5be65f71c927601260f4518236cbc7bc3d87965.tar.gz |
COW friendly versions of SPOP and SRANDMEMBER commands, with some change to the set encoding-agnostic API.
Diffstat (limited to 'src/intset.h')
-rw-r--r-- | src/intset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intset.h b/src/intset.h index 25afc18d1..10d49d2e0 100644 --- a/src/intset.h +++ b/src/intset.h @@ -10,7 +10,7 @@ typedef struct intset { intset *intsetNew(void); intset *intsetAdd(intset *is, int64_t value, uint8_t *success); -intset *intsetRemove(intset *is, int64_t value, uint8_t *success); +intset *intsetRemove(intset *is, int64_t value, int *success); uint8_t intsetFind(intset *is, int64_t value); int64_t intsetRandom(intset *is); uint8_t intsetGet(intset *is, uint32_t pos, int64_t *value); |