Specificly use original approach java enums binding method.

http://www.swig.org/Release/CHANGES

05/20/2004: wsfulton
            [Java] Java enum support added. There are now 4 ways in which enums
            can be wrapped:

            1) Proper Java enums - use %include "enums.swg"
            2) Typesafe enums - use %include "enumtypesafe.swg"
            3) Type unsafe enums (constant integers) - use %include "enumtypeunsafe.swg"
            4) Simple constant integers (original approach) - use %include %"enumsimple.swg"
This commit is contained in:
Romain Chantereay 2004-09-07 11:27:39 +00:00
parent 4234a511c3
commit 3fe2256876
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@
%}
#ifdef SWIGJAVA
%include "enumsimple.swg"
%pragma(java) jniclasscode=%{
static {
try {