Fix module linking and crashing issues

Former-commit-id: 1c953a4d5b
This commit is contained in:
John Sully committed 2019-04-16 13:34:22 -04:00
1 parent e79d075076
commit 98c30dfac1
4 files changed
+29 -17

No files matched your search

+1 -1
View File
@@ -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);
}