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:
parent
b26a8fe653
commit
981a5597d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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; %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue