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

◆ 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 72 of file stringbuffer.c.

73{
75
76 s = lwalloc(sizeof(stringbuffer_t));
78 return s;
79}
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)

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: