Page MenuHomePhabricator

csharp: Enable conversion of container Eina.Values

Authored by lauromoura on Jul 10 2019, 2:47 PM.



When creating a new Value with any IEnumerable of a supported type, the IEnumerable
will be copied into an Eina.Value of type EINA_VALUE_ARRAY_TYPE.

Similarly, Unwrap() on a Eina.Value container will create a new
System.Collections.List<T> and return it.

Depends on D9272

Diff Detail

rEFL core/efl
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
lauromoura created this revision.Jul 10 2019, 2:47 PM
lauromoura requested review of this revision.Jul 10 2019, 2:47 PM
vitor.sousa accepted this revision.Jul 11 2019, 10:39 AM
This revision is now accepted and ready to land.Jul 11 2019, 10:39 AM
vitor.sousa added inline comments.Jul 11 2019, 11:39 AM

Note for future: maybe an optimization for Eina.List in the way of accessing the list values is desirable here.

This revision was automatically updated to reflect the committed changes.