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

Function nativeMapIteratorPushNext

valdi/src/valdi/android/MarshallerJNI.cpp:498–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496jint nativeGetTypedObjectProperty(JNIEnv* env, jclass /*cls*/, jlong ptr, jint propertyIndex, jint index) {
497 auto* marshaller = unwrap(env, ptr);
498 if (marshaller == nullptr) {
499 return static_cast<jint>(0);
500 }
501 auto typedObject = marshaller->getTypedObject(static_cast<int>(index));
502 if (!checkMarshaller(env, marshaller)) {
503 return static_cast<jint>(0);
504 }
505 return static_cast<jint>(marshaller->push(typedObject->getProperty(static_cast<size_t>(propertyIndex))));
506}
507
508jboolean nativeMapIteratorPushNext(JNIEnv* env, jclass cls, jlong ptr, jint index) {

Callers 1

pushMapIteratorNextMethod · 0.85

Calls 2

unwrapFunction · 0.85

Tested by

no test coverage detected