From: Marcelo M. <mar...@us...> - 2005-12-10 00:40:50
|
Update of /cvsroot/swig/SWIG/Lib/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29459/Lib/python Modified Files: pystrings.swg Log Message: add missing %s Index: pystrings.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/python/pystrings.swg,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** pystrings.swg 10 Dec 2005 00:36:10 -0000 1.22 --- pystrings.swg 10 Dec 2005 00:40:42 -0000 1.23 *************** *** 21,29 **** so, be careful. */ ! #if defined(SWIG_PYTHON_SAFE_CSTRINGS) if (*alloc != SWIG_OLDOBJ) ! #else if (*alloc == SWIG_NEWOBJ) ! #endif { *cptr = %new_copy_array(cstr, len + 1, char); --- 21,29 ---- so, be careful. */ ! %#if defined(SWIG_PYTHON_SAFE_CSTRINGS) if (*alloc != SWIG_OLDOBJ) ! %#else if (*alloc == SWIG_NEWOBJ) ! %#endif { *cptr = %new_copy_array(cstr, len + 1, char); |