efl_mono: Fix after prop get const change
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Thu, 19 Apr 2018 17:01:49 +0000 (14:01 -0300)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 29 May 2018 04:06:54 +0000 (13:06 +0900)
src/examples/efl_mono/example_numberwrapper.c
src/tests/efl_mono/libefl_mono_native_test.c

index 27bc3f3..52a5af9 100644 (file)
@@ -57,7 +57,7 @@ void _example_numberwrapper_number_set_call(Eo *obj, EINA_UNUSED Example_Numberw
    example_numberwrapper_number_set(obj, n);
 }
 
-int _example_numberwrapper_number_get(EINA_UNUSED Eo *obj, Example_Numberwrapper_Data *pd)
+int _example_numberwrapper_number_get(EINA_UNUSED const Eo *obj, Example_Numberwrapper_Data *pd)
 {
    return pd->number;
 }
index b14fab8..ca2933d 100644 (file)
@@ -3611,7 +3611,7 @@ void _test_numberwrapper_number_set(EINA_UNUSED Eo *obj, Test_Numberwrapper_Data
    pd->number = n;
 }
 
-int _test_numberwrapper_number_get(EINA_UNUSED Eo *obj, Test_Numberwrapper_Data *pd)
+int _test_numberwrapper_number_get(EINA_UNUSED const Eo *obj, Test_Numberwrapper_Data *pd)
 {
    return pd->number;
 }
@@ -3766,7 +3766,7 @@ void _test_testing_call_format_cb(EINA_UNUSED Eo *obj, EINA_UNUSED Test_Testing_
 /* Class Properties */
 static int _test_testing_klass_prop = 0;
 
-int _test_testing_klass_prop_get(Eo *klass, EINA_UNUSED void *pd)
+int _test_testing_klass_prop_get(const Eo *klass, EINA_UNUSED void *pd)
 {
     EINA_LOG_ERR("FAIL on GET");
    if (klass != test_testing_class_get())