PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
void lwcollection_reserve | ( | LWCOLLECTION * | col, |
int | 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().