Return the long long of an integer reply. */
| 3927 | |
| 3928 | /* Return the long long of an integer reply. */ |
| 3929 | long long RM_CallReplyInteger(RedisModuleCallReply *reply) { |
| 3930 | moduleParseCallReply(reply); |
| 3931 | if (reply->type != REDISMODULE_REPLY_INTEGER) return LLONG_MIN; |
| 3932 | return reply->val.ll; |
| 3933 | } |
| 3934 | |
| 3935 | /* Return the pointer and length of a string or error reply. */ |
| 3936 | const char *RM_CallReplyStringPtr(RedisModuleCallReply *reply, size_t *len) { |
nothing calls this directly
no test coverage detected