Commit 8b2924d0 authored by swift_gan's avatar swift_gan

fix JNI_Load_Ex export

parent 8783d333
......@@ -451,7 +451,8 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) {
return JNI_VERSION_1_6;
}
JNIEXPORT bool JNICALL JNI_Load_Ex(JNIEnv* env, jclass classSandHook, jclass classNeverCall) {
extern "C"
JNIEXPORT bool JNI_Load_Ex(JNIEnv* env, jclass classSandHook, jclass classNeverCall) {
int jniMethodSize = sizeof(JNINativeMethod);
if (env == nullptr || classSandHook == nullptr || classNeverCall == nullptr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment