From 18983113c57aeeeaf3e71b8c569a1717a2c9a74a Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 23 Jun 2016 16:20:48 +0200 Subject: [PATCH] Modules: mention RedisModule_Calloc() in the doc. --- src/modules/INTRO.md | 1 + 1 file changed, 1 insertion(+) 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