def cs_int(func):
 func.argtypes = [CS_PTR, POINTER(c_uint)]
 func.restype = c_int
 func.errcheck = check_cs_get
 return func

def cs_int ( func ) : func . argtypes = [ CS_PTR , POINTER ( c_uint ) ] func . restype = c_int func . errcheck = check_cs_get return func
for coordinate sequence routines that return an integer .