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

Method toRetainedJSValueRef

valdi/src/valdi/v8/V8JavaScriptContext.cpp:124–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124inline JSValueRef V8JavaScriptContext::toRetainedJSValueRef(const IndirectV8Persistent& value) {
125 return JSValueRef::makeRetained(*this, toValdiJSValue(value));
126}
127
128inline JSValueRef V8JavaScriptContext::toUnretainedJSValueRef(const IndirectV8Persistent& value) {
129 return JSValueRef::makeUnretained(*this, toValdiJSValue(value));

Callers

nothing calls this directly

Calls 1

toValdiJSValueFunction · 0.70

Tested by

no test coverage detected