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

Function backrefcap

other_src/lua/src/lpeg.cpp:1940–1948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1938
1939
1940static int backrefcap (CapState *cs) {
1941 int n;
1942 Capture *curr = cs->cap;
1943 pushluaval(cs); /* reference name */
1944 cs->cap = findback(cs, curr);
1945 n = pushallvalues(cs, 0);
1946 cs->cap = curr + 1;
1947 return n;
1948}
1949
1950
1951static int tablecap (CapState *cs) {

Callers 1

pushcaptureFunction · 0.85

Calls 2

findbackFunction · 0.85
pushallvaluesFunction · 0.85

Tested by

no test coverage detected