MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / JNI_OnLoad

Function JNI_OnLoad

Bcore/src/main/cpp/VmCore.cpp:226–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *reserved) {
227 JNIEnv *env;
228 VMEnv.vm = vm;
229 if (vm->GetEnv(reinterpret_cast<void **>(&env), JNI_VERSION_1_6) != JNI_OK) {
230 return JNI_EVERSION;
231 }
232 registerMethod(env);
233 return JNI_VERSION_1_6;
234}

Callers

nothing calls this directly

Calls 1

registerMethodFunction · 0.85

Tested by

no test coverage detected