MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / lua_tothread

Function lua_tothread

lib/lua/src/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 3

getcoFunction · 0.85
luaB_auxwrapFunction · 0.85
getthreadFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by

no test coverage detected