MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_tothread

Function lua_tothread

extlibs/lua/src/lapi.c:433–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431
432
433LUA_API lua_State *lua_tothread (lua_State *L, int idx) {
434 const TValue *o = index2value(L, idx);
435 return (!ttisthread(o)) ? NULL : thvalue(o);
436}
437
438
439/*

Callers 7

getcoFunction · 0.85
luaB_auxwrapFunction · 0.85
getthreadFunction · 0.85
main_threadFunction · 0.85
getMethod · 0.85
getMethod · 0.85
thread_stateMethod · 0.85

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected