Added SWIGTYPE & and SWIGTYPE * typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4c472ec20e
commit
826afba4d8
2 changed files with 2 additions and 2 deletions
|
|
@ -288,7 +288,7 @@ $1 = &temp; %}
|
||||||
SWIG_CSharpThrowException(SWIG_CSharpException, error_msg);
|
SWIG_CSharpThrowException(SWIG_CSharpException, error_msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
%typemap(throws) SWIGTYPE {
|
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE * {
|
||||||
SWIG_CSharpThrowException(SWIG_CSharpException, "C++ $1_type exception thrown");
|
SWIG_CSharpThrowException(SWIG_CSharpException, "C++ $1_type exception thrown");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -766,7 +766,7 @@
|
||||||
return $null;
|
return $null;
|
||||||
}
|
}
|
||||||
|
|
||||||
%typemap(throws) SWIGTYPE {
|
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE * {
|
||||||
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
|
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
|
||||||
return $null;
|
return $null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue