[pywin32-checkins] pywin32/SWIG/swig_lib/python pythoncom.i, 1.3, 1.4
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2006-07-10 13:10:19
|
Update of /cvsroot/pywin32/pywin32/SWIG/swig_lib/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6077/SWIG/swig_lib/python Modified Files: pythoncom.i Log Message: Add IDispatch as a 'native' SWIG type. Index: pythoncom.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/SWIG/swig_lib/python/pythoncom.i,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pythoncom.i 21 Oct 2005 06:14:03 -0000 1.3 --- pythoncom.i 10 Jul 2006 13:10:08 -0000 1.4 *************** *** 74,77 **** --- 74,81 ---- $target = &temp; } + %typemap(python,ignore) IDispatch **OUTPUT(IDispatch *temp) + { + $target = &temp; + } %{ *************** *** 113,116 **** --- 117,124 ---- } + %typemap(python,argout) IDispatch **OUTPUT { + MAKE_OUTPUT_INTERFACE($source, $target, IID_IDispatch) + } + %typemap(python,freearg) IUnknown *INPUT, IUnknown *INPUT_NULLOK, |