mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
parent
d9462d2780
commit
39be4bf496
@ -109,7 +109,7 @@ void sdsupdatelen(sds s) {
|
|||||||
sh->len = reallen;
|
sh->len = reallen;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Modify an sds string on-place to make it empty (zero length).
|
/* Modify an sds string in-place to make it empty (zero length).
|
||||||
* However all the existing buffer is not discarded but set as free space
|
* However all the existing buffer is not discarded but set as free space
|
||||||
* so that next append operations will not require allocations up to the
|
* so that next append operations will not require allocations up to the
|
||||||
* number of bytes previously available. */
|
* number of bytes previously available. */
|
||||||
|
Loading…
Reference in New Issue
Block a user