csharp: Add IntPtr to/from IEnumerable conversion for "accessor" types
authorJoão Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Tue, 18 Feb 2020 19:17:56 +0000 (19:17 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 18 Feb 2020 21:14:13 +0000 (06:14 +0900)
commitca1708916765cd1559fdc53a57e977393bd8fe2a
tree88a35a4838ccc23d00c250e88d070b2d9ef17109
parent767176cb2cd1612535103a0ace35a3173fd7a003
csharp: Add IntPtr to/from IEnumerable conversion for "accessor" types

Adds a special case for "accessor" complex types in `implicit operator` for
structs and `IntPtr`s, in which an IEnumerator must be converted to/from an
IntPtr.

Reviewed-by: YeongJong Lee <cleanlyj@naver.com>
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11210
src/bin/eolian_mono/eolian/mono/struct_definition.hh
src/bin/eolian_mono/eolian/mono/struct_fields.hh
src/tests/efl_mono/StructHelpers.cs
src/tests/efl_mono/Structs.cs
src/tests/efl_mono/dummy_test_object.eo