[pywin32-checkins] pywin32/win32/src _winxptheme.i,1.3,1.3.2.1
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2008-09-28 16:36:10
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv640 Modified Files: Tag: py3k _winxptheme.i Log Message: Don't treat HTHEME and HDC as longs Index: _winxptheme.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/_winxptheme.i,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** _winxptheme.i 3 Jun 2007 14:53:07 -0000 1.3 --- _winxptheme.i 28 Sep 2008 16:35:56 -0000 1.3.2.1 *************** *** 85,97 **** } ! %apply long {HTHEME}; ! typedef long HTHEME; ! ! ! %apply HWND {long}; ! typedef long HWND ! %apply HDC {long}; ! typedef long HDC %typemap(python,ignore) RECT *OUTPUT(RECT temp) --- 85,96 ---- } ! %apply HANDLE {HTHEME}; ! typedef HANDLE HTHEME; ! typedef float HDC; ! %typemap(python, in) HDC{ ! if (!PyWinObject_AsHANDLE($source, (HANDLE *)&$target)) ! return NULL; ! } %typemap(python,ignore) RECT *OUTPUT(RECT temp) |