Fix return by reference for directors

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-06-02 20:49:25 +00:00
commit 981a5597d3

View file

@ -603,7 +603,7 @@
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Unexpected null return for type $1_type");
return $null;
}
$1 = ($1_ltype)$input; %}
$1 = *($&1_ltype)&$input; %}
%typemap(directorin,descriptor="L$packagepath/$javaclassname;") SWIGTYPE &
%{ *($&1_ltype)&$input = ($1_ltype) &$1; %}