X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/192fc3376a0712e69e638b087c82c7e34f698f4d..d10a01bb6d8645f66b66e1fb3d1c52a0dd7bd8fe:/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