MCPcopy Create free account
hub / github.com/F-Stack/f-stack / RM_CallReplyInteger

Function RM_CallReplyInteger

app/redis-6.2.6/src/module.c:3929–3933  ·  view source on GitHub ↗

Return the long long of an integer reply. */

Source from the content-addressed store, hash-verified

3927
3928/* Return the long long of an integer reply. */
3929long 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. */
3936const char *RM_CallReplyStringPtr(RedisModuleCallReply *reply, size_t *len) {

Callers

nothing calls this directly

Calls 1

moduleParseCallReplyFunction · 0.85

Tested by

no test coverage detected