def dbl_from_geom(func, num_geom=1):
    argtypes = [GEOM_PTR for i in xrange(num_geom)]
    argtypes += [POINTER(c_double)]
    func.argtypes = argtypes
    func.restype = c_int # Status code returned
    func.errcheck = check_dbl
    return func

### ctypes prototypes ###

# Area, distance, and length prototypes.
An unordered generator of parent subfolders for ``ident``.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/contrib/gis/geos/prototypes/misc.py/dbl_from_geom--crossover with--dataset/ETHPy150Open dossier/dossier.web/dossier/web/label_folders.py/Folders.parent_subfolders