Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
10e4f44d
Unverified
Commit
10e4f44d
authored
Dec 08, 2022
by
Yossi Gottlieb
Committed by
GitHub
Dec 08, 2022
Browse files
Correct RM_GetSharedAPI documentation. (#11601)
Fix wrong API name i example doc
parent
fa5474e1
Changes
1
Show whitespace changes
Inline
Side-by-side
src/module.c
View file @
10e4f44d
...
...
@@ -9877,7 +9877,7 @@ int RM_ExportSharedAPI(RedisModuleCtx *ctx, const char *apiname, void *func) {
* static int api_loaded = 0;
* if (api_loaded != 0) return 1; // APIs already resolved.
*
* myFunctionPointer = RedisModule_Get
OtherModule
API("...");
* myFunctionPointer = RedisModule_Get
Shared
API("...");
* if (myFunctionPointer == NULL) return 0;
*
* return 1;
...
...
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