Menu

#74 Java packages and SWIGTYPES

None
closed
nobody
None
5
2017-01-20
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

  • Olly Betts

    Olly Betts - 2017-01-20
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.