duplicate typemaps removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a1c7dc1051
commit
a48bcfceef
1 changed files with 2 additions and 7 deletions
|
|
@ -18,14 +18,9 @@
|
||||||
|
|
||||||
%typecheck(SWIG_TYPECHECK_INT32) enum SWIGTYPE ""
|
%typecheck(SWIG_TYPECHECK_INT32) enum SWIGTYPE ""
|
||||||
|
|
||||||
%typemap(javain) enum SWIGTYPE "$javainput.swigValue()"
|
%typemap(throws) enum SWIGTYPE %{
|
||||||
%typemap(javaout) enum SWIGTYPE {
|
|
||||||
return $javaclassname.swigToEnum($jnicall);
|
|
||||||
}
|
|
||||||
|
|
||||||
%typemap(throws) enum SWIGTYPE {
|
|
||||||
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
|
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
|
||||||
}
|
%}
|
||||||
|
|
||||||
%typemap(javain) enum SWIGTYPE "$javainput.swigValue()"
|
%typemap(javain) enum SWIGTYPE "$javainput.swigValue()"
|
||||||
%typemap(javaout) enum SWIGTYPE {
|
%typemap(javaout) enum SWIGTYPE {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue