MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / hoedown_stack_init

Function hoedown_stack_init

libraries/hoedown/src/stack.c:9–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <assert.h>
8
9void
10hoedown_stack_init(hoedown_stack *st, size_t initial_size)
11{
12 assert(st);
13
14 st->item = NULL;
15 st->size = st->asize = 0;
16
17 if (!initial_size)
18 initial_size = 8;
19
20 hoedown_stack_grow(st, initial_size);
21}
22
23void
24hoedown_stack_uninit(hoedown_stack *st)

Callers 1

hoedown_document_newFunction · 0.85

Calls 1

hoedown_stack_growFunction · 0.85

Tested by

no test coverage detected