summaryrefslogtreecommitdiff
path: root/Examples/test-suite/java_enums.i
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing value for first item of enums with trailing commaVadim Zeitlin2019-07-111-0/+15
| | | | | | | | | | | | The value of the first item of an enum with a trailing comma after its last item was not correctly initialized to 0 any more after the changes of 74adaa5738368ce473870451422f4a7175b6a736 (see #1515) because "_last" attribute was not set correctly in this case. Do set it for the last item when it's followed by a comma too and add more unit tests checking for this. Closes #1566.
* Fix wrapping of C++ enum boolean values when using %javaconst(1)William S Fulton2010-05-141-0/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Suppress ecj warningsWilliam S Fulton2008-01-311-0/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* const enum SWIGTYPE & typemap testsWilliam S Fulton2004-11-281-1/+6
| | | | | | | more enum tests git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Test for %javaconstvalue addedWilliam S Fulton2004-06-271-0/+11
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* New default C/C++ enum wrapping approach which uses the type safe enum ↵William S Fulton2004-05-241-2/+6
| | | | | | | | | | 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
* Modifications to testcase to test the enums and constants in a separate Java ↵William S Fulton2003-04-031-0/+6
| | | | | | interface. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* enum typemaps checkWilliam S Fulton2003-02-241-0/+18
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* %javaconst(1) feature for enums so that using enum values do not have to ↵William S Fulton2003-02-191-0/+12
make a JNI call. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4361 626c5289-ae23-0410-ae9c-e8d60b6d4f22