From: Marcelo M. <mar...@us...> - 2004-10-05 21:43:59
|
Update of /cvsroot/swig/SWIG/Lib/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18895 Modified Files: pyprimtypes.swg Log Message: fix bug report 1039688 Index: pyprimtypes.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/python/pyprimtypes.swg,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** pyprimtypes.swg 2 Oct 2004 20:15:46 -0000 1.15 --- pyprimtypes.swg 5 Oct 2004 21:43:34 -0000 1.16 *************** *** 230,233 **** --- 230,234 ---- SWIG_AsVal(unsigned long long)(PyObject *obj, unsigned long long *val) { + unsigned long v; if (PyLong_Check(obj)) { unsigned long long v = PyLong_AsUnsignedLongLong(obj); *************** *** 240,244 **** } } - unsigned long v; if (SWIG_AsVal(unsigned long)(obj,&v)) { if (val) *val = v; --- 241,244 ---- |