SDS: sdsjoinsds() call ported from antirez/sds fork.

This commit is contained in:
antirez
2015-07-25 17:05:20 +02:00
parent 6b836b6b41
commit 11425c89cf
2 changed files with 13 additions and 0 deletions

View File

@ -247,6 +247,7 @@ sds sdscatrepr(sds s, const char *p, size_t len);
sds *sdssplitargs(const char *line, int *argc);
sds sdsmapchars(sds s, const char *from, const char *to, size_t setlen);
sds sdsjoin(char **argv, int argc, char *sep);
sds sdsjoinsds(sds *argv, int argc, const char *sep, size_t seplen);
/* Low level functions exposed to the user API */
sds sdsMakeRoomFor(sds s, size_t addlen);