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

Function newJavaFloatObject

valdi_core/src/valdi_core/jni/JavaUtils.cpp:385–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385djinni::LocalRef<jobject> newJavaFloatObject(float value) {
386 auto& cache = JavaCache::get();
387 return cache.getFloatClass().newObject(cache.getFloatConstructorMethod(), value);
388}
389
390djinni::LocalRef<jobject> newJavaDoubleObject(double value) {
391 auto& cache = JavaCache::get();

Callers

nothing calls this directly

Calls 2

getFunction · 0.50
newObjectMethod · 0.45

Tested by

no test coverage detected