The signature of the JNI_OnLoad function is this:
jint JNI_OnLoad(JavaVM *vm, void *reserved);
What is the void *reserved parameter?
The signature of the JNI_OnLoad function is this:
jint JNI_OnLoad(JavaVM *vm, void *reserved);
What is the void *reserved parameter?
Although the documentation doesn't explicitly say so, this parameter is reserved for future use and should be set to NULL in all cases.