Skip to content

Commit

Permalink
Consistent const declarations in c-api ($libgeos#209)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/geos/trunk@2200 5242fede-7e19-0410-aef8-94bd7d2200fb
  • Loading branch information
pramsey committed Oct 14, 2008
1 parent 97cf20f commit 0cd9839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion capi/geos_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2348,7 +2348,7 @@ GEOSPrepare(const Geometry *g)
}

void
GEOSPreparedGeom_destroy(geos::geom::prep::PreparedGeometry *a)
GEOSPreparedGeom_destroy(const geos::geom::prep::PreparedGeometry *a)
{
try
{
Expand Down
2 changes: 1 addition & 1 deletion capi/geos_c.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ extern char GEOS_DLL GEOSEqualsExact(const GEOSGeometry* g1, const GEOSGeometry*
*/
extern const GEOSPreparedGeometry GEOS_DLL *GEOSPrepare(const GEOSGeometry* g);

extern void GEOS_DLL GEOSPreparedGeom_destroy(GEOSPreparedGeometry* g);
extern void GEOS_DLL GEOSPreparedGeom_destroy(const GEOSPreparedGeometry* g);

extern char GEOS_DLL GEOSPreparedContains(const GEOSPreparedGeometry* pg1, const GEOSGeometry* g2);
extern char GEOS_DLL GEOSPreparedContainsProperly(const GEOSPreparedGeometry* pg1, const GEOSGeometry* g2);
Expand Down

0 comments on commit 0cd9839

Please sign in to comment.