Exemplo n.º 1
0
        private static bool Equals(DuktapeValue x, DuktapeValue y)
        {
            var ctx = x._context.rawValue;

            x.Push(ctx);
            y.Push(ctx);
            var eq = DuktapeDLL.duk_equals(ctx, -1, -2);

            DuktapeDLL.duk_pop_2(ctx);
            return(eq);
        }