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

Function bridgeRetain

valdi_core/src/valdi_core/jni/JavaUtils.cpp:766–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764}
765
766jlong bridgeRetain(Valdi::RefCountable* nativeReference) {
767 return static_cast<jlong>(reinterpret_cast<std::uintptr_t>(Valdi::unsafeBridgeRetain(nativeReference)));
768}
769
770jlong bridgeCast(Valdi::RefCountable* nativeReference) {
771 return static_cast<jlong>(reinterpret_cast<std::uintptr_t>(Valdi::unsafeBridgeCast(nativeReference)));

Callers 10

createJavaFunctionMethod · 0.85
nativeCreateMethod · 0.85
onContextCreatedMethod · 0.85
onMeasureMethod · 0.85
writeViewNodeMethod · 0.85
onCompleteMethod · 0.85
newBridgedPromiseMethod · 0.85

Calls 1

unsafeBridgeRetainFunction · 0.85

Tested by

no test coverage detected