diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2016-06-24 08:58:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 08:58:23 +0200 |
commit | ae4f5b303eef35a878ea2f6894d169ad292089dc (patch) | |
tree | 48235430dfdb4857dc5f0af79577e79f54f11455 | |
parent | f60aa4de302992ac458f2f39d0e4918d4734723d (diff) | |
parent | 19c401d81dc09652806d348dee4371899bc2e500 (diff) | |
download | redis-ae4f5b303eef35a878ea2f6894d169ad292089dc.tar.gz |
Merge pull request #3342 from yossigo/fix_calloc
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); |