mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Merge pull request #3342 from yossigo/fix_calloc
Fix RedisModule_Calloc() definition typo.
This commit is contained in:
commit
ae4f5b303e
@ -100,7 +100,7 @@ typedef void (*RedisModuleTypeFreeFunc)(void *value);
|
|||||||
void *REDISMODULE_API_FUNC(RedisModule_Alloc)(size_t bytes);
|
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_Realloc)(void *ptr, size_t bytes);
|
||||||
void REDISMODULE_API_FUNC(RedisModule_Free)(void *ptr);
|
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);
|
char *REDISMODULE_API_FUNC(RedisModule_Strdup)(const char *str);
|
||||||
int REDISMODULE_API_FUNC(RedisModule_GetApi)(const char *, void *);
|
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);
|
int REDISMODULE_API_FUNC(RedisModule_CreateCommand)(RedisModuleCtx *ctx, const char *name, RedisModuleCmdFunc cmdfunc, const char *strflags, int firstkey, int lastkey, int keystep);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user