GetLuaThread() public static method

public static GetLuaThread ( IntPtr L, int reference ) : LuaThread
L System.IntPtr
reference int
return LuaThread
Example #1
0
        public static LuaThread ToLuaThread(IntPtr L, int stackPos)
        {
            stackPos = LuaDLL.abs_index(L, stackPos);
            LuaDLL.lua_pushvalue(L, stackPos);
            int reference = LuaDLL.toluaL_ref(L);

            return(LuaStatic.GetLuaThread(L, reference));
        }