MCPcopy Create free account
hub / github.com/Tracktion/choc / CurrentCallContext

Class CurrentCallContext

choc/javascript/choc_javascript_V8.h:585–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 int32_t nextNativeFunctionHandle = 0;
584
585 struct CurrentCallContext
586 {
587 CurrentCallContext (V8Context& c)
588 : isolateScope (c.isolate),
589 handleScope (c.isolate),
590 localContext (c.context.Get (c.isolate)),
591 contextScope (localContext)
592 {
593 }
594
595 v8::Local<v8::String> functionName;
596 std::vector<v8::Local<v8::Value>> functionArgs;
597
598 v8::Isolate::Scope isolateScope;
599 v8::HandleScope handleScope;
600 v8::Local<v8::Context> localContext;
601 v8::Context::Scope contextScope;
602 };
603
604 std::unique_ptr<CurrentCallContext> currentCallContext;
605

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected