mirror of
https://github.com/Snapchat/KeyDB.git
synced 2026-11-13 20:32:09 -05:00
1 parent
e79d075076
commit
98c30dfac1
4 files changed
+29
-17
No files matched your search
+1
-1
@@ -5077,7 +5077,7 @@ dictType moduleAPIDictType = {
|
||||
NULL /* val destructor */
|
||||
};
|
||||
|
||||
int moduleRegisterApi(const char *funcname, void *funcptr) {
|
||||
extern "C" int moduleRegisterApi(const char *funcname, void *funcptr) {
|
||||
return dictAdd(server.moduleapi, (char*)funcname, funcptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user