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

Function hoedown_buffer_free

libraries/hoedown/src/buffer.c:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void
81hoedown_buffer_free(hoedown_buffer *buf)
82{
83 if (!buf) return;
84 assert(buf && buf->unit);
85
86 buf->data_free(buf->data);
87
88 if (buf->buffer_free)
89 buf->buffer_free(buf);
90}
91
92void
93hoedown_buffer_reset(hoedown_buffer *buf)

Callers 6

free_link_refsFunction · 0.85
free_footnote_refFunction · 0.85
hoedown_document_renderFunction · 0.85
hoedown_document_freeFunction · 0.85
~bufferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected