### ----------------------------------------------------
### -- GEOS
### -- Licenses: MIT
### -- Authors: Brian Duggan
### -- File: lib/GEOS/Native.rakumod
### ----------------------------------------------------
### -- Chunk 4 of 4
 } 

# /** \see GEOSWKBWriter_getByteOrder */
# extern int GEOS_DLL GEOSWKBWriter_getByteOrder_r(
#     GEOSContextHandle_t handle,
#     const GEOSWKBWriter* writer);
sub GEOSWKBWriter_getByteOrder_r(GEOSContextHandle, Pointer) returns int32 is native(GEOS) is export { * } 

# /** \see GEOSWKBWriter_setByteOrder */
# extern void GEOS_DLL GEOSWKBWriter_setByteOrder_r(
#     GEOSContextHandle_t handle,
#     GEOSWKBWriter* writer,
#     int byteOrder);
sub GEOSWKBWriter_setByteOrder_r(GEOSContextHandle, Pointer, int32) is native(GEOS) is export { * } 

# /** \see GEOSWKBWriter_getFlavor */
# extern int GEOS_DLL GEOSWKBWriter_getFlavor_r(
#     GEOSContextHandle_t handle,
#     const GEOSWKBWriter* writer);
sub GEOSWKBWriter_getFlavor_r(GEOSContextHandle, Pointer) returns int32 is native(GEOS) is export { * } 

# /** \see GEOSWKBWriter_setFlavor */
# extern void GEOS_DLL GEOSWKBWriter_setFlavor_r(
#     GEOSContextHandle_t handle,
#     GEOSWKBWriter* writer,
#     int flavor);
sub GEOSWKBWriter_setFlavor_r(GEOSContextHandle, Pointer, int32) is native(GEOS) is export { * } 

# /** \see GEOSWKBWriter_getIncludeSRID */
# extern char GEOS_DLL GEOSWKBWriter_getIncludeSRID_r(
#     GEOSContextHandle_t handle,
#     const GEOSWKBWriter* writer);
sub GEOSWKBWriter_getIncludeSRID_r(GEOSContextHandle, Pointer) returns int32 is native(GEOS) is export { * } 

# /** \see GEOSWKBWriter_setIncludeSRID */
# extern void GEOS_DLL GEOSWKBWriter_setIncludeSRID_r(
#     GEOSContextHandle_t handle,
#     GEOSWKBWriter* writer, const char writeSRID);
sub GEOSWKBWriter_setIncludeSRID_r(GEOSContextHandle, Pointer, int32) is native(GEOS) is export { * } 

# /* ========== GeoJSON Reader ========== */
# 
# /** \see GEOSGeoJSONReader_create */
# extern GEOSGeoJSONReader GEOS_DLL *GEOSGeoJSONReader_create_r(
#     GEOSContextHandle_t handle);
sub GEOSGeoJSONReader_create_r(GEOSContextHandle) returns Pointer is native(GEOS) is export { * }

# /** \see GEOSGeoJSONReader_destroy */
# extern void GEOS_DLL GEOSGeoJSONReader_destroy_r(GEOSContextHandle_t handle,
#     GEOSGeoJSONReader* reader);
sub GEOSGeoJSONReader_destroy_r(GEOSContextHandle, Pointer) is native(GEOS) is export { * } 

# /** \see GEOSGeoJSONReader_read */
# extern GEOSGeometry GEOS_DLL *GEOSGeoJSONReader_readGeometry_r(
#     GEOSContextHandle_t handle,
#     GEOSGeoJSONReader* reader,
#     const char *geojson);
sub GEOSGeoJSONReader_readGeometry_r(GEOSContextHandle, Pointer, Str) returns Pointer is native(GEOS) is export { * } 

# /* ========== GeoJSON Writer ========== */
# 
# /** \see GEOSGeoJSONWriter_create */
# extern GEOSGeoJSONWriter GEOS_DLL *GEOSGeoJSONWriter_create_r(
#     GEOSContextHandle_t handle);
sub GEOSGeoJSONWriter_create_r(GEOSContextHandle) returns Pointer is native(GEOS) is export { * } 
 
# /** \see GEOSGeoJSONWriter_destroy */
# extern void GEOS_DLL GEOSGeoJSONWriter_destroy_r(GEOSContextHandle_t handle,
#     GEOSGeoJSONWriter* writer);
sub GEOSGeoJSONWriter_destroy_r(GEOSContextHandle, Pointer) is native(GEOS) is export { * }
 
# /** \see GEOSGeoJSONWriter_writeGeometry */
# extern char GEOS_DLL *GEOSGeoJSONWriter_writeGeometry_r(
#     GEOSContextHandle_t handle,
#     GEOSGeoJSONWriter* writer,
#     const GEOSGeometry* g,
#     int indent);
sub GEOSGeoJSONWriter_writeGeometry_r(GEOSContextHandle, Pointer, GEOSGeometry, int32) returns Str is native(GEOS) is export { * }



