Beispiel #1
0
        private static int Equals(LuaVar x, LuaVar y)
        {
            x.push(x.L);
            y.push(x.L);
            int result = LuaDLL.pua_equal(x.L, -1, -2);

            LuaDLL.pua_pop(x.L, 2);
            return(result);
        }
Beispiel #2
0
        static int Equals(LuaVar x, LuaVar y)
        {
            x.push(x.L);
            y.push(x.L);
            int ok = LuaDLL.pua_equal(x.L, -1, -2);

            LuaDLL.pua_pop(x.L, 2);
            return(ok);
        }