MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / findopen

Function findopen

other_src/lua/src/lpeg.cpp:1871–1879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1869
1870
1871static Capture *findopen (Capture *cap) {
1872 int n = 0;
1873 for (;;) {
1874 cap--;
1875 if (isclosecap(cap)) n++;
1876 else if (!isfullcap(cap))
1877 if (n-- == 0) return cap;
1878 }
1879}
1880
1881
1882static Capture *nextcap (Capture *cap) {

Callers 2

findbackFunction · 0.85
runtimecapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected