예제 #1
0
        public static void TestEolianEinaValueOut()
        {
            test.Testing obj = new test.TestingConcrete();

            using (eina.Value v = new eina.Value(eina.ValueType.String)) {
                eina.Value v_out = null;

                v.Set("hello!");
                obj.SetValuePtr(v);
                obj.OutValuePtr(out v_out);

                Test.AssertEquals(v, v_out);
                Test.AssertEquals(eina.ValueOwnership.Unmanaged, v_out.Ownership);
            }
        }