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

Method newLong

valdi/src/valdi/runtime/JavaScript/JavaScriptValueDelegate.cpp:558–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558JSValueRef JavaScriptValueDelegate::newIntObject(int32_t value, ExceptionTracker& exceptionTracker) {
559 return _jsContext->newNumber(value);
560}
561
562JSValueRef JavaScriptValueDelegate::newBigInt(const Ref<BigInt>& value, ExceptionTracker& exceptionTracker) {
563 return _jsContext->newBigInt(*value, toJSExceptionTracker(exceptionTracker));

Callers 3

valueToJSValueFunction · 0.45
newLongObjectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected