| 224 | } |
| 225 | |
| 226 | JNIEXPORT 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 | } |
nothing calls this directly
no test coverage detected