这些变量类型在 python 中的 ctype 等效项是什么:
signed short iHD;
word iThem;
词定义为:
typedef unsigned short word
无符号 16 位类型的定义
到处找,但我找不到等效的 ctype
谢谢!
这些变量类型在 python 中的 ctype 等效项是什么:
signed short iHD;
word iThem;
词定义为:
typedef unsigned short word
无符号 16 位类型的定义
到处找,但我找不到等效的 ctype
谢谢!
你看过文档吗?
您正在寻找c_short
和c_ushort
http://docs.python.org/library/ctypes.html#ctypes.c_short http://docs.python.org/library/ctypes.html#ctypes.c_ushort