[pywin32-checkins] pywin32/win32/src PyWinTypes.h,1.44,1.45
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2007-06-05 05:46:50
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17140 Modified Files: PyWinTypes.h Log Message: PyWinObject_FromULONG_PTR must use PyWinLong_FromVoidPtr to be consistent with what we put together Index: PyWinTypes.h =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PyWinTypes.h,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** PyWinTypes.h 3 Jun 2007 14:53:07 -0000 1.44 --- PyWinTypes.h 5 Jun 2007 05:46:48 -0000 1.45 *************** *** 294,298 **** // It is *not* actually a pointer (but is the same size as a pointer) inline PyObject *PyWinObject_FromULONG_PTR(ULONG_PTR v) { ! return PyLong_FromVoidPtr((void *)v); } inline BOOL PyWinLong_AsULONG_PTR(PyObject *ob, ULONG_PTR *r) { --- 294,298 ---- // It is *not* actually a pointer (but is the same size as a pointer) inline PyObject *PyWinObject_FromULONG_PTR(ULONG_PTR v) { ! return PyWinLong_FromVoidPtr((void *)v); } inline BOOL PyWinLong_AsULONG_PTR(PyObject *ob, ULONG_PTR *r) { |