[geos-commits] [SCM] GEOS branch 3.8 updated. 81329ab2c8da8b5b980b4a947ff102b660b29f0f

git at osgeo.org git at osgeo.org
Mon Apr 26 10:51:36 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, 3.8 has been updated
       via  81329ab2c8da8b5b980b4a947ff102b660b29f0f (commit)
       via  0bc3b6c96a8fa9b88d1aef2a5818233756f2711a (commit)
       via  4e4701edf4ffbe3fb44031e50ee74f154925cefe (commit)
      from  8721ea66b23427c1eee2ee49318690a63684fe51 (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 81329ab2c8da8b5b980b4a947ff102b660b29f0f
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Apr 26 10:51:30 2021 -0700

    Update NEWS

diff --git a/NEWS b/NEWS
index e41356f..46038f4 100644
--- a/NEWS
+++ b/NEWS
@@ -3,12 +3,10 @@ Changes in 3.8.3
 2021-xx-xx
 
 - Bug fixes / improvements
-  -  Add void to no-argument prototypes. References libgeos#437 (Paul Ramsey)
-
+  - Add void to no-argument prototypes. References libgeos#437 (Paul Ramsey)
   - Fix BufferOp to avoid artifacts in certain polygon buffers (#1101, Martin Davis)
 
 
-
 Changes in 3.8.2
 2021-04-10
 

commit 0bc3b6c96a8fa9b88d1aef2a5818233756f2711a
Merge: 4e4701e 8721ea6
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Apr 26 10:51:08 2021 -0700

    Merge branch '3.8' of https://git.osgeo.org/gitea/geos/geos into 3.8

diff --cc NEWS
index 9b784d9,d877517..e41356f
--- a/NEWS
+++ b/NEWS
@@@ -3,8 -3,10 +3,11 @@@ Changes in 3.8.
  2021-xx-xx
  
  - Bug fixes / improvements
 +  -  Add void to no-argument prototypes. References libgeos#437 (Paul Ramsey)
  
+   - Fix BufferOp to avoid artifacts in certain polygon buffers (#1101, Martin Davis)
+ 
+ 
  
  Changes in 3.8.2
  2021-04-10

commit 4e4701edf4ffbe3fb44031e50ee74f154925cefe
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Apr 26 10:51:00 2021 -0700

    Add void to no-argument prototypes. References https://github.com/libgeos/geos/issues/437

diff --git a/NEWS b/NEWS
index a4c2d73..9b784d9 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ Changes in 3.8.3
 2021-xx-xx
 
 - Bug fixes / improvements
+  -  Add void to no-argument prototypes. References libgeos#437 (Paul Ramsey)
 
 
 Changes in 3.8.2
diff --git a/capi/geos_c.h.in b/capi/geos_c.h.in
index cf66d6f..ef82f69 100644
--- a/capi/geos_c.h.in
+++ b/capi/geos_c.h.in
@@ -157,12 +157,12 @@ typedef int (*GEOSDistanceCallback)(const void *item1, const void* item2, double
  * The callback will be invoked _before_ checking for
  * interruption, so can be used to request it.
  */
-typedef void (GEOSInterruptCallback)();
+typedef void (GEOSInterruptCallback)(void);
 extern GEOSInterruptCallback GEOS_DLL *GEOS_interruptRegisterCallback(GEOSInterruptCallback* cb);
 /* Request safe interruption of operations */
-extern void GEOS_DLL GEOS_interruptRequest();
+extern void GEOS_DLL GEOS_interruptRequest(void);
 /* Cancel a pending interruption request */
-extern void GEOS_DLL GEOS_interruptCancel();
+extern void GEOS_DLL GEOS_interruptCancel(void);
 
 /*
  * @deprecated in 3.5.0
@@ -177,7 +177,7 @@ extern GEOSContextHandle_t GEOS_DLL initGEOS_r(
  */
 extern void GEOS_DLL finishGEOS_r(GEOSContextHandle_t handle);
 
-extern GEOSContextHandle_t GEOS_DLL GEOS_init_r();
+extern GEOSContextHandle_t GEOS_DLL GEOS_init_r(void);
 extern void GEOS_DLL GEOS_finish_r(GEOSContextHandle_t handle);
 
 
@@ -212,7 +212,7 @@ extern GEOSMessageHandler_r GEOS_DLL GEOSContext_setErrorMessageHandler_r(GEOSCo
                                                                           GEOSMessageHandler_r ef,
                                                                           void *userData);
 
-extern const char GEOS_DLL *GEOSversion();
+extern const char GEOS_DLL *GEOSversion(void);
 
 
 /************************************************************************
@@ -1360,14 +1360,14 @@ extern char GEOS_DLL *GEOSGeomToWKT(const GEOSGeometry* g);
  * Specify whether output WKB should be 2d or 3d.
  * Return previously set number of dimensions.
  */
-extern int GEOS_DLL GEOS_getWKBOutputDims();
+extern int GEOS_DLL GEOS_getWKBOutputDims(void);
 extern int GEOS_DLL GEOS_setWKBOutputDims(int newDims);
 
 /*
  * Specify whether the WKB byte order is big or little endian.
  * The return value is the previous byte order.
  */
-extern int GEOS_DLL GEOS_getWKBByteOrder();
+extern int GEOS_DLL GEOS_getWKBByteOrder(void);
 extern int GEOS_DLL GEOS_setWKBByteOrder(int byteOrder);
 
 extern GEOSGeometry GEOS_DLL *GEOSGeomFromWKB_buf(const unsigned char *wkb, size_t size);
@@ -1490,7 +1490,7 @@ extern GEOSGeometry GEOS_DLL *GEOSBuffer(const GEOSGeometry* g,
     double width, int quadsegs);
 
 /* @return 0 on exception */
-extern GEOSBufferParams GEOS_DLL *GEOSBufferParams_create();
+extern GEOSBufferParams GEOS_DLL *GEOSBufferParams_create(void);
 extern void GEOS_DLL GEOSBufferParams_destroy(GEOSBufferParams* parms);
 
 /* @return 0 on exception */
@@ -1556,17 +1556,17 @@ extern GEOSGeometry GEOS_DLL *GEOSOffsetCurve(const GEOSGeometry* g,
 
 extern GEOSGeometry GEOS_DLL *GEOSGeom_createPoint(GEOSCoordSequence* s);
 extern GEOSGeometry GEOS_DLL *GEOSGeom_createPointFromXY(double x, double y);
-extern GEOSGeometry GEOS_DLL *GEOSGeom_createEmptyPoint();
+extern GEOSGeometry GEOS_DLL *GEOSGeom_createEmptyPoint(void);
 extern GEOSGeometry GEOS_DLL *GEOSGeom_createLinearRing(GEOSCoordSequence* s);
 extern GEOSGeometry GEOS_DLL *GEOSGeom_createLineString(GEOSCoordSequence* s);
-extern GEOSGeometry GEOS_DLL *GEOSGeom_createEmptyLineString();
+extern GEOSGeometry GEOS_DLL *GEOSGeom_createEmptyLineString(void);
 
 /*
  * Second argument is an array of GEOSGeometry* objects.
  * The caller remains owner of the array, but pointed-to
  * objects become ownership of the returned GEOSGeometry.
  */
-extern GEOSGeometry GEOS_DLL *GEOSGeom_createEmptyPolygon();
+extern GEOSGeometry GEOS_DLL *GEOSGeom_createEmptyPolygon(void);
 extern GEOSGeometry GEOS_DLL *GEOSGeom_createPolygon(GEOSGeometry* shell,
     GEOSGeometry** holes, unsigned int nholes);
 extern GEOSGeometry GEOS_DLL *GEOSGeom_createCollection(int type,
@@ -2132,12 +2132,12 @@ extern int GEOS_DLL GEOSOrientationIndex(double Ax, double Ay, double Bx, double
  ***********************************************************************/
 
 /* WKT Reader */
-extern GEOSWKTReader GEOS_DLL *GEOSWKTReader_create();
+extern GEOSWKTReader GEOS_DLL *GEOSWKTReader_create(void);
 extern void GEOS_DLL GEOSWKTReader_destroy(GEOSWKTReader* reader);
 extern GEOSGeometry GEOS_DLL *GEOSWKTReader_read(GEOSWKTReader* reader, const char *wkt);
 
 /* WKT Writer */
-extern GEOSWKTWriter GEOS_DLL *GEOSWKTWriter_create();
+extern GEOSWKTWriter GEOS_DLL *GEOSWKTWriter_create(void);
 extern void GEOS_DLL GEOSWKTWriter_destroy(GEOSWKTWriter* writer);
 extern char GEOS_DLL *GEOSWKTWriter_write(GEOSWKTWriter* writer, const GEOSGeometry* g);
 extern void GEOS_DLL GEOSWKTWriter_setTrim(GEOSWKTWriter *writer, char trim);
@@ -2147,13 +2147,13 @@ extern int  GEOS_DLL GEOSWKTWriter_getOutputDimension(GEOSWKTWriter *writer);
 extern void GEOS_DLL GEOSWKTWriter_setOld3D(GEOSWKTWriter *writer, int useOld3D);
 
 /* WKB Reader */
-extern GEOSWKBReader GEOS_DLL *GEOSWKBReader_create();
+extern GEOSWKBReader GEOS_DLL *GEOSWKBReader_create(void);
 extern void GEOS_DLL GEOSWKBReader_destroy(GEOSWKBReader* reader);
 extern GEOSGeometry GEOS_DLL *GEOSWKBReader_read(GEOSWKBReader* reader, const unsigned char *wkb, size_t size);
 extern GEOSGeometry GEOS_DLL *GEOSWKBReader_readHEX(GEOSWKBReader* reader, const unsigned char *hex, size_t size);
 
 /* WKB Writer */
-extern GEOSWKBWriter GEOS_DLL *GEOSWKBWriter_create();
+extern GEOSWKBWriter GEOS_DLL *GEOSWKBWriter_create(void);
 extern void GEOS_DLL GEOSWKBWriter_destroy(GEOSWKBWriter* writer);
 
 /* The caller owns the results for these two methods! */

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

Summary of changes:
 NEWS             |  3 +--
 capi/geos_c.h.in | 30 +++++++++++++++---------------
 2 files changed, 16 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list