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

89 {
90  s->str_start[0] = '\0';
91  s->str_end = s->str_start;
92 }
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: