Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extern "C" JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved)
- {
- __android_log_print(ANDROID_LOG_INFO, __FUNCTION__, "onLoad");
- JNIEnv* env;
- if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) {
- return -1;
- }
- gStore.mLength = 0;
- return JNI_VERSION_1_6;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement