MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_tothread

Function lua_tothread

other_src/lua/src/lapi.cpp:417–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415
416
417LUA_API lua_State *lua_tothread (lua_State *L, int idx) {
418 StkId o = index2adr(L, idx);
419 return (!ttisthread(o)) ? NULL : thvalue(o);
420}
421
422
423LUA_API const void *lua_topointer (lua_State *L, int idx) {

Callers 5

getthreadFunction · 0.70
luaB_costatusFunction · 0.70
luaB_coresumeFunction · 0.70
luaB_auxwrapFunction · 0.70
getthreadFunction · 0.50

Calls 1

index2adrFunction · 0.70

Tested by

no test coverage detected