New default Java enum wrapping approach which uses the type safe enum pattern
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
80b89d662c
commit
1b1dadc9de
6 changed files with 1099 additions and 11 deletions
|
|
@ -34,7 +34,7 @@ public class java_lib_arrays_runme {
|
|||
long[] array_ll = {1008, 2008};
|
||||
float[] array_f = {1009.1f, 2009.1f};
|
||||
double[] array_d = {1010.2f, 2010.2f};
|
||||
int[] array_enum = {java_lib_arrays.Three, java_lib_arrays.Four};
|
||||
int[] array_enum = {finger.Three, finger.Four};
|
||||
|
||||
SimpleStruct[] array_struct={new SimpleStruct(), new SimpleStruct()};
|
||||
array_struct[0].setDouble_field(222.333);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue