PostGIS  2.1.10dev-r@@SVN_REVISION@@
void stringbuffer_set ( stringbuffer_t sb,
const char *  s 
)

Clear the stringbuffer_t and re-start it with the specified string.

Definition at line 177 of file stringbuffer.c.

References stringbuffer_append(), and stringbuffer_clear().

Referenced by stringbuffer_copy().

178 {
180  stringbuffer_append(s, str);
181 }
void stringbuffer_clear(stringbuffer_t *s)
Reset the stringbuffer_t.
Definition: stringbuffer.c:84
char * s
Definition: cu_in_wkt.c:24
void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
Definition: stringbuffer.c:128

Here is the call graph for this function:

Here is the caller graph for this function: