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

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

            Test.Assert(t.StructSimplePtrIn(ref simple));
            Test.AssertEquals(-original, simple.Fint);
            Test.AssertEquals("nI rtP tcurtS", simple.Fmstring);
        }