eolian_csharp: hide struct native representation inside the managed struct
authorVitor Sousa <vitorsousa@expertisesolutions.com.br>
Mon, 25 Mar 2019 20:14:32 +0000 (17:14 -0300)
committerYeongjong Lee <yj34.lee@samsung.com>
Tue, 2 Apr 2019 03:45:17 +0000 (12:45 +0900)
commit580a81473eeb54794a44ec0dc16c5c4031201ab1
tree5c844ce3445aef7ef3bd0c9792210f083cb45810
parent97987db7db57405035e15963588dd64109ee1119
eolian_csharp: hide struct native representation inside the managed struct

Summary:
Rework the struct binding generator to declare the native struct nested inside
the managed one.
This way native structs are less likely to cause confusion; for example
with an IDE that supports automatic completion.

Get rid of struct conversion class methods in favor of using (the already
generated) implicit conversion operators.

Depends on D8469

Reviewers: segfaultxavi, lauromoura, felipealmeida

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8470
src/bin/eolian_mono/eolian/mono/events.hh
src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh
src/bin/eolian_mono/eolian/mono/parameter.hh
src/bin/eolian_mono/eolian/mono/struct_definition.hh
src/bindings/mono/eo_mono/workaround.cs