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: geos-devel@…
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)

ticket695.patch (65.3 KB ) - added by rouault 10 years ago.

Download all attachments as: .zip

Change History (2)

by rouault, 10 years ago

Attachment: ticket695.patch added

comment:1 by strk, 10 years ago

Component: DefaultC API
Milestone: 3.5.0
Resolution: fixed
Status: newclosed

Committed as r3991, thanks

Note: See TracTickets for help on using tickets.