MCPcopy Create free account
hub / github.com/axmolengine/axmol / lua_tothread

Function lua_tothread

3rdparty/lua/plainlua/lapi.c:462–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460
461
462LUA_API lua_State *lua_tothread (lua_State *L, int idx) {
463 const TValue *o = index2value(L, idx);
464 return (!ttisthread(o)) ? NULL : thvalue(o);
465}
466
467
468/*

Callers 7

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

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected