MCPcopy Create free account
hub / github.com/Tencent/xLua / InvokeSessionStart

Method InvokeSessionStart

Assets/XLua/Src/DelegateBridge.cs:147–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 private Stack<int> _stack = new Stack<int>();
146
147 public void InvokeSessionStart()
148 {
149 System.Threading.Monitor.Enter(luaEnv.luaEnvLock);
150 var L = luaEnv.L;
151 _stack.Push(_oldTop);
152 _oldTop = LuaAPI.lua_gettop(L);
153 LuaAPI.load_error_func(L, luaEnv.errorFuncRef);
154 LuaAPI.lua_getref(L, luaReference);
155 }
156
157 public void Invoke(int nRet)
158 {

Callers

nothing calls this directly

Calls 4

PushMethod · 0.80
lua_gettopMethod · 0.80
load_error_funcMethod · 0.80
lua_getrefMethod · 0.80

Tested by

no test coverage detected