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