Opened 10 years ago
Closed 10 years ago
#695 closed enhancement (fixed)
[PATCH] geos_c.h: Make it possible to not use global functions.
Reported by: | rouault | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 3.5.0 |
Component: | C API | Version: | |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
As discussed in http://lists.osgeo.org/pipermail/geos-devel/2014-June/006878.html,
this patch moves the reentrant API at top of geos_c.h, and the (deprecated) global API at bottom by protecting it with #ifndef GEOS_USE_ONLY_R_API
That way, applications can #define GEOS_USE_ONLY_R_API before including geos_c.h to avoid using the deprecated API
Attachments (1)
Change History (2)
by , 10 years ago
Attachment: | ticket695.patch added |
---|
comment:1 by , 10 years ago
Component: | Default → C API |
---|---|
Milestone: | → 3.5.0 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Committed as r3991, thanks