felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=eac568f6dcdfdd8ab79d020e6a82a4b8666d17de

commit eac568f6dcdfdd8ab79d020e6a82a4b8666d17de
Author: Lauro Moura <[email protected]>
Date:   Wed Mar 21 22:49:44 2018 -0300

    csharp: Silence test build warnings.
    
    Was trying to modify const strings.
---
 src/tests/efl_mono/Structs.cs                | 8 ++++----
 src/tests/efl_mono/libefl_mono_native_test.c | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/tests/efl_mono/Structs.cs b/src/tests/efl_mono/Structs.cs
index 20707c141b..00bcb266ab 100644
--- a/src/tests/efl_mono/Structs.cs
+++ b/src/tests/efl_mono/Structs.cs
@@ -270,22 +270,22 @@ class TestStructs
     {
         var simple = structSimpleWithValues();
         int original = simple.Fint;
-        simple.Fstring = "Struct Ptr In";
+        simple.Fmstring = "Struct Ptr In";
         test.Testing t = new test.TestingConcrete();
         Test.Assert(t.StructSimplePtrIn(ref simple));
         Test.AssertEquals(-original, simple.Fint);
-        Test.AssertEquals("nI rtP tcurtS", simple.Fstring);
+        Test.AssertEquals("nI rtP tcurtS", simple.Fmstring);
     }
 
     public static void simple_ptr_in_own()
     {
         var simple = structSimpleWithValues();
         int original = simple.Fint;
-        simple.Fstring = "Struct Ptr In Own";
+        simple.Fmstring = "Struct Ptr In Own";
         test.Testing t = new test.TestingConcrete();
         test.StructSimple result = t.StructSimplePtrInOwn(ref simple);
         Test.AssertEquals(-original, result.Fint);
-        Test.AssertEquals("nwO nI rtP tcurtS", result.Fstring);
+        Test.AssertEquals("nwO nI rtP tcurtS", result.Fmstring);
     }
 
     public static void simple_out()
diff --git a/src/tests/efl_mono/libefl_mono_native_test.c 
b/src/tests/efl_mono/libefl_mono_native_test.c
index fff2173ae8..b16c1625f9 100644
--- a/src/tests/efl_mono/libefl_mono_native_test.c
+++ b/src/tests/efl_mono/libefl_mono_native_test.c
@@ -3375,7 +3375,7 @@ EOLIAN
 Eina_Bool _test_testing_struct_simple_ptr_in(EINA_UNUSED Eo *obj, EINA_UNUSED 
Test_Testing_Data *pd, Test_StructSimple *simple)
 {
    simple->fint = -simple->fint;
-   _reverse_string(simple->fstring);
+   _reverse_string(simple->fmstring);
    return EINA_TRUE;
 }
 
@@ -3385,7 +3385,7 @@ Test_StructSimple 
_test_testing_struct_simple_ptr_in_own(EINA_UNUSED Eo *obj, EI
    Test_StructSimple ret = *simple;
    free(simple);
    ret.fint = -ret.fint;
-   _reverse_string(ret.fstring);
+   _reverse_string(ret.fmstring);
    return ret;
 }
 

-- 


Reply via email to