From 83c14504257de168c45ae7730a00c930ab17cfa3 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Fri, 16 Oct 2020 18:35:58 -0400 Subject: read: Add support for the RESP3 bignum type --- hiredis.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hiredis.h') diff --git a/hiredis.h b/hiredis.h index a629930..e77a88a 100644 --- a/hiredis.h +++ b/hiredis.h @@ -112,7 +112,8 @@ typedef struct redisReply { double dval; /* The double when type is REDIS_REPLY_DOUBLE */ size_t len; /* Length of string */ char *str; /* Used for REDIS_REPLY_ERROR, REDIS_REPLY_STRING - REDIS_REPLY_VERB, and REDIS_REPLY_DOUBLE (in additional to dval). */ + REDIS_REPLY_VERB, REDIS_REPLY_DOUBLE (in additional to dval), + and REDIS_REPLY_BIGNUM. */ char vtype[4]; /* Used for REDIS_REPLY_VERB, contains the null terminated 3 character content type, such as "txt". */ size_t elements; /* number of elements, for REDIS_REPLY_ARRAY */ -- cgit v1.2.3