SWIG comes with pre-written interface files for many C ++ constructs. They are located in the SWIG Lib directory for many languages, including Java.
Add %include <std_string.i>a SWIG to the interface file. Check the SWIG Lib / Java directory for support for other constructs.
source
share