[pywin32-checkins] pywin32/win32/src odbc.cpp,1.18,1.19
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2007-05-30 06:08:04
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7664/win32/src Modified Files: odbc.cpp Log Message: Fix 's#' 64-bit issue Index: odbc.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/odbc.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** odbc.cpp 24 May 2007 06:01:05 -0000 1.18 --- odbc.cpp 30 May 2007 06:08:04 -0000 1.19 *************** *** 15,19 **** #include <string.h> ! #include <pywintypes.h> #include <sql.h> #include <sqlext.h> --- 15,19 ---- #include <string.h> ! #include "PyWinTypes.h" #include <sql.h> #include <sqlext.h> *************** *** 1814,1818 **** ret = NULL; } else ! ret = Py_BuildValue("s#s#", svr, svr_size, desc, desc_size); return ret; } --- 1814,1820 ---- ret = NULL; } else ! ret = Py_BuildValue("NN", ! PyString_FromStringAndSize((char *)svr, svr_size), ! PyString_FromStringAndSize((char *)desc, desc_size)); return ret; } |