MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / currentpc

Function currentpc

source/extern/lua/ldebug.c:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

currentlineFunction · 0.85
findlocalFunction · 0.85
funcnamefromcodeFunction · 0.85
varinfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected