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

Function nativePushArray

valdi/src/valdi/android/MarshallerJNI.cpp:273–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273jint nativePushArray(jlong ptr, jint capacity) {
274 auto* marshaller = unwrap(nullptr, ptr);
275 if (marshaller == nullptr) {
276 return 0;
277 }
278
279 return static_cast<jint>(marshaller->pushArray(static_cast<int>(capacity)));
280}
281
282void nativeSetArrayItem(JNIEnv* env, jclass /*cls*/, jlong ptr, jint index, jint arrayIndex) {
283 auto* marshaller = unwrap(env, ptr);

Callers 1

pushListMethod · 0.85

Calls 2

unwrapFunction · 0.85
pushArrayMethod · 0.80

Tested by

no test coverage detected