I want to return an object from c++ to java code using JNI.
I don't need to use its methods, but just read its fields.
How can I do it?
This class is just something like this:
class MyOutputClass
{
public:
Array<SomeOtherClass> m_objects1;
Array<YetAnoterClass> m_objects2;
}
Array is a class of mine, but i'll use the java array instead :)