Python ctypes generator

Python ctypes generator

本文关键字:generator ctypes Python      更新时间:2023-10-16

python ctypes的发电机有什么建议吗?我在那里看到以下内容:

这是相当古老的(2005年):http://starship.python.net/crew/theller/ctypes/old/codegen.html

这似乎没有什么可下载的:http://code.google.com/p/ctypesgen/

这是一种可能性:http://sourceforge.net/projects/pygccxml/files/ctypes Code Generator/

我猜我会用手做,但是,希望有一个抢先。

谢谢斯科特

对于ctypesgen,您可以使用颠覆来检查中继线。另一种可能性可能是pycparser。