Update of /cvsroot/pywin32/pywin32/win32/src/win32print
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21318/win32/src/win32print
Modified Files:
win32print.cpp
Log Message:
PyWinObject_AsHANDLE losts its 3rd param - None is always OK (zero always
was, so the distinction is futile
Index: win32print.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32print/win32print.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** win32print.cpp 30 May 2007 02:37:01 -0000 1.26
--- win32print.cpp 3 Jun 2007 14:53:07 -0000 1.27
***************
*** 55,59 ****
// To be used in PyArg_ParseTuple with O& format
BOOL PyWinObject_AsPrinterHANDLE(PyObject *obhprinter, HANDLE *phprinter){
! return PyWinObject_AsHANDLE(obhprinter, phprinter, FALSE);
}
--- 55,59 ----
// To be used in PyArg_ParseTuple with O& format
BOOL PyWinObject_AsPrinterHANDLE(PyObject *obhprinter, HANDLE *phprinter){
! return PyWinObject_AsHANDLE(obhprinter, phprinter);
}
***************
*** 1206,1210 ****
&devicename, &obdmoutput, &obdminput, &mode))
return NULL;
! if (!PyWinObject_AsHANDLE(obhwnd, (HANDLE *)&hwnd, TRUE))
return NULL;
if (!PyWinObject_AsDEVMODE(obdmoutput, &dmoutput, TRUE))
--- 1206,1210 ----
&devicename, &obdmoutput, &obdminput, &mode))
return NULL;
! if (!PyWinObject_AsHANDLE(obhwnd, (HANDLE *)&hwnd))
return NULL;
if (!PyWinObject_AsDEVMODE(obdmoutput, &dmoutput, TRUE))
|