def check_const_string(result, func, cargs, offset=None):
    if offset:
        check_err(result)
        ptr = ptr_byref(cargs, offset)
        return ptr.value
    else:
        return result
Search the data for a hit.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/gdal/prototypes/errcheck.py/check_const_string--crossover with--dataset/ETHPy150Open google/grr/grr/client/client_actions/searching.py/Grep.FindRegex