| 806 | } |
| 807 | |
| 808 | jlong nativeGetMapPropertyLong(JNIEnv* env, jclass /*cls */, jlong ptr, jlong propPtr, jint index) { |
| 809 | auto result = jniGetMapPropertyAndReturnValue<int64_t>(env, ptr, propPtr, index, false); |
| 810 | return static_cast<jlong>(result ? result.value() : 0); |
| 811 | } |
| 812 | |
| 813 | jboolean nativeGetMapPropertyBoolean(JNIEnv* env, jclass /*cls */, jlong ptr, jlong propPtr, jint index) { |
| 814 | auto result = jniGetMapPropertyAndReturnValue<bool>(env, ptr, propPtr, index, false); |
| 815 | return static_cast<jboolean>(result ? result.value() : false); |
| 816 | } |
| 817 | |
| 818 | jstring nativeGetMapPropertyString(JNIEnv* env, jclass /*cls */, jlong ptr, jlong propPtr, jint index) { |
| 819 | auto result = jniGetMapPropertyAndReturnValue<Valdi::StringBox>(env, ptr, propPtr, index, false); |
| 820 |
no test coverage detected