Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
462
LUA_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_thread
Function · 0.85
get
Method · 0.85
get
Method · 0.85
thread_state
Method · 0.85
getco
Function · 0.85
luaB_auxwrap
Function · 0.85
getthread
Function · 0.85
Calls
1
index2value
Function · 0.85
Tested by
no test coverage detected