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

Function currentpc

xrepo/packages/l/lua/port/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.70
luaG_findlocalFunction · 0.70
funcnamefromcallFunction · 0.70
varinfoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected