diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-11-04 10:54:01 +0100 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-11-04 13:15:44 +0100 |
commit | 2e5e9a49fd1941296a6c94ca117e33bf2934bcfd (patch) | |
tree | d50d1d155a133a7917225cfc545a1106181b9028 /hiredis.h | |
parent | e5a8228946611fea64707a32ecc218ff5e89b497 (diff) |
Return the reply type when the reply object function set is NULL
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -110,7 +110,8 @@ typedef struct redisContext { } redisContext; void freeReplyObject(void *reply); -void *redisReplyReaderCreate(redisReplyObjectFunctions *fn); +void *redisReplyReaderCreate(); +int redisReplyReaderSetReplyObjectFunctions(void *reader, redisReplyObjectFunctions *fn); void *redisReplyReaderGetObject(void *reader); char *redisReplyReaderGetError(void *reader); void redisReplyReaderFree(void *ptr); |