| 4542 | |
| 4543 | |
| 4544 | static int currentpc (lua_State *L, CallInfo *ci) { |
| 4545 | if (!isLua(ci)) return -1; /* function is not a Lua function? */ |
| 4546 | if (ci == L->ci) |
| 4547 | ci->savedpc = L->savedpc; |
| 4548 | return pcRel(ci->savedpc, ci_func(ci)->l.p); |
| 4549 | } |
| 4550 | |
| 4551 | |
| 4552 | static int currentline (lua_State *L, CallInfo *ci) { |
no outgoing calls
no test coverage detected