PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ stringbuffer_init_with_size()

static void stringbuffer_init_with_size ( stringbuffer_t s,
size_t  size 
)
static

Definition at line 41 of file stringbuffer.c.

42 {
43  s->str_start = lwalloc(size);
44  s->str_end = s->str_start;
45  s->capacity = size;
46  memset(s->str_start, 0, size);
47 }
char * s
Definition: cu_in_wkt.c:23
void * lwalloc(size_t size)
Definition: lwutil.c:229

References lwalloc(), and s.

Referenced by stringbuffer_create_with_size(), and stringbuffer_init().

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