Like RedisModule_LoadUnsigned() but for signed 64 bit values. */
| 4690 | |
| 4691 | /* Like RedisModule_LoadUnsigned() but for signed 64 bit values. */ |
| 4692 | int64_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. |
nothing calls this directly
no test coverage detected