PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
void lwcollection_reserve | ( | LWCOLLECTION * | col, |
uint32_t | ngeoms | ||
) |
Ensure the collection can hold up at least ngeoms.
Ensure the collection can hold at least up to ngeoms geometries.
Definition at line 174 of file lwcollection.c.
References LWCOLLECTION::geoms, lwrealloc(), and LWCOLLECTION::maxgeoms.
Referenced by lwcollection_add_lwgeom(), and lwgeom_node().