MCPcopy Create free account
hub / github.com/Snapchat/Valdi / newObject

Method newObject

valdi/src/valdi/quickjs/QuickJSJavaScriptContext.cpp:370–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370Valdi::JSValueRef QuickJSJavaScriptContext::newObject(Valdi::JSExceptionTracker& exceptionTracker) {
371 auto guard = _threadAccessChecker.guard();
372 return checkCallAndGetValue(exceptionTracker, JS_NewObject(_context));
373}
374
375Valdi::JSValueRef QuickJSJavaScriptContext::newFunction(const Valdi::Ref<Valdi::JSFunction>& callable,
376 Valdi::JSExceptionTracker& exceptionTracker) {

Callers

nothing calls this directly

Calls 1

guardMethod · 0.80

Tested by

no test coverage detected