diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2016-06-23 22:30:32 +0300 |
---|---|---|
committer | Yossi Gottlieb <yossigo@gmail.com> | 2016-06-23 22:30:32 +0300 |
commit | 19c401d81dc09652806d348dee4371899bc2e500 (patch) | |
tree | 48235430dfdb4857dc5f0af79577e79f54f11455 | |
parent | f60aa4de302992ac458f2f39d0e4918d4734723d (diff) | |
download | redis-19c401d81dc09652806d348dee4371899bc2e500.tar.gz |
Fix RedisModule_Calloc() definition typo.
-rw-r--r-- | src/redismodule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redismodule.h b/src/redismodule.h index f1aaea49b..fd9e46dc6 100644 --- a/src/redismodule.h +++ b/src/redismodule.h @@ -100,7 +100,7 @@ typedef void (*RedisModuleTypeFreeFunc)(void *value); void *REDISMODULE_API_FUNC(RedisModule_Alloc)(size_t bytes); void *REDISMODULE_API_FUNC(RedisModule_Realloc)(void *ptr, size_t bytes); void REDISMODULE_API_FUNC(RedisModule_Free)(void *ptr); -void REDISMODULE_API_FUNC(RedisModule_Calloc)(size_t nmemb, size_t size); +void *REDISMODULE_API_FUNC(RedisModule_Calloc)(size_t nmemb, size_t size); char *REDISMODULE_API_FUNC(RedisModule_Strdup)(const char *str); int REDISMODULE_API_FUNC(RedisModule_GetApi)(const char *, void *); int REDISMODULE_API_FUNC(RedisModule_CreateCommand)(RedisModuleCtx *ctx, const char *name, RedisModuleCmdFunc cmdfunc, const char *strflags, int firstkey, int lastkey, int keystep); |