PostGIS  3.0.6dev-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 113 of file stringbuffer.c.

114 {
115  return s->str_start;
116 }
char * s
Definition: cu_in_wkt.c:23

References s.

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

Here is the caller graph for this function: