[geos-devel] RFC for Thread safe CAPI announced
Chuck Thibert
charles.thibert at ingres.com
Fri Oct 17 15:39:56 EDT 2008
I like it when the compiler can catch my mistakes. :) I've not seen _HS
before. Does it mean something particular?
Chuck
On Fri, 2008-10-17 at 14:25 -0500, Howard Butler wrote:
> On Oct 17, 2008, at 2:06 PM, Frank Warmerdam wrote:
> >
> > I'd add that I'd like the RFC to define the context of the context
> > structure. I also think that the application visible handle should be
> > declared:
> >
> > type void *GEOSContextHandle_t;
>
>
> I would suggest we change this to:
>
> typedef struct GEOSContextHandle_HS *GEOSContextHandle_t;
>
> which makes it easier for the compiler to catch when we pass in an
> incorrect pointer. For GDAL/OGR, if you compile with -DDEBUG, this
> pattern is currently applied, but it is not otherwise because we
> didn't want to risk breaking existing client code.
>
> Howard
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
More information about the geos-devel
mailing list