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

Function lua_resetthread

3rd/lua-5.4.3/src/lstate.c:345–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343
344
345LUA_API int lua_resetthread (lua_State *L) {
346 int status;
347 lua_lock(L);
348 status = luaE_resetthread(L, L->status);
349 lua_unlock(L);
350 return status;
351}
352
353
354LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {

Callers 2

luaB_auxwrapFunction · 0.85
luaB_closeFunction · 0.85

Calls 1

luaE_resetthreadFunction · 0.85

Tested by

no test coverage detected