From: William F. <wsf...@us...> - 2006-06-02 20:49:28
|
Update of /cvsroot/swig/SWIG/Lib/java In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv9656/Lib/java Modified Files: java.swg Log Message: Fix return by reference for directors Index: java.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/java/java.swg,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** java.swg 13 May 2006 23:16:20 -0000 1.54 --- java.swg 2 Jun 2006 20:49:25 -0000 1.55 *************** *** 604,608 **** return $null; } ! $1 = ($1_ltype)$input; %} %typemap(directorin,descriptor="L$packagepath/$javaclassname;") SWIGTYPE & %{ *($&1_ltype)&$input = ($1_ltype) &$1; %} --- 604,608 ---- return $null; } ! $1 = *($&1_ltype)&$input; %} %typemap(directorin,descriptor="L$packagepath/$javaclassname;") SWIGTYPE & %{ *($&1_ltype)&$input = ($1_ltype) &$1; %} |