module documentation

Error checking functions for GEOS ctypes prototype functions.
Variable free Undocumented
Function check​_dbl Check the status code and returns the double value passed in by reference.
Function check​_geom Error checking on routines that return Geometries.
Function check​_minus​_one Error checking on routines that should not return -1.
Function check​_predicate Error checking for unary/binary predicate functions.
Function check​_sized​_string Error checking for routines that return explicitly sized strings.
Function check​_string Error checking for routines that return strings.
Function last​_arg​_byref Return the last C argument's value by reference.
free =

Undocumented

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.

def check_string(result, func, cargs):

Error checking for routines that return strings.

This frees the memory allocated by GEOS at the result pointer.

def last_arg_byref(args):
Return the last C argument's value by reference.