[postgis-devel] Re: [postgis-users] GEOS crashing PostgreSQL?

Markus Schaber schabi at logix-tt.com
Wed Oct 25 06:53:08 PDT 2006


Hi, Strk,

Markus Schaber wrote:

>> mm.. by looking at GEOS code, despite the fact that the geos_c.h header
>> advertise those two functions as taking a size_t, the actual implementation
>> really expects an unsigned int instead.

While thinking about it, that might be the side-effect of the C calling
convention.

In fact, you could declare all functions as myfung(...) and, as long as
caller and callee agree, it all works fine.

HTH,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org



More information about the postgis-devel mailing list