From: Marcelo M. <mar...@us...> - 2006-01-15 08:44:53
|
Update of /cvsroot/swig/SWIG/Lib/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26570/Lib/python Modified Files: pyprimtypes.swg Log Message: fix missing long Index: pyprimtypes.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/python/pyprimtypes.swg,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** pyprimtypes.swg 30 Dec 2005 01:14:23 -0000 1.31 --- pyprimtypes.swg 15 Jan 2006 08:44:46 -0000 1.32 *************** *** 251,255 **** int res = SWIG_AddCast(SWIG_AsVal(double)(obj,&d)); if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULLONG_MAX)) { ! if (val) *val = (unsigned long)(d); return res; } --- 251,255 ---- int res = SWIG_AddCast(SWIG_AsVal(double)(obj,&d)); if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULLONG_MAX)) { ! if (val) *val = (unsigned long long)(d); return res; } |