Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ enterlevel
Function
enterlevel
depends/lua/src/lparser.c:331–335 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
329
330
331
static void enterlevel (LexState *ls) {
332
lua_State *L = ls->L;
333
++L->nCcalls;
334
checklimit(ls->fs, L->nCcalls, LUAI_MAXCCALLS,
"C levels"
);
335
}
336
337
338
#define leavelevel(ls) ((ls)->L->nCcalls--)
Callers
2
subexpr
Function · 0.85
statement
Function · 0.85
Calls
1
checklimit
Function · 0.85
Tested by
no test coverage detected