def check_envelope(result, func, cargs, offset=-1):
    env = ptr_byref(cargs, offset)
    return env

### Geometry error-checking routines ###
Test the product filtering of the readout.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/gdal/prototypes/errcheck.py/check_envelope--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/dashboards/tests/test_readouts.py/CannedResponsesTests.test_by_product