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

Function parse_footnote_def

libraries/hoedown/src/document.c:1994–2005  ·  view source on GitHub ↗

parse_footnote_def • parse a single footnote definition */

Source from the content-addressed store, hash-verified

1992
1993/* parse_footnote_def • parse a single footnote definition */
1994static void
1995parse_footnote_def(hoedown_buffer *ob, hoedown_document *doc, unsigned int num, uint8_t *data, size_t size)
1996{
1997 hoedown_buffer *work = 0;
1998 work = newbuf(doc, BUFFER_SPAN);
1999
2000 parse_block(work, doc, data, size);
2001
2002 if (doc->md.footnote_def)
2003 doc->md.footnote_def(ob, work, num, &doc->data);
2004 popbuf(doc, BUFFER_SPAN);
2005}
2006
2007/* parse_footnote_list • render the contents of the footnotes */
2008static void

Callers 1

parse_footnote_listFunction · 0.85

Calls 3

newbufFunction · 0.85
parse_blockFunction · 0.85
popbufFunction · 0.85

Tested by

no test coverage detected