) ? 0 : 1;
}
-GSERIALIZED* gserialized_copy(const GSERIALIZED *g)
-{
- GSERIALIZED *g_out = NULL;
- assert(g);
- g_out = (GSERIALIZED*)lwalloc(SIZE_GET(g->size));
- memcpy((uint8_t*)g_out,(uint8_t*)g,SIZE_GET(g->size));
- return g_out;
-}
-
static size_t gserialized_is_empty_recurse(const uint8_t *p, int *isempty);
static size_t gserialized_is_empty_recurse(const uint8_t *p, int *isempty)
{
*/
extern char* gserialized_to_string(const GSERIALIZED *g);
-/**
-* Return a copy of the input serialized geometry.
-*/
-extern GSERIALIZED* gserialized_copy(const GSERIALIZED *g);
-
/**
* Check that coordinates of LWGEOM are all within the geodetic range (-180, -90, 180, 90)
*/