Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/UnLua
/ AddThread
Method
AddThread
Plugins/UnLua/Source/UnLua/Private/LuaEnv.cpp:452–456 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
450
}
451
452
void FLuaEnv::AddThread(lua_State* Thread, int32 ThreadRef)
453
{
454
ThreadToRef.Add(Thread, ThreadRef);
455
RefToThread.Add(ThreadRef, Thread);
456
}
457
458
int32 FLuaEnv::FindOrAddThread(lua_State* Thread)
459
{
Callers
nothing calls this directly
Calls
1
Add
Method · 0.45
Tested by
no test coverage detected