MCPcopy Create free account
hub / github.com/F-Stack/f-stack / currentpc

Function currentpc

app/redis-6.2.6/deps/lua/src/ldebug.c:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36static int currentpc (lua_State *L, CallInfo *ci) {
37 if (!isLua(ci)) return -1; /* function is not a Lua function? */
38 if (ci == L->ci)
39 ci->savedpc = L->savedpc;
40 return pcRel(ci->savedpc, ci_func(ci)->l.p);
41}
42
43
44static int currentline (lua_State *L, CallInfo *ci) {

Callers 4

currentlineFunction · 0.70
findlocalFunction · 0.70
getobjnameFunction · 0.70
getfuncnameFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected