| 258 | } |
| 259 | |
| 260 | jboolean nativeGetMapProperty(JNIEnv* env, jclass /*cls*/, jlong ptr, jlong propPtr, jint index) { |
| 261 | auto* marshaller = unwrap(env, ptr); |
| 262 | if (marshaller == nullptr) { |
| 263 | return static_cast<jboolean>(false); |
| 264 | } |
| 265 | |
| 266 | auto result = marshaller->getMapProperty(ValdiAndroid::unwrapInternedString(propPtr), static_cast<int>(index)); |
| 267 | if (!checkMarshaller(env, marshaller)) { |
| 268 | return 0; |
| 269 | } |
| 270 | return static_cast<jboolean>(result); |
| 271 | } |
| 272 | |
| 273 | jint nativePushArray(jlong ptr, jint capacity) { |
| 274 | auto* marshaller = unwrap(nullptr, ptr); |
no test coverage detected