|
From: Andre R. <and...@us...> - 2004-11-23 15:43:51
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15832/Common/source Modified Files: Tag: sidewinder-branch langpython.c Log Message: Fixed irregular line ending characters, perhaps imported via copy and paste in Xcode. Eliminated Visual C warning about return value of Table_setIndex. Index: langpython.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/langpython.c,v retrieving revision 1.2.4.7 retrieving revision 1.2.4.8 diff -C2 -d -r1.2.4.7 -r1.2.4.8 *** langpython.c 23 Nov 2004 07:11:27 -0000 1.2.4.7 --- langpython.c 23 Nov 2004 15:43:42 -0000 1.2.4.8 *************** *** 67,71 **** #include "langpython.h" ! #if defined(MACVERSION) && defined(TARGET_RT_MAC_MACHO) #include <Python/Python.h> #else #include <Python.h> #endif #include <time.h> --- 67,75 ---- #include "langpython.h" ! #if defined(MACVERSION) && defined(TARGET_RT_MAC_MACHO) ! #include <Python/Python.h> ! #else ! #include <Python.h> ! #endif #include <time.h> *************** *** 685,689 **** if (!hashgetnthnode(self->table, index, &node)) { PyErr_SetString(PyExc_IndexError, "Index out of bounds"); ! return NULL; } --- 689,693 ---- if (!hashgetnthnode(self->table, index, &node)) { PyErr_SetString(PyExc_IndexError, "Index out of bounds"); ! return 0; } |