[geos-devel] [GEOS] #695: [PATCH] geos_c.h: Make it possible to not use global functions.

GEOS geos-trac at osgeo.org
Sat Jun 28 08:09:44 PDT 2014


#695: [PATCH] geos_c.h: Make it possible to not use global functions.
-------------------------+--------------------------------------------------
 Reporter:  rouault      |       Owner:  geos-devel@…              
     Type:  enhancement  |      Status:  new                       
 Priority:  major        |   Milestone:                            
Component:  Default      |     Version:                            
 Severity:  Unassigned   |    Keywords:                            
-------------------------+--------------------------------------------------
 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

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/695>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list