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