Like RedisModule_LoadUnsigned() but for signed 64 bit values. */
| 4796 | |
| 4797 | /* Like RedisModule_LoadUnsigned() but for signed 64 bit values. */ |
| 4798 | int64_t RM_LoadSigned(RedisModuleIO *io) { |
| 4799 | union {uint64_t u; int64_t i;} conv; |
| 4800 | conv.u = RM_LoadUnsigned(io); |
| 4801 | return conv.i; |
| 4802 | } |
| 4803 | |
| 4804 | /* In the context of the rdb_save method of a module type, saves a |
| 4805 | * string into the RDB file taking as input a RedisModuleString. |
nothing calls this directly
no test coverage detected