PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ stringbuffer_set()

void stringbuffer_set ( stringbuffer_t s,
const char *  str 
)

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

Definition at line 183 of file stringbuffer.c.

184 {
186  stringbuffer_append(s, str);
187 }
char * s
Definition: cu_in_wkt.c:23
void stringbuffer_clear(stringbuffer_t *s)
Reset the stringbuffer_t.
Definition: stringbuffer.c:90
void stringbuffer_append(stringbuffer_t *s, const char *a)
Append the specified string to the stringbuffer_t.
Definition: stringbuffer.c:134

References s, stringbuffer_append(), and stringbuffer_clear().

Referenced by stringbuffer_copy().

Here is the call graph for this function:
Here is the caller graph for this function: