阅读背景:

如何使用JNI将Java中的ArrayList转换为c++ int数组?

来源:互联网 

I'm using JNI to call c++ methods in my java client. In one of the methods, I'm passing in an ArrayList of integers and want to get out an array of integers in c++. When I pass the ArrayList through the JNI, I get a jObject. How do I convert that object to an integer array?I'm using JNI to call c++ methods in my java cl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: