PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ state_append()

void state_append ( UnionState state,
const GSERIALIZED gser 
)
static

Definition at line 179 of file lwgeom_union.c.

180{
181 GSERIALIZED *gser_copy;
182
183 assert(gser);
184 gser_copy = lwalloc(VARSIZE(gser));
185 memcpy(gser_copy, gser, VARSIZE(gser));
186
187 state->list = lappend(state->list, gser_copy);
188 state->size += VARSIZE(gser);
189}
void * lwalloc(size_t size)
Definition lwutil.c:227
List * list

References 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: