开发者

How to convert a python c extension into a pure python ctypes module

开发者 https://www.devze.com 2023-03-19 16:41 出处:网络
Does anyone have any experience porting python c extensions to a pure python ctypes module ? I would like to transition over to ironpython but want to start translating some c extensi开发者_开发百科on

Does anyone have any experience porting python c extensions to a pure python ctypes module ? I would like to transition over to ironpython but want to start translating some c extensi开发者_开发百科ons or atleast parts of pywin32. What are some things to be aware of before starting ?


ctypesgen seems interesting:
this post analyzes use of ctypesgen vs pycparser for generating ctypes bindings to sdl.

0

精彩评论

暂无评论...
验证码 换一张
取 消