MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lua_tothread

Function lua_tothread

freebsd/contrib/openzfs/module/lua/lapi.c:434–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432
433
434LUA_API lua_State *lua_tothread (lua_State *L, int idx) {
435 StkId o = index2addr(L, idx);
436 return (!ttisthread(o)) ? NULL : thvalue(o);
437}
438
439
440LUA_API const void *lua_topointer (lua_State *L, int idx) {

Callers 3

luaB_coresumeFunction · 0.70
luaB_auxwrapFunction · 0.70
luaB_costatusFunction · 0.70

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected