2 Dec 2007 04:04
[ swig-Bugs-1842527 ] [java] ctor taking long long and bool gives bad java code
SourceForge.net <noreply <at> sourceforge.net>
2007-12-02 03:04:49 GMT
2007-12-02 03:04:49 GMT
Bugs item #1842527, was opened at 2007-12-02 03:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1842527&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: java Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Olly Betts (olly) Assigned to: William Fulton (wsfulton) Summary: [java] ctor taking long long and bool gives bad java code Initial Comment: SWIG adds a protected ctor to each Java class: protected A(long cPtr, boolean cMemoryOwn) { // ... } However, if the C++ class being wrapped has a constructor taking long long and bool, then this is wrapped as a java ctor taking long and boolean which clashes with the protected constructor and the java wrapper can't be compiled. The attached javabug.i demonstrates this. Process like so:(Continue reading)
RSS Feed