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:
parent
0baac79dfe
commit
06154388e7
9 changed files with 36 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue