def check_errcode(result, func, cargs):
    check_err(result)
    return
Check the error code returned (c_int).
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/gdal/prototypes/errcheck.py/check_errcode