mirror of
https://github.com/django/django.git
synced 2025-10-26 23:26:08 +00:00
Fixed #25932 -- Made predicates of OGRGeometry return bool instead of int.
This commit is contained in:
committed by
Tim Graham
parent
cd0ba8053d
commit
a6c803a2e3
@@ -26,7 +26,7 @@ def pnt_func(f):
|
||||
def topology_func(f):
|
||||
f.argtypes = [c_void_p, c_void_p]
|
||||
f.restype = c_int
|
||||
f.errchck = bool
|
||||
f.errcheck = lambda result, func, cargs: bool(result)
|
||||
return f
|
||||
|
||||
# ### OGR_G ctypes function prototypes ###
|
||||
|
||||
Reference in New Issue
Block a user