主要讲解: python 下 掉用C++ 函数的一些知识点。
包括,传地址、结构体定义,枚举定义等。
参考链接:
[1] _byref() argument must be a ctypes instance,
[2] 最全ctypes用法总结_
[3] How to use C enum in Python CTypes? - Python
[4]https://v4.chriskrycho.com/2015/ctypes-structures-and-dll-exports.html
[5] https://stackoverflow.com/questions/1546355/using-enums-in-ctypes-structure