MCPcopy Create free account
hub / github.com/antvis/F2Native / VectorToJIntArray

Function VectorToJIntArray

core/android/JNIUtil.cpp:346–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346ScopedJavaLocalRef<jintArray> VectorToJIntArray(JNIEnv *env, const std::vector<int> &params) {
347 auto jArray = ScopedJavaLocalRef<jintArray>(env, env->NewIntArray(params.size()));
348 env->SetIntArrayRegion(jArray.obj(), 0, params.size(), params.data());
349 return jArray;
350}
351
352void native_clog(int level, const char *tag, const char *msg) { __android_log_write(level, tag, msg); }
353

Callers 1

GetGradientColorsMethod · 0.85

Calls 2

sizeMethod · 0.45
objMethod · 0.45

Tested by

no test coverage detected