mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 11:41:20 +00:00
Merge pull request #3336 from yossigo/create_string_from_string
Add RedisModule_CreateStringFromString().
This commit is contained in:
@ -147,7 +147,7 @@ robj *createStringObjectFromLongDouble(long double value, int humanfriendly) {
|
||||
* will always result in a fresh object that is unshared (refcount == 1).
|
||||
*
|
||||
* The resulting object always has refcount set to 1. */
|
||||
robj *dupStringObject(robj *o) {
|
||||
robj *dupStringObject(const robj *o) {
|
||||
robj *d;
|
||||
|
||||
serverAssert(o->type == OBJ_STRING);
|
||||
|
Reference in New Issue
Block a user