summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-06-23 16:20:48 +0200
committerantirez <antirez@gmail.com>2016-06-23 16:20:48 +0200
commit18983113c57aeeeaf3e71b8c569a1717a2c9a74a (patch)
treec78e01c3484cc0bb44476abe4e66c12aee921043 /src/modules
parent3a0b776b94eedcaec9e69e2efb1c6ee354de00bd (diff)
downloadredis-18983113c57aeeeaf3e71b8c569a1717a2c9a74a.tar.gz
Modules: mention RedisModule_Calloc() in the doc.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/INTRO.md1
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