X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/b882056c93f3e3afe5fde9d62fb569ce30a76a76..b333e2399778e624174e00d123c2cb3785333e3d:/src/intset.h diff --git a/src/intset.h b/src/intset.h index 25afc18d..ee4b91fa 100644 --- a/src/intset.h +++ b/src/intset.h @@ -10,10 +10,11 @@ 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); uint32_t intsetLen(intset *is); +size_t intsetBlobLen(intset *is); #endif // __INTSET_H