csharp: Fix event marshalling for value types
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Tue, 14 May 2019 06:38:50 +0000 (08:38 +0200)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 30 May 2019 08:17:51 +0000 (17:17 +0900)
commit3b8e3ebfaafbaafcde2264c48ad61afd5c2e5170
tree502fee7667730ecc6a0f844adf93a37a65fd2899
parent150aaaba353def9c3d768be256ab8c6979552b48
csharp: Fix event marshalling for value types

Summary:
It was wrongly assuming value types were passed by value.

As stated in the documentation, all arguments are passed with a single
level of indirection.

Fixes T7957

Reviewers: woohyun, felipealmeida, vitor.sousa, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7957

Differential Revision: https://phab.enlightenment.org/D8889
src/bin/eolian_mono/eolian/mono/events.hh
src/tests/efl_mono/Events.cs
src/tests/efl_mono/dummy_test_object.eo
src/tests/efl_mono/libefl_mono_native_test.c