PostGIS  2.5.7dev-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 90 of file stringbuffer.c.

91 {
92  s->str_start[0] = '\0';
93  s->str_end = s->str_start;
94 }
char * s
Definition: cu_in_wkt.c:23

References s.

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

Here is the caller graph for this function: