Using SWIG to wrap a C++ class for use in Java
Hello,
Has anyone here ever used SWIG before to get your C++ library to java?
I have a method that is declared like so
unsigned char** classify()
and I want to be able to use this method in java - preferrably returning to a byte array.
What do I need to do to my swig interface file so that it will let me have this type of return? So far, when I try to use the classify method in java, like:
byte[][] = p.classify()
It tells me that the return type of classify is void