Page MenuHomePhabricator

efl-mono: Add object type support for Eina.Value

Authored by lauromoura on Jun 24 2019, 1:59 PM.



C# Eina.Value now has builtin support for EINA_VALUE_TYPE_OBJECT.

To avoid ambiguity with the Set method overloads, explicit casting
operators were used for wrapping/unwrapping Efl.Object instead of
implicit ones like for other value types.

Thus, to initialize an Eina.Value from an object, you can use the

var v = (Eina.Value)myObj;

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.Jun 24 2019, 1:59 PM
lauromoura requested review of this revision.Jun 24 2019, 1:59 PM
Jaehyun_Cho accepted this revision.Jun 25 2019, 12:50 AM

Thank you very much!! :)

This revision is now accepted and ready to land.Jun 25 2019, 12:50 AM
This revision was automatically updated to reflect the committed changes.