[geos-commits] [SCM] GEOS branch master updated. 4f099194d449b987cf9349f65731fce89891152f
git at osgeo.org
git at osgeo.org
Thu Oct 15 03:01:48 PDT 2020
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, master has been updated
via 4f099194d449b987cf9349f65731fce89891152f (commit)
from 27516e0bdb7526699c00fef328c61561ab7a4b47 (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 4f099194d449b987cf9349f65731fce89891152f
Author: Joris Van den Bossche <jorisvandenbossche at gmail.com>
Date: Thu Oct 15 11:15:57 2020 +0200
DOC: clarify that GEOSProject returns -1 on exception (C API)
diff --git a/capi/geos_c.h.in b/capi/geos_c.h.in
index 6fdf5f1..903475c 100644
--- a/capi/geos_c.h.in
+++ b/capi/geos_c.h.in
@@ -369,7 +369,8 @@ extern int GEOS_DLL GEOSCoordSeq_isCCW_r(GEOSContextHandle_t handle,
/* Return distance of point 'p' projected on 'g' from origin
- * of 'g'. Geometry 'g' must be a lineal geometry */
+ * of 'g'. Geometry 'g' must be a lineal geometry.
+ * Return -1 on exception*/
extern double GEOS_DLL GEOSProject_r(GEOSContextHandle_t handle,
const GEOSGeometry *g,
const GEOSGeometry *p);
@@ -1484,7 +1485,8 @@ extern int GEOS_DLL GEOSCoordSeq_isCCW(const GEOSCoordSequence* s, char* is_ccw)
/* Return distance of point 'p' projected on 'g' from origin
- * of 'g'. Geometry 'g' must be a lineal geometry */
+ * of 'g'. Geometry 'g' must be a lineal geometry.
+ * Return -1 on exception */
extern double GEOS_DLL GEOSProject(const GEOSGeometry *g,
const GEOSGeometry* p);
-----------------------------------------------------------------------
Summary of changes:
capi/geos_c.h.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list