summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono/libefl_mono_native_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/efl_mono/libefl_mono_native_test.c')
-rw-r--r--src/tests/efl_mono/libefl_mono_native_test.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/efl_mono/libefl_mono_native_test.c b/src/tests/efl_mono/libefl_mono_native_test.c
index 576690bb86..fc4e3cbae6 100644
--- a/src/tests/efl_mono/libefl_mono_native_test.c
+++ b/src/tests/efl_mono/libefl_mono_native_test.c
@@ -331,6 +331,14 @@ Eina_Bool _dummy_test_object_eina_rw_slice_out(EINA_UNUSED Eo *obj, EINA_UNUSED
331 return EINA_TRUE; 331 return EINA_TRUE;
332} 332}
333 333
334Eina_Bool _dummy_test_object_eina_rw_slice_inout(EINA_UNUSED Eo *obj, EINA_UNUSED Dummy_Test_Object_Data *pd, Eina_Rw_Slice *slice)
335{
336 if (!slice) return EINA_FALSE;
337 for (size_t i = 0; i < slice->len; i++)
338 slice->bytes[i] += (uint8_t)i;
339 return EINA_TRUE;
340}
341
334Eina_Slice _dummy_test_object_eina_slice_return(EINA_UNUSED Eo *obj, EINA_UNUSED Dummy_Test_Object_Data *pd) 342Eina_Slice _dummy_test_object_eina_slice_return(EINA_UNUSED Eo *obj, EINA_UNUSED Dummy_Test_Object_Data *pd)
335{ 343{
336 Eina_Slice slc = EINA_SLICE_ARRAY(base_seq); 344 Eina_Slice slc = EINA_SLICE_ARRAY(base_seq);