def cs_output(func, argtypes):
 func.argtypes = argtypes
 func.restype = CS_PTR
 func.errcheck = check_cs_ptr
 return func

def cs_output ( func , argtypes ) : func . argtypes = argtypes func . restype = CS_PTR func . errcheck = check_cs_ptr return func
for routines that return a coordinate sequence .