MCPcopy Create free account
hub / github.com/MikeMirzayanov/testlib / nextChar

Method nextChar

tests/lib/testlib.h:1659–1665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1657 }
1658
1659 int nextChar() {
1660 if (pos >= s.length()) {
1661 pos++;
1662 return EOFC;
1663 } else
1664 return s[pos++];
1665 }
1666
1667 void skipChar() {
1668 pos++;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected