From 826afba4d873ec62abbd03d61b00adecc03383f0 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 29 May 2004 15:08:22 +0000 Subject: [PATCH] Added SWIGTYPE & and SWIGTYPE * typemaps git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5941 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/csharp/csharp.swg | 2 +- Lib/java/java.swg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/csharp/csharp.swg b/Lib/csharp/csharp.swg index aaec4eef5..6676c3bed 100644 --- a/Lib/csharp/csharp.swg +++ b/Lib/csharp/csharp.swg @@ -288,7 +288,7 @@ $1 = &temp; %} SWIG_CSharpThrowException(SWIG_CSharpException, error_msg); } -%typemap(throws) SWIGTYPE { +%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE * { SWIG_CSharpThrowException(SWIG_CSharpException, "C++ $1_type exception thrown"); } diff --git a/Lib/java/java.swg b/Lib/java/java.swg index ce3f05e72..868192ea9 100644 --- a/Lib/java/java.swg +++ b/Lib/java/java.swg @@ -766,7 +766,7 @@ return $null; } -%typemap(throws) SWIGTYPE { +%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE * { SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown"); return $null; }