From: Marcelo M. <mar...@us...> - 2004-05-27 11:30:08
|
Update of /cvsroot/swig/SWIG/Source/Modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8156/Modules Modified Files: python.cxx Log Message: fixes for const char[] Index: python.cxx =================================================================== RCS file: /cvsroot/swig/SWIG/Source/Modules/python.cxx,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** python.cxx 11 Apr 2004 05:55:34 -0000 1.47 --- python.cxx 27 May 2004 11:29:39 -0000 1.48 *************** *** 987,992 **** } } ! ! if ((shadow) && (SwigType_isconst(t))) { if (!in_class) { Printf(f_shadow_stubs,"%s = %s.%s\n", iname, global_name, iname); --- 987,991 ---- } } ! if ((shadow) && (!SwigType_ismutable(t))) { if (!in_class) { Printf(f_shadow_stubs,"%s = %s.%s\n", iname, global_name, iname); |