From: Marcelo M. <mar...@us...> - 2004-10-06 02:35:44
|
Update of /cvsroot/swig/SWIG/Lib/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20121/Lib/python Modified Files: pyswigtype.swg Log Message: add patch 903150 Index: pyswigtype.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/python/pyswigtype.swg,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** pyswigtype.swg 2 Oct 2004 01:43:16 -0000 1.9 --- pyswigtype.swg 6 Oct 2004 02:35:28 -0000 1.10 *************** *** 65,69 **** { $&1_ltype resultptr; ! resultptr = new $1_ltype(($1_ltype &) $1); $result = SWIG_NewPointerObj((void *)(resultptr), $&1_descriptor, 1); } --- 65,69 ---- { $&1_ltype resultptr; ! resultptr = new $1_ltype(static_cast<$1_type &>($1)); $result = SWIG_NewPointerObj((void *)(resultptr), $&1_descriptor, 1); } |