PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ state_create()

UnionState * state_create ( void  )
static

Definition at line 169 of file lwgeom_union.c.

170 {
171  UnionState *state = lwalloc(sizeof(UnionState));
172  state->gridSize = -1.0;
173  state->list = NIL;
174  state->size = 0;
175  return state;
176 }
void * lwalloc(size_t size)
Definition: lwutil.c:227
List * list
Definition: lwgeom_union.h:10
int32 size
Definition: lwgeom_union.h:11
float8 gridSize
Definition: lwgeom_union.h:9

References UnionState::gridSize, UnionState::list, lwalloc(), and UnionState::size.

Referenced by pgis_geometry_union_parallel_transfn(), and state_deserialize().

Here is the call graph for this function:
Here is the caller graph for this function: