MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / currentpc

Function currentpc

third-party/lua-5.4.6/src/ldebug.c:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44static int currentpc (CallInfo *ci) {
45 lua_assert(isLua(ci));
46 return pcRel(ci->u.l.savedpc, ci_func(ci)->p);
47}
48
49
50/*

Callers 4

getcurrentlineFunction · 0.70
luaG_findlocalFunction · 0.70
funcnamefromcallFunction · 0.70
varinfoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected