Exemplo n.º 1
0
Arquivo: Structs.cs Projeto: sav/efl
        public static void simple_ptr_in_own()
        {
            var simple   = structSimpleWithValues();
            int original = simple.Fint;

            simple.Fmstring = "Struct Ptr In Own";
            test.ITesting     t      = new test.Testing();
            test.StructSimple result = t.StructSimplePtrInOwn(ref simple);
            Test.AssertEquals(-original, result.Fint);
            Test.AssertEquals("nwO nI rtP tcurtS", result.Fmstring);
        }