File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 11#pragma once
2- #include " dyncall/dyncall.h"
32#include " legacy/main/Global.h"
43#include " ll/api/base/Macro.h"
54#include " ll/api/mod/Mod.h"
@@ -81,9 +80,6 @@ struct EngineOwnData {
8180 // Player binding data
8281 std::unordered_map<std::string, script::Global<Value>> playerDataDB;
8382
84- // Dynamic Call vm for NativeFFI
85- DCCallVM* dynamicCallVM;
86-
8783 // Unload Callbacks, use for close database...
8884 int index = 0 ;
8985 std::unordered_map<int , std::function<void (ScriptEngine*)>> unloadCallbacks;
@@ -92,12 +88,6 @@ struct EngineOwnData {
9288 return index;
9389 }
9490 inline bool removeUnloadCallback (int pIndex) { return unloadCallbacks.erase (pIndex); }
95-
96- // Init
97- EngineOwnData () {
98- dynamicCallVM = dcNewCallVM (4096 );
99- dcMode (dynamicCallVM, DC_CALL_C_DEFAULT);
100- }
10191};
10292
10393// Engine additional data
You can’t perform that action at this time.
0 commit comments