[geos-devel] When do topology functions return NULL?

Andrew Hershberger andrew.d.hershberger at gmail.com
Wed Jul 18 06:51:07 PDT 2018

GEOSwift is a Swift wrapper for geos's thread-safe C interface. A recent
commit (
added NULL checks for the return values of the topology operations, but
from inspection of the geos code, it seems like the topology operations
only return NULL if the handle is NULL or uninitialized, which our wrapper
prevents. We're using version 3.5.0. Do these topology operations return
NULL in any other cases?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20180718/82135bef/attachment.html>

More information about the geos-devel mailing list