[pywin32-checkins] pywin32/win32/src PyWinTypes.h,1.41,1.42
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2007-05-29 12:28:46
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24879/win32/src Modified Files: PyWinTypes.h Log Message: Add an inline PyWinObject_AsPARAM taking an LPARAM* Index: PyWinTypes.h =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PyWinTypes.h,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** PyWinTypes.h 27 May 2007 17:32:14 -0000 1.41 --- PyWinTypes.h 29 May 2007 12:28:45 -0000 1.42 *************** *** 409,412 **** --- 409,415 ---- return PyWinObject_FromULONG_PTR(param); } + inline BOOL PyWinObject_AsPARAM(PyObject *ob, LPARAM *pparam) { + return PyWinObject_AsPARAM(ob, (WPARAM *)pparam); + } inline PyObject *PyWinObject_FromPARAM(LPARAM param) { return PyWinObject_FromULONG_PTR(param); |