Page MenuHomePhabricator

C#: Fix marshalling of structs with complex types
Closed, ResolvedPublic


Currently struct fields are marshaled manually through the *_Internal structs. It works fine for regular and virtual method calls, but do not work for cases where the struct is marshaled in a delegate (e.g. an event handler, like the loop arguments events).

Ideally, the fields should declare marshall annotations so we can use custom marshallers for each case.

This affects D7495 (which temporarily solved by adding the StructLayout argument).

lauromoura triaged this task as High priority.
lauromoura moved this task from Backlog to InProgress on the efl: language bindings board.
zmike moved this task from Backlog to Lauro on the efl: mvvm board.
felipealmeida closed this task as Resolved.Jan 13 2019, 11:38 PM

This is fixed by ede219c453 in D7539.