PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ stringbuffer_clear()

void stringbuffer_clear ( stringbuffer_t s)

Reset the stringbuffer_t.

Useful for starting a fresh string without the expense of freeing and re-allocating a new stringbuffer_t.

Definition at line 97 of file stringbuffer.c.

98 {
99  s->str_start[0] = '\0';
100  s->str_end = s->str_start;
101 }
char * s
Definition: cu_in_wkt.c:23

References s.

Referenced by ShpLoaderGenerateSQLRowStatement(), ShpLoaderGetSQLCopyStatement(), ShpLoaderGetSQLFooter(), ShpLoaderGetSQLHeader(), and stringbuffer_set().

Here is the caller graph for this function: