I have a C program that invokes a java program but I have a problem:
my java program returns an int [], how can I use JNI to get the result of it in C, since JNI only has CallIntMethod?
I have a C program that invokes a java program but I have a
Share
Arrays are objects, so you can use
CallObjectMethod(). UseGetIntArrayElements()to access the array elements.