python ctypes 回调函数_Python ctypes中具有自定义类型的回调
那里有一些错误,有些是基本的Python错误:from ctypes import *class A(Structure):_fields_ = [("a1", c_char_p),("a2", c_int)]class Callback(object):def outputCallback(self, a, b): # outputCallback(): ?print a.con...