| 34 | |
| 35 | |
| 36 | static int currentpc (lua_State *L, CallInfo *ci) { |
| 37 | if (!isLua(ci)) return -1; /* function is not a Lua function? */ |
| 38 | if (ci == L->ci) |
| 39 | ci->savedpc = L->savedpc; |
| 40 | return pcRel(ci->savedpc, ci_func(ci)->l.p); |
| 41 | } |
| 42 | |
| 43 | |
| 44 | static int currentline (lua_State *L, CallInfo *ci) { |
no outgoing calls
no test coverage detected