MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_tothread

Function lua_tothread

lua/lapi.c:402–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400
401
402LUA_API lua_State *lua_tothread (lua_State *L, int idx) {
403 StkId o = index2adr(L, idx);
404 return (!ttisthread(o)) ? NULL : thvalue(o);
405}
406
407
408LUA_API const void *lua_topointer (lua_State *L, int idx) {

Callers 4

luaB_costatusFunction · 0.85
luaB_coresumeFunction · 0.85
luaB_auxwrapFunction · 0.85
getthreadFunction · 0.85

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected