[ctypes-commit] ctypes/codegen TODO,1.2,1.3
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-06-09 17:38:44
|
Update of /cvsroot/ctypes/ctypes/codegen In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv8594 Modified Files: TODO Log Message: Index: TODO =================================================================== RCS file: /cvsroot/ctypes/ctypes/codegen/TODO,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TODO 8 Jun 2006 19:11:36 -0000 1.2 --- TODO 9 Jun 2006 17:38:41 -0000 1.3 *************** *** 1,13 **** codegenerator bugs: ! - Don't use the no-longer existing cdecl or stdcall decorators. ! - Don't generate code for COM interfaces. ! - In ctypes/comtypes: Move GUID and _GUID into ctypes.wintypes. ! - Import definitions from ctypes.wintypes ! - Import the old docs into cvs. ! - Write a README file. \ No newline at end of file --- 1,35 ---- codegenerator bugs: ! - In ctypes/comtypes: Move GUID and _GUID into ctypes.wintypes. ! - Import the old docs into cvs. ! - Write a README file. ! - Don't add 'artificial' structure or union names to the __all__ list. ! - Fix code generation for inline functions: ! <C code> ! #ifdef __cplusplus ! __inline int IsEqualGUID(REFGUID rguid1, REFGUID rguid2) ! { ! return !memcmp(&rguid1, &rguid2, sizeof(GUID)); ! } ! <C code/> ! ! <Python code> ! # C:/PROGRA~1/MICROS~3.NET/Vc7/PLATFO~1/Include/guiddef.h 160 ! IsEqualGUID = CDLL('ole32').IsEqualGUID ! IsEqualGUID.restypes = c_int ! # IsEqualGUID(rguid1, rguid2) ! IsEqualGUID.argtypes = [POINTER(GUID), POINTER(GUID)] ! ! <Python code/> ! ! <xml code> ! <Function id="_4898" name="IsEqualGUID" returns="_3989" context="_1" location="f14:160" file="f14" line="160" endline="162" inline="1"> ! <Argument name="rguid1" type="_9847" location="f14:160" file="f14" line="160"/> ! <Argument name="rguid2" type="_9847" location="f14:160" file="f14" line="160"/> ! </Function> ! <xml code/> \ No newline at end of file |