PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
char* stringbuffer_getstringcopy | ( | stringbuffer_t * | s | ) |
Returns a newly allocated string large enough to contain the current state of the string.
Caller is responsible for freeing the return value.
Definition at line 160 of file stringbuffer.c.
References lwalloc(), stringbuffer_t::str_end, and stringbuffer_t::str_start.
Referenced by lwgeom_to_kml2(), lwgeom_to_wkt(), nd_box_to_json(), nd_stats_to_json(), and pointarray_to_encoded_polyline().