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

Function newJavaDoubleObject

valdi_core/src/valdi_core/jni/JavaUtils.cpp:390–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388 if (value == nullptr) {
389 return ByteArray(env, nullptr);
390 }
391
392 return toJavaObject(env, value->getBuffer());
393}
394
395JavaObject toJavaObject(JavaEnv env, const Valdi::Ref<Valdi::ValueFunction>& value) {
396 if (value == nullptr) {

Callers 2

toJavaObjectFunction · 0.85
newDoubleObjectMethod · 0.85

Calls 2

getFunction · 0.50
newObjectMethod · 0.45

Tested by

no test coverage detected