MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / currentpc

Function currentpc

Source/Misc/lua/src/lua.c:4544–4549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4542
4543
4544static int currentpc (lua_State *L, CallInfo *ci) {
4545if (!isLua(ci)) return -1; /* function is not a Lua function? */
4546if (ci == L->ci)
4547ci->savedpc = L->savedpc;
4548return pcRel(ci->savedpc, ci_func(ci)->l.p);
4549}
4550
4551
4552static int currentline (lua_State *L, CallInfo *ci) {

Callers 4

currentlineFunction · 0.85
findlocalFunction · 0.85
getobjnameFunction · 0.85
getfuncnameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected