[geos-devel] Re: [GEOS] #540: C-API: Allow passing custom memory managment functions

GEOS geos-trac at osgeo.org
Fri May 25 05:19:41 PDT 2012


#540: C-API: Allow passing custom memory managment functions
-------------------------+--------------------------------------------------
 Reporter:  strk         |        Owner:  geos-devel@…              
     Type:  enhancement  |       Status:  reopened                  
 Priority:  major        |    Milestone:  3.4.0                     
Component:  Default      |      Version:  svn-trunk                 
 Severity:  Unassigned   |   Resolution:                            
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by strk):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 The implementation isn't good in that installs _global_ operator
 new/delete.
 Doing so affects not only GEOS but any other C++ library linked into the
 final application (and the application itself).

 I think I'm going to revert the whole CustomAllocator class and C-API
 interface for it.

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/540#comment:4>
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