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

Function is_empty_all

libraries/hoedown/src/document.c:330–336  ·  view source on GitHub ↗

is_empty_all: verify that all the data is spacing */

Source from the content-addressed store, hash-verified

328
329/* is_empty_all: verify that all the data is spacing */
330static int
331is_empty_all(const uint8_t *data, size_t size)
332{
333 size_t i = 0;
334 while (i < size && _isspace(data[i])) i++;
335 return i == size;
336}
337
338/*
339 * Replace all spacing characters in data with spaces. As a special

Callers 1

parse_mathFunction · 0.85

Calls 1

_isspaceFunction · 0.85

Tested by

no test coverage detected