MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / nextline

Function nextline

3rd/lua-5.4.3/src/ldebug.c:282–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280
281
282static int nextline (const Proto *p, int currentline, int pc) {
283 if (p->lineinfo[pc] != ABSLINEINFO)
284 return currentline + p->lineinfo[pc];
285 else
286 return luaG_getfuncline(p, pc);
287}
288
289
290static void collectvalidlines (lua_State *L, Closure *f) {

Callers 1

collectvalidlinesFunction · 0.85

Calls 1

luaG_getfunclineFunction · 0.85

Tested by

no test coverage detected