Return the long long of an integer reply. */
| 4015 | |
| 4016 | /* Return the long long of an integer reply. */ |
| 4017 | long long RM_CallReplyInteger(RedisModuleCallReply *reply) { |
| 4018 | moduleParseCallReply(reply); |
| 4019 | if (reply->type != REDISMODULE_REPLY_INTEGER) return LLONG_MIN; |
| 4020 | return reply->val.ll; |
| 4021 | } |
| 4022 | |
| 4023 | /* Return the pointer and length of a string or error reply. */ |
| 4024 | const char *RM_CallReplyStringPtr(RedisModuleCallReply *reply, size_t *len) { |
nothing calls this directly
no test coverage detected