Opened 3 years ago
Last modified 20 months ago
#1114 new defect
CAPI STRtree functions swallow errors
Reported by: | dbaston | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 3.11.0 |
Component: | Default | Version: | main |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
GEOSSTRtree_insert, GEOSTRtree_query, and GEOSSTRtree_iterate all return void instead of an integer error code. If an exception is thrown in these functions it cannot be detected by calling code.
Change History (3)
comment:1 by , 3 years ago
comment:3 by , 20 months ago
Changing these to return int shouldn't break anything, should it? GDAL recently mad a similar change: https://github.com/OSGeo/gdal/pull/6303
Note:
See TracTickets
for help on using tickets.
All true. Any preferences for new function names?