| 523 | } |
| 524 | |
| 525 | jdouble nativeGetDouble(jlong ptr, jint index) { |
| 526 | auto* marshaller = unwrap(nullptr, ptr); |
| 527 | if (marshaller == nullptr) { |
| 528 | return 0; |
| 529 | } |
| 530 | |
| 531 | return static_cast<jdouble>(marshaller->getOrUndefined(static_cast<int>(index)).toDouble()); |
| 532 | } |
| 533 | |
| 534 | jlong nativeGetLong(jlong ptr, jint index) { |
| 535 | auto* marshaller = unwrap(nullptr, ptr); |
no test coverage detected