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

Function hoedown_buffer_putc

libraries/hoedown/src/buffer.c:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void
138hoedown_buffer_putc(hoedown_buffer *buf, uint8_t c)
139{
140 assert(buf && buf->unit);
141
142 if (buf->size >= buf->asize)
143 hoedown_buffer_grow(buf, buf->size + 1);
144
145 buf->data[buf->size] = c;
146 buf->size += 1;
147}
148
149int
150hoedown_buffer_putf(hoedown_buffer *buf, FILE *file)

Callers 15

unscape_textFunction · 0.85
replace_spacingFunction · 0.85
char_escapeFunction · 0.85
parse_blockcodeFunction · 0.85
parse_listitemFunction · 0.85
is_footnoteFunction · 0.85
expand_tabsFunction · 0.85
hoedown_document_renderFunction · 0.85
hoedown_escape_hrefFunction · 0.85
hoedown_escape_htmlFunction · 0.85
hoedown_buffer_put_utf8Function · 0.85

Calls 1

hoedown_buffer_growFunction · 0.85

Tested by

no test coverage detected