org.gnu.xxx.SWIGTYPE_p_int is an abomination. But this is what you get when using the -package switch. Cleary this in not what is intended by Java, else every package would have its own Integer, Float etc. Would it not be better if the SWIGTYPES common to all packages were packaged in say swig.types?
When you have more than one package and you try to call an interface in another then you get the error xxx.SWIGTYP... can not be used where yyy.SWIGTYPE... is required.
Log in to post a comment.