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}
389
390djinni::LocalRef<jobject> newJavaDoubleObject(double value) {
391 auto& cache = JavaCache::get();
392 return cache.getDoubleClass().newObject(cache.getDoubleConstructorMethod(), value);
393}
394
395djinni::LocalRef<jobject> newJavaIntObject(int32_t value) {
396 auto& cache = JavaCache::get();

Callers 2

toJavaObjectFunction · 0.85
newDoubleObjectMethod · 0.85

Calls 2

getFunction · 0.50
newObjectMethod · 0.45

Tested by

no test coverage detected