PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ stringbuffer_create_with_size()

stringbuffer_t* stringbuffer_create_with_size ( size_t  size)

Allocate a new stringbuffer_t.

Use stringbuffer_destroy to free.

Definition at line 65 of file stringbuffer.c.

References lwalloc(), s, and stringbuffer_init_with_size().

Referenced by stringbuffer_create(), test_stringbuffer_append(), and test_stringbuffer_aprintf().

66 {
69  s = lwalloc(sizeof(stringbuffer_t));
71  return s;
72 }
static void stringbuffer_init_with_size(stringbuffer_t *s, size_t size)
Definition: stringbuffer.c:41
char * s
Definition: cu_in_wkt.c:23
void * lwalloc(size_t size)
Definition: lwutil.c:229
Here is the call graph for this function:
Here is the caller graph for this function: