MCPcopy Create free account
hub / github.com/MultiMC/Launcher / prefix_code

Function prefix_code

libraries/hoedown/src/document.c:1527–1534  ·  view source on GitHub ↗

prefix_code • returns prefix length for block code*/

Source from the content-addressed store, hash-verified

1525
1526/* prefix_code • returns prefix length for block code*/
1527static size_t
1528prefix_code(uint8_t *data, size_t size)
1529{
1530 if (size > 3 && data[0] == ' ' && data[1] == ' '
1531 && data[2] == ' ' && data[3] == ' ') return 4;
1532
1533 return 0;
1534}
1535
1536/* prefix_oli • returns ordered list item prefix */
1537static size_t

Callers 2

parse_blockcodeFunction · 0.85
parse_blockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected