MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaE_threadsize

Function luaE_threadsize

third-party/lua-5.5.0/src/lstate.c:246–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244
245
246lu_mem luaE_threadsize (lua_State *L) {
247 lu_mem sz = cast(lu_mem, sizeof(LX))
248 + cast_uint(L->nci) * sizeof(CallInfo);
249 if (L->stack.p != NULL)
250 sz += cast_uint(stacksize(L) + EXTRA_STACK) * sizeof(StackValue);
251 return sz;
252}
253
254
255static void close_state (lua_State *L) {

Callers 1

objsizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected