see #7544, added RedisModule_HoldString api. (#7577)
Added RedisModule_HoldString that either returns a shallow copy of the given String (by increasing the String ref count) or a new deep copy of String in case its not possible to get a shallow copy. Co-authored-by:Itamar Haber <itamar@redislabs.com> (cherry picked from commit 3f494cc4)
Please register or sign in to comment