Skip to content

Commit 790c3e0

Browse files
committed
ALTV-712: Added cppBinding module to script runtime
1 parent bb69f29 commit 790c3e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/src/CV8ScriptRuntime.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ CV8ScriptRuntime::CV8ScriptRuntime()
201201
v8::HandleScope handle_scope(isolate);
202202

203203
V8Class::Initialize(isolate);
204-
extern V8Module altModule, nativesModule, sharedModule;
205-
V8Module::Add({ altModule, nativesModule, sharedModule });
204+
extern V8Module altModule, nativesModule, sharedModule, cppBindingsModule;
205+
V8Module::Add({ altModule, nativesModule, sharedModule, cppBindingsModule });
206206
}
207207

208208
ProcessConfigOptions();

shared/bindings/SharedCppBindings.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static void SendRPC(const v8::FunctionCallbackInfo<v8::Value>& info)
191191
}
192192
#endif
193193

194-
extern V8Module cppBindings("cppBindings",
194+
extern V8Module cppBindingsModule("cppBindings",
195195
nullptr,
196196
{},
197197
[](v8::Local<v8::Context> ctx, v8::Local<v8::Object> exports)

0 commit comments

Comments
 (0)