MCPcopy Index your code
hub / github.com/bytecodealliance/ComponentizeJS / check_init

Function check_init

embedding/embedding.cpp:341–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341__attribute__((export_name("check_init"))) ComponentizeRuntime::InitError
342check_init() {
343 JSAutoRealm ar(Runtime.cx, Runtime.engine->global());
344 JS::RootedValue exc(Runtime.cx);
345 if (JS_GetPendingException(Runtime.cx, &exc)) {
346 ReportAndClearException(Runtime.cx);
347 }
348 return Runtime.init_err;
349}
350
351__attribute__((export_name("componentize.wizer"))) void
352componentize_initialize() {

Callers 1

componentizeFunction · 0.85

Calls 1

ReportAndClearExceptionFunction · 0.85

Tested by

no test coverage detected