ekjstm / permafrost

Automatically exported from code.google.com/p/permafrost
0 stars 0 forks source link

Typesafe enum input typemap is not typesafe #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Typemap for input enums uses java.lang.Enum instead of specific enum class
name. Also it generates JNI code that could easily be done in java.

Eliminate this typemap as the swig typemap does the right thing.

Original issue reported on code.google.com by solomon....@gmail.com on 31 Dec 2008 at 10:36

GoogleCodeExporter commented 9 years ago
Updated the enum typemaps so that the swig map is used for input enums and the 
custom
map is used for outputs. Applying this as we review the wrappers -- no need to 
keep
the bug open.

Original comment by solomon....@gmail.com on 1 Feb 2009 at 12:00

GoogleCodeExporter commented 9 years ago
Removed the problematic input typemap. The Swig built-in capability is fine.

Original comment by solomon....@gmail.com on 4 Aug 2009 at 9:18