PostGIS  2.2.7dev-r@@SVN_REVISION@@
void stringbuffer_append ( stringbuffer_t s,
const char *  a 
)

Append the specified string to the stringbuffer_t.

Definition at line 127 of file stringbuffer.c.

References stringbuffer_t::str_end, and stringbuffer_makeroom().

Referenced by dimension_qualifiers_to_wkt_sb(), empty_to_wkt_sb(), lwcircstring_to_wkt_sb(), lwcollection_to_wkt_sb(), lwcompound_to_wkt_sb(), lwcurvepoly_to_wkt_sb(), lwline_to_wkt_sb(), lwmcurve_to_wkt_sb(), lwmline_to_wkt_sb(), lwmpoint_to_wkt_sb(), lwmpoly_to_wkt_sb(), lwmsurface_to_wkt_sb(), lwpoint_to_wkt_sb(), lwpoly_to_wkt_sb(), lwpsurface_to_wkt_sb(), lwtin_to_wkt_sb(), lwtriangle_to_wkt_sb(), nd_box_to_json(), nd_stats_to_json(), ptarray_to_kml2_sb(), ptarray_to_wkt_sb(), stringbuffer_set(), and test_stringbuffer_append().

128 {
129  int alen = strlen(a); /* Length of string to append */
130  int alen0 = alen + 1; /* Length including null terminator */
131  stringbuffer_makeroom(s, alen0);
132  memcpy(s->str_end, a, alen0);
133  s->str_end += alen;
134 }
static void stringbuffer_makeroom(stringbuffer_t *s, size_t size_to_add)
If necessary, expand the stringbuffer_t internal buffer to accomodate the specified additional size...
Definition: stringbuffer.c:94

Here is the call graph for this function:

Here is the caller graph for this function: