示例#1
0
文件: Structs.cs 项目: zmike/efl-tmp
        public static void simple_ptr_in_own()
        {
            var simple   = structSimpleWithValues();
            int original = simple.Fint;

            simple.Fmstring = "Struct Ptr In Own";
            var t = new Dummy.TestObject();

            Dummy.StructSimple result = t.StructSimplePtrInOwn(ref simple);
            Test.AssertEquals(-original, result.Fint);
            Test.AssertEquals("nwO nI rtP tcurtS", result.Fmstring);
        }