MCPcopy Create free account
hub / github.com/Snapchat/Valdi / nativeSetArrayItem

Function nativeSetArrayItem

valdi/src/valdi/android/MarshallerJNI.cpp:282–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282void nativeSetArrayItem(JNIEnv* env, jclass /*cls*/, jlong ptr, jint index, jint arrayIndex) {
283 auto* marshaller = unwrap(env, ptr);
284 if (marshaller == nullptr) {
285 return;
286 }
287
288 marshaller->setArrayItem(static_cast<int>(index), static_cast<int>(arrayIndex));
289 checkMarshaller(env, marshaller);
290}
291
292jint nativePushByteArray(JNIEnv* env, jclass /*cls*/, jlong ptr, jbyteArray byteArray) {
293 auto* marshaller = unwrap(env, ptr);

Callers 1

setListItemMethod · 0.85

Calls 3

unwrapFunction · 0.85
checkMarshallerFunction · 0.85
setArrayItemMethod · 0.80

Tested by

no test coverage detected