a few missing typemaps added - exposed by the new mixed default typemaps

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-10-29 21:30:23 +00:00
commit 06154388e7
9 changed files with 36 additions and 5 deletions

View file

@ -29,6 +29,11 @@
}
%typemap(javaclassmodifiers) enum SWIGTYPE "public enum"
%typemap(javabase) enum SWIGTYPE ""
%typemap(javacode) enum SWIGTYPE ""
%typemap(javaimports) enum SWIGTYPE ""
%typemap(javainterfaces) enum SWIGTYPE ""
%typemap(javabody) enum SWIGTYPE ""
/*
* SwigNext static inner class used instead of a static int as static fields cannot be accessed from enum initialisers.

View file

@ -29,7 +29,11 @@
}
%typemap(javaclassmodifiers) enum SWIGTYPE ""
%typemap(javabody) enum SWIGTYPE ""
%typemap(javabase) enum SWIGTYPE ""
%typemap(javacode) enum SWIGTYPE ""
%typemap(javaimports) enum SWIGTYPE ""
%typemap(javainterfaces) enum SWIGTYPE ""
%typemap(javabody) enum SWIGTYPE ""
%javaenum(simple);

View file

@ -29,6 +29,11 @@
// '$static' will be replaced with either 'static' or nothing depending on whether the enum is an inner Java class or not
%typemap(javaclassmodifiers) enum SWIGTYPE "public final $static class"
%typemap(javabase) enum SWIGTYPE ""
%typemap(javacode) enum SWIGTYPE ""
%typemap(javaimports) enum SWIGTYPE ""
%typemap(javainterfaces) enum SWIGTYPE ""
%typemap(javabody) enum SWIGTYPE ""
/*
* The swigToEnum method is used to find the Java enum from a C++ enum integer value. The default one here takes

View file

@ -30,7 +30,11 @@
// '$static' will be replaced with either 'static' or nothing depending on whether the enum is an inner Java class or not
%typemap(javaclassmodifiers) enum SWIGTYPE "public final $static class"
%typemap(javabody) enum SWIGTYPE ""
%typemap(javabase) enum SWIGTYPE ""
%typemap(javacode) enum SWIGTYPE ""
%typemap(javaimports) enum SWIGTYPE ""
%typemap(javainterfaces) enum SWIGTYPE ""
%typemap(javabody) enum SWIGTYPE ""
%javaenum(typeunsafe);