| 165 | } |
| 166 | |
| 167 | JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *reserved) { |
| 168 | JNIEnv *env; |
| 169 | VMEnv.vm = vm; |
| 170 | if (vm->GetEnv(reinterpret_cast<void **>(&env), JNI_VERSION_1_6) != JNI_OK) { |
| 171 | return JNI_EVERSION; |
| 172 | } |
| 173 | registerMethod(env); |
| 174 | return JNI_VERSION_1_6; |
| 175 | } |
nothing calls this directly
no test coverage detected