array throws typemap added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
42afd931c7
commit
fac3662444
2 changed files with 8 additions and 8 deletions
|
|
@ -766,15 +766,15 @@
|
|||
return $null;
|
||||
}
|
||||
|
||||
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE * {
|
||||
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE *, SWIGTYPE [ANY] %{
|
||||
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
|
||||
return $null;
|
||||
}
|
||||
%}
|
||||
|
||||
%typemap(throws) char * {
|
||||
%typemap(throws) char * %{
|
||||
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1);
|
||||
return $null;
|
||||
}
|
||||
%}
|
||||
|
||||
|
||||
/* Typemaps for code generation in proxy classes and Java type wrapper classes */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue