array throws typemap added

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-05-30 08:01:25 +00:00
commit 0e84a1da9c
2 changed files with 8 additions and 8 deletions

View file

@ -288,13 +288,13 @@ $1 = &temp; %}
SWIG_CSharpThrowException(SWIG_CSharpException, error_msg);
}
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE * {
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE *, SWIGTYPE [ANY] %{
SWIG_CSharpThrowException(SWIG_CSharpException, "C++ $1_type exception thrown");
}
%}
%typemap(throws) char * {
%typemap(throws) char * %{
SWIG_CSharpThrowException(SWIG_CSharpException, $1);
}
%}
/* Typemaps for code generation in proxy classes and C# type wrapper classes */

View file

@ -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 */