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

            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.Ownership.Unmanaged, v_out.Ownership);
            }
        }