[pywin32-checkins] pywin32/win32/src win32rasmodule.cpp,1.11,1.12
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-12-03 22:16:57
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv32716/win32/src Modified Files: win32rasmodule.cpp Log Message: Change EnumConnections back to returning a list Index: win32rasmodule.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32rasmodule.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** win32rasmodule.cpp 3 Dec 2008 21:52:33 -0000 1.11 --- win32rasmodule.cpp 3 Dec 2008 22:16:53 -0000 1.12 *************** *** 551,555 **** pCon = &tc; } ! PyObject *ret = PyTuple_New(noConns); if (ret==NULL) return NULL; --- 551,555 ---- pCon = &tc; } ! PyObject *ret = PyList_New(noConns); if (ret==NULL) return NULL; *************** *** 566,570 **** break; } ! PyTuple_SET_ITEM(ret, i, item); } // @rdesc Each tuple is of format (handle, entryName, deviceType, deviceName) --- 566,570 ---- break; } ! PyList_SET_ITEM(ret, i, item); } // @rdesc Each tuple is of format (handle, entryName, deviceType, deviceName) |