| 402 | |
| 403 | return static_cast<jint>(marshaller->push(Valdi::Value(static_cast<double>(d)))); |
| 404 | } |
| 405 | |
| 406 | jint nativePushLong(jlong ptr, jlong l) { |
| 407 | auto* marshaller = unwrap(nullptr, ptr); |
| 408 | if (marshaller == nullptr) { |
| 409 | return 0; |
| 410 | } |
| 411 | |
| 412 | return static_cast<jint>(marshaller->pushLong(static_cast<int64_t>(l))); |
| 413 | } |
| 414 |