How access and create multi-dimensional arrays for JNI?

I know that to access an array I use "Get<type>ArrayElements" and to create them I use "New<type>Array". What if it's an array of arrays of arrays? Like int[][][]? What do i do then?

And for example, what if I have the following java method:

publicvoid doSomething(int[][] arg1, String[][] arg2){}

and in C++, I have the following arrays filled:

int ( * ( * myIntArray ) [] ) [];

char ( * ( * ( myStringArray ) [] ) [];

How would I convert those to the parameters necessary to call the method "doSomething" from JNI?

[790 byte] By [6tr6tra] at [2007-10-3 9:45:15]
# 1
This is a long story. But I did such classes in my JNI SDK for .NET:- .NET Framework v.1.1 http://www.simtel.net/product.php[id]95126[sekid]0[SiteID]simtel.net- .NET Framework v.2.0 http://www.simtel.net/product.php[id]98653[SiteID]simtel.net
vitallisa at 2007-7-15 5:01:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Do you have the source code for that? thanks!
6tr6tra at 2007-7-15 5:01:53 > top of Java-index,Java HotSpot Virtual Machine,Specifications...