sds.c: sdsAllocSize() function added.

This commit is contained in:
antirez
2012-03-14 14:58:26 +01:00
parent 9555f8f21b
commit 739803c064
2 changed files with 8 additions and 0 deletions

View File

@ -94,5 +94,7 @@ sds sdsmapchars(sds s, char *from, char *to, size_t setlen);
/* Low level functions exposed to the user API */
sds sdsMakeRoomFor(sds s, size_t addlen);
void sdsIncrLen(sds s, int incr);
sds sdsRemoveFreeSpace(sds s);
size_t sdsAllocSize(sds s);
#endif