JNI callback funtion with multiple arguments
905554Dec 22 2011 — edited Dec 26 2011Hi,
Is it possible to return more than one argument in java callback function.
for single arg return, I am using below function in my C code.
jmethodID mid = (*env)->GetMethodID(env, cls, "callback", "(I)V");
(*env)->CallVoidMethod(env, obj, mid, depth);
what are the changes require to return more than one arg?
Thanks in Advance
Ashwani