PostGIS  3.0.6dev-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 63 of file stringbuffer.c.

64 {
66 
67  s = lwalloc(sizeof(stringbuffer_t));
69  return s;
70 }
char * s
Definition: cu_in_wkt.c:23
void * lwalloc(size_t size)
Definition: lwutil.c:227
static void stringbuffer_init_with_size(stringbuffer_t *s, size_t size)
Definition: stringbuffer.c:39

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

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

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