PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ stringbuffer_append()

static void stringbuffer_append ( stringbuffer_t s,
const char *  a 
)
inlinestatic

Append the specified string to the stringbuffer_t.

Definition at line 88 of file stringbuffer.h.

89{
90 int alen = strlen(a); /* Length of string to append */
91 int alen0 = alen + 1; /* Length including null terminator */
93 memcpy(s->str_end, a, alen0);
94 s->str_end += alen;
95}
char * s
Definition cu_in_wkt.c:23
static void stringbuffer_makeroom(stringbuffer_t *s, size_t size_to_add)
If necessary, expand the stringbuffer_t internal buffer to accommodate the specified additional size.

References s, 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(), ptarray_to_x3d3_sb(), stringbuffer_set(), and test_stringbuffer_append().

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