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

Function nativePushLong

valdi/src/valdi/android/MarshallerJNI.cpp:404–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402
403 return static_cast<jint>(marshaller->push(Valdi::Value(static_cast<double>(d))));
404}
405
406jint nativePushLong(jlong ptr, jlong l) {
407 auto* marshaller = unwrap(nullptr, ptr);
408 if (marshaller == nullptr) {
409 return 0;
410 }
411
412 return static_cast<jint>(marshaller->pushLong(static_cast<int64_t>(l)));
413}
414

Callers 1

pushLongMethod · 0.85

Calls 2

unwrapFunction · 0.85
pushLongMethod · 0.45

Tested by

no test coverage detected