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

Function is_next_headerline

libraries/hoedown/src/document.c:1493–1505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1491}
1492
1493static int
1494is_next_headerline(uint8_t *data, size_t size)
1495{
1496 size_t i = 0;
1497
1498 while (i < size && data[i] != '\n')
1499 i++;
1500
1501 if (++i >= size)
1502 return 0;
1503
1504 return is_headerline(data + i, size - i);
1505}
1506
1507/* prefix_quote • returns blockquote prefix length */
1508static size_t

Callers 2

prefix_oliFunction · 0.85
prefix_uliFunction · 0.85

Calls 1

is_headerlineFunction · 0.85

Tested by

no test coverage detected