[geos-commits] [SCM] GEOS branch main updated. c7f715c4a100a57ad67fc44d70fb845e7006122b

git at osgeo.org git at osgeo.org
Sun Oct 10 14:24:42 PDT 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, main has been updated
       via  c7f715c4a100a57ad67fc44d70fb845e7006122b (commit)
       via  886fccdc02d42c5c82637364750ecc1cd4897eae (commit)
      from  e286d4afd4826fd1886a4ac18e32a3c026e11394 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c7f715c4a100a57ad67fc44d70fb845e7006122b
Merge: e286d4a 886fccd
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Sun Oct 10 14:24:33 2021 -0700

    Merge branch 'okft-main' into main


commit 886fccdc02d42c5c82637364750ecc1cd4897eae
Author: GOUJON Évan <goujon.evan at gmail.com>
Date:   Sun Oct 10 15:26:53 2021 +0200

    capi: Fix geometry destructor function name

diff --git a/capi/geos_c.h.in b/capi/geos_c.h.in
index 2f5c519..a238408 100644
--- a/capi/geos_c.h.in
+++ b/capi/geos_c.h.in
@@ -3764,7 +3764,7 @@ extern int GEOS_DLL GEOSNormalize(GEOSGeometry* g);
 *        or 0 for FLOATING precision
 * \param flags The bitwise OR of members of the \ref GEOSPrecisionRules enum
 * \return The precision reduced result.
-*         Caller must free with GEOSGeometry_destroy()
+*         Caller must free with GEOSGeom_destroy()
 *         NULL on exception.
 */
 extern GEOSGeometry GEOS_DLL *GEOSGeom_setPrecision(
@@ -3929,7 +3929,7 @@ extern int GEOS_DLL GEOSGeom_getYMax(const GEOSGeometry* g, double* value);
 * \param g Input geometry, must be a LineString
 * \param n Index of desired point (zero based)
 * \return A Point geometry.
-*         Caller must free with GEOSGeometry_destroy()
+*         Caller must free with GEOSGeom_destroy()
 *         NULL on exception.
 */
 extern GEOSGeometry GEOS_DLL *GEOSGeomGetPointN(const GEOSGeometry *g, int n);
@@ -3938,7 +3938,7 @@ extern GEOSGeometry GEOS_DLL *GEOSGeomGetPointN(const GEOSGeometry *g, int n);
 * Return the first point of a LineString
 * \param g Input geometry, must be a LineString
 * \return A Point geometry.
-*         Caller must free with GEOSGeometry_destroy()
+*         Caller must free with GEOSGeom_destroy()
 *         NULL on exception.
 */
 extern GEOSGeometry GEOS_DLL *GEOSGeomGetStartPoint(const GEOSGeometry *g);
@@ -3947,7 +3947,7 @@ extern GEOSGeometry GEOS_DLL *GEOSGeomGetStartPoint(const GEOSGeometry *g);
 * Return the last point of a LineString
 * \param g Input geometry, must be a LineString
 * \return A Point geometry.
-*         Caller must free with GEOSGeometry_destroy()
+*         Caller must free with GEOSGeom_destroy()
 *         NULL on exception.
 */
 extern GEOSGeometry GEOS_DLL *GEOSGeomGetEndPoint(const GEOSGeometry *g);
@@ -4152,7 +4152,7 @@ extern void GEOS_DLL GEOSWKTReader_destroy(GEOSWKTReader* reader);
 * a geometry, and return an allocated geometry.
 * \param reader A WKT reader object, caller retains ownership
 * \param wkt The WKT string to parse, caller retains ownership
-* \return A \ref GEOSGeometry, caller to free with GEOSGeometry_destroy())
+* \return A \ref GEOSGeometry, caller to free with GEOSGeom_destroy())
 */
 extern GEOSGeometry GEOS_DLL *GEOSWKTReader_read(
     GEOSWKTReader* reader,
@@ -4425,7 +4425,7 @@ extern void GEOS_DLL GEOSGeoJSONReader_destroy(GEOSGeoJSONReader* reader);
 * geometrycollection. Feature properties are not read.
 * \param reader A GeoJSON reader object, caller retains ownership
 * \param geojson The json string to parse, caller retains ownership
-* \return A \ref GEOSGeometry, caller to free with GEOSGeometry_destroy())
+* \return A \ref GEOSGeometry, caller to free with GEOSGeom_destroy())
 */
 extern GEOSGeometry GEOS_DLL *GEOSGeoJSONReader_readGeometry(
     GEOSGeoJSONReader* reader,

-----------------------------------------------------------------------

Summary of changes:
 capi/geos_c.h.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list