[geos-commits] [SCM] GEOS branch main updated. 8b96f9eae21c5a69de49904d7103af325b4a1407

git at osgeo.org git at osgeo.org
Wed Jun 7 16:40:19 PDT 2023


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  8b96f9eae21c5a69de49904d7103af325b4a1407 (commit)
      from  e1615302ce4f17b71b45b919a4934ca9cb7ce3b8 (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 8b96f9eae21c5a69de49904d7103af325b4a1407
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Jun 7 16:37:24 2023 -0700

    GEOSDistanceCallback documentation gives wrong information about required return values

diff --git a/capi/geos_c.h.in b/capi/geos_c.h.in
index 385f744f5..210fd014e 100644
--- a/capi/geos_c.h.in
+++ b/capi/geos_c.h.in
@@ -263,7 +263,7 @@ typedef void (*GEOSQueryCallback)(void *item, void *userdata);
 * \param distance the distance between the items here
 * \param userdata extra data for the calculation
 *
-* \return zero if distance calculation succeeded, non-zero otherwise
+* \return 1 if distance calculation succeeds, 0 otherwise
 *
 * \see GEOSSTRtree_nearest_generic
 * \see GEOSSTRtree_iterate

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

Summary of changes:
 capi/geos_c.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list