New default C/C++ enum wrapping approach which uses the type safe enum pattern for Java and C#
Also tests for Java and C# simple enums (enum items mapped to integers) Also proper Java (J2SDK1.5) enums git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3d51247b24
commit
c88daea001
6 changed files with 41 additions and 5 deletions
|
|
@ -1,6 +1,8 @@
|
|||
/* Testcase for the Java array typemaps which are not used by default. */
|
||||
%module java_lib_arrays
|
||||
|
||||
%include "enumtypeunsafe.swg"
|
||||
|
||||
/* Use the Java library typemaps */
|
||||
%include "arrays_java.i"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue