From 06267e8a5567344f4f2e8f7874aed2377369dd54 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 1 Jun 2003 22:54:53 +0000 Subject: [PATCH] Removed globalin and memberin typemaps for dimensionless arrays git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4842 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/java/java.swg | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Lib/java/java.swg b/Lib/java/java.swg index c859751ae..514eb89b1 100644 --- a/Lib/java/java.swg +++ b/Lib/java/java.swg @@ -375,12 +375,6 @@ /* Default array handling */ %typemap(in) SWIGTYPE [] %{ $1 = *($&1_ltype)&$input; %} %typemap(out) SWIGTYPE [] %{ *($&1_ltype)&$result = $1; %} -%typemap(globalin) SWIGTYPE [] { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Variable $name is read-only."); -} -%typemap(memberin) SWIGTYPE [] { - SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "Variable $name is read-only."); -} /* char[ANY] - treat as String */ %typemap(in) char[ANY] {