, "POINTER" ctypes Python , " " (ctypes.CArgObject by ctypes.byref), , , ( , ctype adrresof) - , `ctypes.c_voidp, _lib.mymethod(ctypes.addressof(a)) -
, , , Python ( Python - , C-, Python), "", POINTER , :
mystruct_pointer = ctypes.POINTER(mystruct)
_lib.mymethod.argtypes = (mystruct_pointer,)
_lib.mymethod.restype = ctypes.c_int
s = mystruct()
_lib.mymethod(mystruct_pointer.from_address(ctypes.addressof(s)))