Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
18983113
Commit
18983113
authored
Jun 23, 2016
by
antirez
Browse files
Modules: mention RedisModule_Calloc() in the doc.
parent
3a0b776b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/INTRO.md
View file @
18983113
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment