In the context of the rdb_save method of a module data type, loads back the * long double value saved by RedisModule_SaveLongDouble(). */
| 4974 | /* In the context of the rdb_save method of a module data type, loads back the |
| 4975 | * long double value saved by RedisModule_SaveLongDouble(). */ |
| 4976 | long double RM_LoadLongDouble(RedisModuleIO *io) { |
| 4977 | if (io->error) return 0; |
| 4978 | long double value; |
| 4979 | size_t len; |
| 4980 | char* str = RM_LoadStringBuffer(io,&len); |
| 4981 | if (!str) return 0; |
| 4982 | string2ld(str,len,&value); |
| 4983 | RM_Free(str); |
| 4984 | return value; |
| 4985 | } |
| 4986 | |
| 4987 | /* Iterate over modules, and trigger rdb aux saving for the ones modules types |
| 4988 | * who asked for it. */ |
nothing calls this directly
no test coverage detected