GetLuaThread() public static méthode

public static GetLuaThread ( IntPtr L, int reference ) : LuaThread
L System.IntPtr
reference int
Résultat LuaThread
Exemple #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));
        }