MCPcopy Create free account
hub / github.com/F-Stack/f-stack / RM_LoadSigned

Function RM_LoadSigned

app/redis-6.2.6/src/module.c:4692–4696  ·  view source on GitHub ↗

Like RedisModule_LoadUnsigned() but for signed 64 bit values. */

Source from the content-addressed store, hash-verified

4690
4691/* Like RedisModule_LoadUnsigned() but for signed 64 bit values. */
4692int64_t RM_LoadSigned(RedisModuleIO *io) {
4693 union {uint64_t u; int64_t i;} conv;
4694 conv.u = RM_LoadUnsigned(io);
4695 return conv.i;
4696}
4697
4698/* In the context of the rdb_save method of a module type, saves a
4699 * string into the RDB file taking as input a RedisModuleString.

Callers

nothing calls this directly

Calls 1

RM_LoadUnsignedFunction · 0.85

Tested by

no test coverage detected