Module errcheck
Error checking functions for GEOS ctypes prototype functions.
source linkFunctions
▶ def check_dbl(result, func, cargs) Check the status code and returns the double value passed in by reference.
▶ def check_geom(result, func, cargs) Error checking on routines that return Geometries.
▶ def check_minus_one(result, func, cargs) Error checking on routines that should not return -1.
▶ def check_predicate(result, func, cargs) Error checking for unary/binary predicate functions.
▶ def check_sized_string(result, func, cargs) Error checking for routines that return explicitly sized strings.
This frees the memory allocated by GEOS at the result pointer.
Reexports
▶ def check_string(result, func, cargs) Error checking for routines that return strings.
This frees the memory allocated by GEOS at the result pointer.
Reexports
▶ def last_arg_byref(args) Return the last C argument's value by reference.