warning/error fixes for Visual Studio

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-09-28 20:58:41 +00:00
commit 219517adc0
6 changed files with 33 additions and 8 deletions

View file

@ -571,6 +571,7 @@ $1 = &temp; %}
}
%typemap(throws) SWIGTYPE {
(void)$1;
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
RETURN $null;
}