diff options
author | antirez <antirez@gmail.com> | 2016-06-23 16:20:48 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2016-06-23 16:20:48 +0200 |
commit | 18983113c57aeeeaf3e71b8c569a1717a2c9a74a (patch) | |
tree | c78e01c3484cc0bb44476abe4e66c12aee921043 /src/modules | |
parent | 3a0b776b94eedcaec9e69e2efb1c6ee354de00bd (diff) | |
download | redis-18983113c57aeeeaf3e71b8c569a1717a2c9a74a.tar.gz |
Modules: mention RedisModule_Calloc() in the doc.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/INTRO.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/INTRO.md b/src/modules/INTRO.md index 1ba972f82..e5576b7fc 100644 --- a/src/modules/INTRO.md +++ b/src/modules/INTRO.md @@ -812,6 +812,7 @@ specific functions, that are exact replacements for `malloc`, `free`, void *RedisModule_Alloc(size_t bytes); void* RedisModule_Realloc(void *ptr, size_t bytes); void RedisModule_Free(void *ptr); + void RedisModule_Calloc(size_t nmemb, size_t size); char *RedisModule_Strdup(const char *str); They work exactly like their `libc` equivalent calls, however they use |