MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / luaE_threadsize

Function luaE_threadsize

src/lstate.cpp:256–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254
255
256lu_mem luaE_threadsize (lua_State *L) {
257 lu_mem sz = cast(lu_mem, sizeof(LX))
258 + cast_uint(L->nci) * sizeof(CallInfo);
259 if (L->stack.p != NULL)
260 sz += cast_uint(stacksize(L) + EXTRA_STACK) * sizeof(StackValue);
261 return sz;
262}
263
264
265static void close_state (lua_State *L) {

Callers 1

objsizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected