| 484 | auto* marshaller = unwrap(env, ptr); |
| 485 | if (marshaller == nullptr) { |
| 486 | return static_cast<jint>(0); |
| 487 | } |
| 488 | auto proxyObject = marshaller->getProxyObject(static_cast<int>(index)); |
| 489 | if (!checkMarshaller(env, marshaller)) { |
| 490 | return static_cast<jint>(0); |
| 491 | } |
| 492 | |
| 493 | return static_cast<jint>(marshaller->push(Valdi::Value(proxyObject->getTypedObject()))); |
| 494 | } |
| 495 | |
| 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); |
no test coverage detected