Extract the fields of a C struct

后端 未结 7 694
盖世英雄少女心
盖世英雄少女心 2020-12-24 08:56

I often have to write code in other languages that interact with C structs. Most typically this involves writing Python code with the struct or ctypes modules.

So I

相关标签:
7条回答
  • 2020-12-24 09:31

    Have a look at Swig or SIP that would generate interface code for you or use ctypes.

    0 讨论(0)
提交回复
热议问题