| 496 | jint 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 | |
| 508 | jboolean nativeMapIteratorPushNext(JNIEnv* env, jclass cls, jlong ptr, jint index) { |
no test coverage detected