MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / currentpc

Function currentpc

lib/lua/src/ldebug.c:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

getcurrentlineFunction · 0.85
luaG_findlocalFunction · 0.85
funcnamefromcallFunction · 0.85
varinfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected