Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#73 Java packages and SWIGTYPES

open
nobody
None
5
2012-12-21
2010-07-02
Nigel
No

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.

Discussion