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

Function nativePushUndefined

valdi/src/valdi/android/MarshallerJNI.cpp:377–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375
376 return static_cast<jint>(marshaller->push(Valdi::Value()));
377}
378
379jint nativePushUndefined(jlong ptr) {
380 auto* marshaller = unwrap(nullptr, ptr);
381 if (marshaller == nullptr) {
382 return 0;
383 }
384
385 return static_cast<jint>(marshaller->push(Valdi::Value::undefined()));
386}
387

Callers 1

pushUndefinedMethod · 0.85

Calls 2

unwrapFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected