G
ganeshamutha
Hi,
how to copy the 2D array to java from C which connected with
JNI.
i used following statement 1D array which was worked very
fine..
(*env)->SetDoubleArrayRegion(env,ans,0,len,res);
ans -> 2D array declared in Java
res -> 2D array declared in C
when i changed the dimension i got following warning
which making shared lib..
: warning: passing argument 5 of '(*env)-
What should i do to pass 2d array to java from C.. how do
remove this warning .
Please any one of you help me out to solve..
Thanks in advance,
Ganesh.
how to copy the 2D array to java from C which connected with
JNI.
i used following statement 1D array which was worked very
fine..
(*env)->SetDoubleArrayRegion(env,ans,0,len,res);
ans -> 2D array declared in Java
res -> 2D array declared in C
when i changed the dimension i got following warning
which making shared lib..
: warning: passing argument 5 of '(*env)-
SetDoubleArrayRegion' from incompatible pointer type
What should i do to pass 2d array to java from C.. how do
remove this warning .
Please any one of you help me out to solve..
Thanks in advance,
Ganesh.