PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ stringbuffer_getstring()

const char* stringbuffer_getstring ( stringbuffer_t s)

Returns a reference to the internal string being managed by the stringbuffer.

The current string will be null-terminated within the internal string.

Definition at line 149 of file stringbuffer.c.

References stringbuffer_t::str_start.

Referenced by lwgeom_to_wkt(), ShpLoaderGenerateSQLRowStatement(), ShpLoaderGetSQLFooter(), ShpLoaderGetSQLHeader(), stringbuffer_copy(), test_stringbuffer_append(), and test_stringbuffer_aprintf().

150 {
151  return s->str_start;
152 }
char * str_start
Definition: stringbuffer.h:41
Here is the caller graph for this function: