PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ LWT_EDGERING_CLEAN

#define LWT_EDGERING_CLEAN (   a)
Value:
{ \
int i; for (i=0; i<(a)->size; ++i) { \
if ( (a)->elems[i] ) { \
/* lwdebug(1, "freeing elem %d (%p) of edgering %p", i, (a)->elems[i], (a)); */ \
lwfree((a)->elems[i]); \
} \
} \
if ( (a)->elems ) { lwfree((a)->elems); (a)->elems = NULL; } \
(a)->size = 0; \
(a)->capacity = 0; \
if ( (a)->env ) { lwfree((a)->env); (a)->env = NULL; } \
if ( (a)->genv ) { GEOSGeom_destroy((a)->genv); (a)->genv = NULL; } \
}
void lwfree(void *mem)
Definition: lwutil.c:244

Definition at line 6016 of file lwgeom_topo.c.