From: peter g. <pet...@fa...> - 2013-01-28 12:18:07
|
typemapIssue.zip <http://swig.10945.n7.nabble.com/file/n13030/typemapIssue.zip> C# typemap searching may have an issue OR of course I am doing something wrong! I am using Swig version 2.0.9. On windows. A failing example is include in attached zip. I am wrapping a number of CPP classes targeting both Java and C# with similar interface files. Java is OK. In the failing example included here I get the following generated:- public void addB(string bvalue) {.... public string getB(int index) { ... I think I should get:- public void addB(byte[] bvalue)) {.... public byte[] getB(int index) { You can find this method in the class StringVector. However, in StringMap I get:- public void setB(byte[] bkey, byte[] bvalue) { ... public byte[] getB(byte[] bkey) { which are correct. Regards Peter -- View this message in context: http://swig.10945.n7.nabble.com/Csharp-typemap-not-applied-or-typemap-search-working-incorrectly-tp13030.html Sent from the swig-user mailing list archive at Nabble.com. |