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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/geos-devel _______________________________________________ geos-devel mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/geos-devel
