summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/hiredis.h b/hiredis.h
index 08d1df9..11d9d05 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -67,10 +67,10 @@ typedef struct redisReadTask {
} redisReadTask;
typedef struct redisReplyObjectFunctions {
- void *(*createString)(redisReadTask*, char*, size_t);
- void *(*createArray)(redisReadTask*, int);
- void *(*createInteger)(redisReadTask*, long long);
- void *(*createNil)(redisReadTask*);
+ void *(*createString)(const redisReadTask*, char*, size_t);
+ void *(*createArray)(const redisReadTask*, int);
+ void *(*createInteger)(const redisReadTask*, long long);
+ void *(*createNil)(const redisReadTask*);
void (*freeObject)(void*);
} redisReplyObjectFunctions;