def check_geom_offset(result, func, cargs, offset=(-1)):
 check_err(result)
 geom = ptr_byref(cargs, offset=offset)
 return check_geom(geom, func, cargs)

def check_geom_offset ( result , func , cargs , offset = ( - 1 ) ) : check_err ( result ) geom = ptr_byref ( cargs , offset = offset ) return check_geom ( geom , func , cargs )
chcks the geometry at the given offset in the c parameter list .