[postgis-tickets] [PostGIS] #2089: liblwgeom cannot be used through python ctypes

PostGIS trac at osgeo.org
Mon Dec 17 03:35:39 PST 2012


#2089: liblwgeom cannot be used through python ctypes
-------------------------+--------------------------------------------------
 Reporter:  brushtyler   |       Owner:  strk         
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  liblwgeom    |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by brushtyler):

 Replying to [comment:8 strk]:
 > cu_tester.c:97:31: error: ‘cu_errorreporter’ undeclared (first use in
 this function)

 I've attached the wrong patch... sorry. I'm attaching the correct one.

 > I think the setter function to return the previous handler, so to allow
 for pluggable memory debugger or disk loggers. Or there should be another
 function to extract them. Current API does give direct access to the
 handler variables.

 The setter function it's based on '''rt_set_handlers''' which doesn't do
 it. BTW I can add a getter for each handler or change the current
 '''lwgeom_set_handlers''' implementation if you prefer.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2089#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list