I am passing a callback java object to my JNI code, I need to call a method on it.
This can be achieved by using g_log_params.env->CallIntMethod(...)
.
The thing is, my Java function accepts variable length parameters.
void foo(String message, Object... args);
How do I call this method from my JNI code?
Aucun commentaire:
Enregistrer un commentaire